Cant import NZBs via URL

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.
Post Reply
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Cant import NZBs via URL

Post by Scarpall »

Hi,

at the moment im having problems importing NZBs via URL.
I have sabnzbd 3.5.3, Python Version: 3.9.7 and OpenSSL 1.1.1n in an Docker Container on my NAS
I have only 1 source where i try to add things via url.
when i enter them in browser it downloads the nzb and i can upload it to sabnzbd and everything works.
This message appears when i try to add the nzb via url
(Sorry i cant post the log here because it gets detected as link. Also i needed to change the . to an _ because of the link detection)
pastebin_com/aK6b60ae

also ther is an extra line saying
Error in tempfile.mkstemp

Thanks for your help

Scarpall
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Cant import NZBs via URL

Post by sander »

I guess the exact message is "Failure in tempfile.mkstemp" ?

If so: problems with your filesystem ... no disk space available, no writing rights at given directory, wrong directory.

As it's docker, follow the credo "cattle, not pets". So throw away, and start from scratch.
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Re: Cant import NZBs via URL

Post by Scarpall »

Yes, that's right. I set the language to German so I tried to translate it.

But the permissions should be ok because if I upload the file manually everything works. The download also takes place in the same directory. Also sonarr Works without problems. Do you have any other idea what it could be?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Cant import NZBs via URL

Post by sander »

As said, I would start from the other side, from stratch, with a default working SABnzbd. So: delete / rename your sabnzbd.ini, start the SABnzbd docker, and you verify you get the SAB wizard. Fill it out with bare basics (just one newsserver, nothing else, no folder change), and verify that SAB is working: manual NZB add, and manual URL add.

And for the first step: only directories within your docker image, to avoid filesystem rights problems on shared directories.

If you achieve that, build up from there.

If not, that would be ... interesting ...
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Re: Cant import NZBs via URL

Post by Scarpall »

hi sorry for the late answer, it was really just a permission issue... i recently changed the location for my docker files and forgott to give sabnzbd docker user the write access to the config directory...
i guess there gets the file from the url saved and thats why the error occurs ...
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Re: Cant import NZBs via URL

Post by Scarpall »

Hi,
after the last update i've run into trouble again. But this time even after creating a new Container.
This time the Message when i add a NZB via URL is:
INFO::[urlgrabber:269] Unknown filetype when fetching NZB, retry after 30s https://url.xyz

the download is an archive with this name "Filename.nzb.gz".
Downloading manually and adding it with normal Upload works.
Importing this links worked in older version. Did something change here?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cant import NZBs via URL

Post by safihre »

It could be that the server serves up something different when SABnzbd connects compared to when you connect through the browser.
Could you share an URL through PM or email at [email protected]?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Re: Cant import NZBs via URL

Post by Scarpall »

PM is send to you :)
by the way before the last update it worked via URL and nothing changed in the URL
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cant import NZBs via URL

Post by safihre »

This is not a SABnzbd problem, but a change on the server side.
Try opening the URL in a Incognito browser window, you will see that they throw this error:

Code: Select all

Stop! An invalid referrer () was transmitted.
Correct forwarding can only take place from our side.
You will be forwarded in 10 seconds, alternatively you can click here.
So, they only allow to open URLs directly from their site.
Additionally they also don't send the correct headers, so we cannot detect what the problem is. They send the "200 OK" header, so SABnzbd things this should be processed as a real file.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Scarpall
Newbie
Newbie
Posts: 6
Joined: April 21st, 2022, 3:21 pm

Re: Cant import NZBs via URL

Post by Scarpall »

ah okay thanks for the quick answers :)
Post Reply