Hi
I'm testing some automation so crated a fresh VM - ubuntu 22.04 and followed the installation guide. It got installed but when I access the url using the server IP, I'm getting -
External internet access denied - and then the link here
I already updated the .ini file and restarted the services -
root@testbed:~/.sabnzbd# cat /root/.sabnzbd/sabnzbd.ini | grep inet_exposure
inet_exposure = 4
I also tried inet_exposure = 5. What else could be the issue?
root@testbed:~/.sabnzbd# sudo ps -ef | grep -i sabnzbd
sab 3059 1 0 06:08 ? 00:00:00 /usr/bin/python3 -OO /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --server xxxxxxxxxx:8080
root 3160 2617 0 06:14 pts/1 00:00:00 grep --color=auto -i sabnzbd
"External internet access denied" error
Forum rules
Help us help you:
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.
Re: Access denied error
what URL do you use to access SABnzbd?
Re: Access denied error
Hi I DM'd you the IP. Thank you
Re: Access denied error
OK, a real public IP address.
Indeed with "inet_exposure = 4" it should work. The question is: is SAB really using that sabnzbd.ini with its settings?
If you go into the VM, and start a browser there, and go into sabnzbd (http://127.0.0.1:8080, can you check
Config:
Config File: what is used
External internet access: what does it say?
Can you try to access SABnzbd via a local address, like 192.168... ?
Indeed with "inet_exposure = 4" it should work. The question is: is SAB really using that sabnzbd.ini with its settings?
If you go into the VM, and start a browser there, and go into sabnzbd (http://127.0.0.1:8080, can you check
Config:
Config File: what is used
External internet access: what does it say?
Can you try to access SABnzbd via a local address, like 192.168... ?
Re: Access denied error
Hm it's a linux VM without desktop GUI. Can I test this by running some SSH commands?sander wrote: ↑April 29th, 2024, 2:26 am OK, a real public IP address.
Indeed with "inet_exposure = 4" it should work. The question is: is SAB really using that sabnzbd.ini with its settings?
If you go into the VM, and start a browser there, and go into sabnzbd (http://127.0.0.1:8080, can you check
Config:
Config File: what is used
External internet access: what does it say?
Can you try to access SABnzbd via a local address, like 192.168... ?
Re: Access denied error
Even then, accessing via 192.168.... should be doable, AFAIK.
Re: Access denied error
Hello. can anyone assist please? I'm not sure why it's still not publicly accessible. How can I troubleshoot form here?
Re: Access denied error
Run this on the server:
... adjusting the port number if-required.
This is a simple loopback query. It will show you the location SABnzbd is using for its config file.
Code: Select all
curl -sL http://127.0.0.1:8080/sabnzbd/config | grep -iA1 'config file'
This is a simple loopback query. It will show you the location SABnzbd is using for its config file.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: Access denied error
Yesterday I tried the snap method -OneCD wrote: ↑April 30th, 2024, 12:03 am Run this on the server:... adjusting the port number if-required.Code: Select all
curl -sL http://127.0.0.1:8080/sabnzbd/config | grep -iA1 'config file'
This is a simple loopback query. It will show you the location SABnzbd is using for its config file.
root@testbed:~# curl -sL http://127.0.0.1:8080/sabnzbd/config | grep -iA1 'config file'
<th scope="row">Config File: </th>
<td>/var/snap/sabnzbd/common/sabnzbd.ini</td>
root@testbed:~#
root@testbed:~# cat /var/snap/sabnzbd/common/sabnzbd.ini | grep inet_exposure
inet_exposure = 4
root@testbed:~#
root@testbed:~#
I even checked /etc/default/sabnzbdplus and configured the server IP, user, port there.. still not working
The weird part is, I have another dedicated server, tried https://sabnzbd.org/wiki/installation/i ... buntu-repo method it didnt work. So tried snap method and also replicated the same issue -
root@server /proc/driver # cat /var/snap/sabnzbd/common/sabnzbd.ini | grep inet_exposure
inet_exposure = 5
root@server /proc/driver #
What is that I'm doing wrong? I'm sure installing sabnzb n a plain vanilla install shouldn't be this difficult? I allowed the port in ufw and restarted the services.. not sure why I'm still getting External internet access denied - https://sabnzbd.org/access-denied
Re: Access denied error
What are your local ranges set-to?
Code: Select all
grep local /var/snap/sabnzbd/common/sabnzbd.ini
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: Access denied error
On both servers, it's showing like this -OneCD wrote: ↑April 30th, 2024, 12:58 am What are your local ranges set-to?
Code: Select all
grep local /var/snap/sabnzbd/common/sabnzbd.ini
root@server ~ # grep local /var/snap/sabnzbd/common/sabnzbd.ini
local_ranges = ,
Re: "External internet access denied" error
I would do: back to a fresh config.
1. make sure sabnzbd is not running in any form. Check and recheck!
2. start sabnzbdplus like this:
3. you should all kind of output. If you do NOT see output, there is still a SAB running, so go back to 1
4. can you access SABnzbd via the usual URL? If so: do you get the SAB wizard (you should)
1. make sure sabnzbd is not running in any form. Check and recheck!
2. start sabnzbdplus like this:
Code: Select all
cd
sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4 -f blabla$$.ini
4. can you access SABnzbd via the usual URL? If so: do you get the SAB wizard (you should)
Re: "External internet access denied" error
I stopped the services, killed the running processes, but when i run that command nothing happens -
sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4 -f blabla$$.ini
even after killing these processes are still running -
root@server ~ # ps -aux | grep sab
root 36453 0.0 0.0 2628 596 ? Ss 10:08 0:00 /bin/sh /snap/sabnzbd/5972/bin/sabnzbd-wrapper
root 36481 3.8 0.1 1471480 61284 ? Sl 10:08 0:00 python3 /snap/sabnzbd/5972/opt/sabnzbd/SABnzbd.py -f /var/snap/sabnzbd/common
root 36509 0.0 0.0 6480 2332 pts/0 S+ 10:08 0:00 grep --color=auto sab
sabnzbdplus -s 0.0.0.0:8080 -b0 -l2 --inet_exposure 4 -f blabla$$.ini
even after killing these processes are still running -
root@server ~ # ps -aux | grep sab
root 36453 0.0 0.0 2628 596 ? Ss 10:08 0:00 /bin/sh /snap/sabnzbd/5972/bin/sabnzbd-wrapper
root 36481 3.8 0.1 1471480 61284 ? Sl 10:08 0:00 python3 /snap/sabnzbd/5972/opt/sabnzbd/SABnzbd.py -f /var/snap/sabnzbd/common
root 36509 0.0 0.0 6480 2332 pts/0 S+ 10:08 0:00 grep --color=auto sab
Re: "External internet access denied" error
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.
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.