Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stringer auto deployed via heroku don't update/fetch news from rss channels #647

Open
lajlev opened this issue Sep 22, 2022 · 4 comments
Open

Comments

@lajlev
Copy link

lajlev commented Sep 22, 2022

image

image

@mockdeep
Copy link
Collaborator

@lajlev can you provide a link to the feed that is not working for you? I'm subscribed to Ars Technica which uses RSS and that works fine for me.

@lajlev
Copy link
Author

lajlev commented Sep 23, 2022 via email

@mockdeep mockdeep changed the title Stinger auto deployed via heroku don't update/fetch news from rss channels Stringer auto deployed via heroku don't update/fetch news from rss channels Sep 23, 2022
@mockdeep
Copy link
Collaborator

I've spent some time looking into this. I have an existing instance that doesn't have this problem, but if I deploy a new copy using the Heroku button in the README it doesn't get updated feeds for some reason. When I ran heroku run rake work_jobs it fetched the feeds. I suspect the difference is that I have an APP_URL set in my instance. Can you try configuring it on your app like this?

$ heroku config:set APP_URL=`heroku apps:info --shell | grep web_url | cut -d= -f2`

I've set it on my test instance and I'm waiting to see if that works.

@mockdeep
Copy link
Collaborator

Okay, following up on this. Setting APP_URL did the trick for me on a new deployment. I gather what happens is that when the scheduled job runs it first pings the app to boot it so that it will handle jobs. I'll leave this issue open for now as I think we can probably come up with something a little better. Now that Heroku is retiring their free plans, we'll be required to upgrade to paid plans anyway, so probably the easiest thing is to upgrade your Heroku account, or try deploying to another service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants