"External internet access denied" error

Support for the Debian/Ubuntu package, created by JCFP.
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.
dev2024
Newbie
Newbie
Posts: 12
Joined: April 29th, 2024, 1:09 am

Re: "External internet access denied" error

Post by dev2024 »

sander wrote: April 30th, 2024, 3:54 am Yep: the snap is still running, and probably restarting after you kill.

Google-hit:

sudo snap disable vlc

so

sudo snap disable sabnzbd
or
sudo snap disable sabnzbdplus

then verify again.

And if that fails: uninstall the sabnzbd snap, reboot, and verify again.
Awesome. Thanks for your help. After disabling sab completely and running this command worked -

sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4 -f blabla$$.ini

I can see the wizard now. What should I do now to make it work properly?
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: "External internet access denied" error

Post by sander »

Good.

Start from fresh.

So:
stop sabnzbd. Check and recheck it's not running
find and rename all sabnzbd.ini files

start SAB like this:

Code: Select all

sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4
access it again, and make sure you get the wizard. If no wizard: go back to step 1

Fill out the wizard with your newsserver. Do a test download, and make it works, and you can still access SABnzbd.

After that, you could change in SAB what you need & want. Do it one by one. As soon as SAB is not reachable anymore ... you did something bad. Go back to step 1

Do NO funny things with filling out IP addresses. No need, and it corrupts your SAB setup.
dev2024
Newbie
Newbie
Posts: 12
Joined: April 29th, 2024, 1:09 am

Re: "External internet access denied" error

Post by dev2024 »

sander wrote: April 30th, 2024, 4:37 am Good.

Start from fresh.

So:
stop sabnzbd. Check and recheck it's not running
find and rename all sabnzbd.ini files

start SAB like this:

Code: Select all

sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4
access it again, and make sure you get the wizard. If no wizard: go back to step 1

Fill out the wizard with your newsserver. Do a test download, and make it works, and you can still access SABnzbd.

After that, you could change in SAB what you need & want. Do it one by one. As soon as SAB is not reachable anymore ... you did something bad. Go back to step 1

Do NO funny things with filling out IP addresses. No need, and it corrupts your SAB setup.
Thanks for the guidance. I'm sure it will work now. But how do i reactivate this as a service? If I understood correctly, this command -

sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4

will write the original ini file? after that can I simply restart the service?

Also this is just a test install. I need to do the same setup in production. I'm not quite sure why the installation is not working. So if i wanted to start from scratch, can I simply use snap method and make no changes to the config files?
dev2024
Newbie
Newbie
Posts: 12
Joined: April 29th, 2024, 1:09 am

Re: "External internet access denied" error

Post by dev2024 »

Just a quick update.

While running this command - sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4 everything is working. I added my server and it says SABNZB will run in the background etc.

But the moment when i cancel the running process it stopped loading with this error " Lost connection to SABnzbd.."

After testing everything how do i resume as a background service?

Thanks
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: "External internet access denied" error

Post by sander »

Valid questions, but regular questions "how to set up on Ubuntu Linux", for which there are guides. For example https://sabnzbd.org/wiki/installation/i ... buntu-repo
dev2024
Newbie
Newbie
Posts: 12
Joined: April 29th, 2024, 1:09 am

Re: "External internet access denied" error

Post by dev2024 »

Thank you. Finally managed to get everything up and running. I don't know why the installation process didn't work for me. I did the entire setup including OS installation + 4 different seedbox scripts within 45 minutes so I'm not new to this. However, I really wish SAB's installation process could be a little bit straightforward and/or detailed.

I'm going to leave my notes here in case if anyone else encounter similar issues.

OS : vanilla ubuntu 22.04

- run the Full installation commands - https://sabnzbd.org/wiki/installation/i ... buntu-repo
- make sure to start the service by running "sabnzbdplus" (this will create the ini files)
- stop the service
- edit "/root/.sabnzbd/sabnzbd.ini" change the host to 0.0.0.0 and inet_exposure to 4
- edit "/etc/default/sabnzbdplus" and change ONLY the USER
- sudo systemctl daemon-reload
- sudo service sabnzbdplus start or restart

This is how it worked for me.

Thanks a lot @sander
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: "External internet access denied" error

Post by sander »

In some areas, Linux indeed has a steeper learning curve.

If too steep, you might consider to run Windows on the VM
Post Reply