Disable ipv6

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
awptechnologies
Newbie
Newbie
Posts: 3
Joined: October 17th, 2024, 7:55 pm

Disable ipv6

Post by awptechnologies »

I am using this with a docker image and struggling to disable ipv6. My host does not support ipv6 as it uses a vpn over ipv4. Please help me understand how to disable ipv6.

Here are some logs.


2024-10-17 20:33:13,051::ERROR::[_cplogging:213] [17/Oct/2024:20:33:13] ENGINE Shutting down due to error in start listener:



raise exc

cherrypy.process.wspbus.ChannelFailures: OSError(97, 'Address family not supported by protocol')

2024-10-17 20:33:13,051::INFO::[_cplogging:213] [17/Oct/2024:20:33:13] ENGINE Bus STOPPING

2024-10-17 20:33:13,051::INFO::[_cplogging:213] [17/Oct/2024:20:33:13] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 8080)) already shut down
User avatar
sander
Release Testers
Release Testers
Posts: 9074
Joined: January 22nd, 2008, 2:22 pm

Re: Disable ipv6

Post by sander »

Can you post much more of the logging? So 40 lines around this error.

Paste on https://pastebin.com/, and post the url here like pastebin .com / djkadsadskjl
User avatar
safihre
Administrator
Administrator
Posts: 5524
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disable ipv6

Post by safihre »

You van disable ipv6 hosting either in the sabnzbd.ini or through the command line when starting Sab.
https://sabnzbd.org/wiki/advanced/comma ... parameters
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
awptechnologies
Newbie
Newbie
Posts: 3
Joined: October 17th, 2024, 7:55 pm

Re: Disable ipv6

Post by awptechnologies »

What is the variable in the ini i need to set? I seen host = :: but when i change it to 0.0.0.0 it is automatically reset when container starts up. I will post more logs tomorrow but if its as simple as a variable in the .ini file i would like to try that first.
User avatar
safihre
Administrator
Administrator
Posts: 5524
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disable ipv6

Post by safihre »

It's ipv6_hosting, you should set ipv6_hosting=0.
But make sure to shutdown SABnzbd first.
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: 9074
Joined: January 22nd, 2008, 2:22 pm

Re: Disable ipv6

Post by sander »

FWIW:

I tested: LSIO's latest SABnzbd in Docker (=IPv4-only) on a IPV4-only host, connected to a IPV4-only route, and no problems starting and running SABnzbd (with empty thus clean sabnzbd.ini)

So I cannot reproduce your problem. So I'm looking forward the results of Safihre's method.
awptechnologies
Newbie
Newbie
Posts: 3
Joined: October 17th, 2024, 7:55 pm

Re: Disable ipv6

Post by awptechnologies »

I used the linuxserverio container and they built in a environment variable HAS_IPV6=false.

Thank you fall all of your help new to the usenet stuff and once i realized i had to pay i didn't end up using it as it seemed like the main benefit is speed.

If i ever get bit into sharing media i will visit again.
User avatar
sander
Release Testers
Release Testers
Posts: 9074
Joined: January 22nd, 2008, 2:22 pm

Re: Disable ipv6

Post by sander »

awptechnologies wrote: October 18th, 2024, 10:38 pm I used the linuxserverio container and they built in a environment variable HAS_IPV6=false.
So ... did SABnzbd start & run succesfully when you used that?
Post Reply