Sab 3 docker on ubuntu - manual read rss feed unresponsive

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

it looks like its reading feeds automatically.

but tryng to manually read a feed the button goes disabled like its reading it, but it never returns. And theres nothing in the logs that its tryng to read a feed.

All i see in the logs are the interface updates, no errors, or anything relating to rss.

i think i might have dine a bit of a jump upgrading, so unsure if theres something in the config file that didnt like the upgrade?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by safihre »

Could you right click anywhere on the page and select Inspect Element. Then in the browser developer tools, check if there's anything in the console (might be on a different tab in the developer tools, depending on the browser).
Try clicking the button and see if anything shows up. You can also check the Network tab to see if a request is fired.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8812
Joined: January 22nd, 2008, 2:22 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by sander »

FWIW: I run SAB3 on Ubuntu (on the host, not in a docker), and the manual read rss feed works for me.
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

Yeah I didn’t think it was a fault. Surely it’s some config/permissions thing from the ui to the api?

I run debug logging already, if there anything else to be able to see the user initiating a manual rss read?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by safihre »

Please do what I asked in my first post :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

safihre wrote: August 25th, 2020, 10:18 am Could you right click anywhere on the page and select Inspect Element. Then in the browser developer tools, check if there's anything in the console (might be on a different tab in the developer tools, depending on the browser).
Try clicking the button and see if anything shows up. You can also check the Network tab to see if a request is fired.
Yeah sorry, missed that, was reading on phone.

So with dev tools open I see that "test_rss_feed" is fired.

Some more background, I run as reverse proxied with a wildcard cert, so I see that the full url is https://sabnzbd.internal.mydomain.com/c ... t_rss_feed

In for form data I see the n ame of the rss feed and the api key (correct one).

But in all the time I've types this nothing else has appears in the network list. In the change to v3 has something changed with the url root or something that my reverse proxying is now conflicting with?

Ok I tried it without the reverse proxy, going to the http url directly, and it worked.
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

So the reverse proxy is caddy (v1)

Code: Select all

https://sabnzbd.internal.mydomain.com {
    import tls
    log / stdout "Sabnzbd        : {common}"
    proxy / http://192.168.10.46:8086/ {
        transparent
        websocket
        insecure_skip_verify
    }
}
It all looks like it's working (at this stage) apart from that rss read button. WHen i hit the read feed I see caddy post a 303

Code: Select all

Sabnzbd        : 192.168.10.141 - - [25/Aug/2020:19:47:19 +0000] "POST /config/rss/test_rss_feed HTTP/2.0" 303 120
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

Oh and I just tried (with the reverse proxy) the read all feeds button, and that seems to work fine, I see the scheduled feed kick off in teh sabnzbd logs.
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

Oh weitrd, it's just a read feed button that doesn't seem to do anything, it used to trigger a read and then navigate to the feed listing.

I just clicked on the feed name and it took me to the feed items. So I guess I have a work around, but I'm unsure if I added a new feed if it woudl work, it seems it's the post actions that are not working.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by safihre »

Interesting, so could be a wrong redirect?
Nothing should have changed, but maybe it did.
Could you see what is going wrong?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

Dunno, a 303 looks like it's happy, rather than a 404 error.
But it seems a post doesn't go back to the server, I see the request, but never see anything in the sabnzbd log that it's received it.
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

So I've done some more digging (including trying to get caddy upgraded). But in the console today i had a look at saw that hitting the read feed button on a rss feed that it was blocked (i'd turned on some chrome settings to allow insure content etc).

Code: Select all

Mixed Content: The page at 'https://sabnzbd.internal.domain.com/config/rss/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://sabnzbd.internal.domain.com/config/rss/?feed=Apps'. This content should also be served over HTTPS.
(index):1 Access to XMLHttpRequest at 'http://sabnzbd.internal.domain.com/config/rss/?feed=Apps' (redirected from 'https://sabnzbd.internal.domain.com/config/rss/test_rss_feed') from origin 'https://sabnzbd.internal.domain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
So this pops up after running the read feed buttonon a single feed (the apps feed). I can see it's trying to access: http://sabnzbd.internal.domain.com/conf ... ?feed=Apps and that's seems to be why it's being blocked.

But when I hit the Apps Feed link, it goes to https and so worked. Seems to be part of the redirect as part of the read feed call.

I know I should just go and sort out the certs, but then I'd have to run acme etc to get a cert from letsencrypt....but that's the whole reason i run caddy as it handles all that for me.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by safihre »

Aaah, you are having the same problem as: viewtopic.php?f=11&t=24790
Which is a limitation of CherryPy that I am trying to get fixed.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
psycik
Full Member
Full Member
Posts: 103
Joined: September 28th, 2009, 2:33 pm

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by psycik »

Yes it does sound similar doesn’t it.

So with caddy I only notice it when attempting to manually read and view and RSS feed.

If I just the read all feeds, fine, or click on the url for a feed that’s fine as well. It’s just that read feed button that is supposed to trigger that feed to update and then navigate to the feed page. Is there any other diagnosis we can help with?

One thing I haven’t tried is telling Sab to be https, but then Get caddy To ignore insecure certs....
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sab 3 docker on ubuntu - manual read rss feed unresponsive

Post by safihre »

Turns out I should have been reading the CherryPy manual better.
There is an option to fix this.
Will add it to the next release!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply