Filename 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.
Post Reply
ppow
Newbie
Newbie
Posts: 9
Joined: October 23rd, 2016, 10:15 pm

Filename Error

Post by ppow »

Getting the following error repeatedly:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/sabnzbdplus/cherrypy/_cptools.py", line 177, in handle_func
handled = self.callable(*args, **self._merged_args(kwargs))
TypeError: staticfile() got multiple values for keyword argument 'filename'
Everything appears to be working normally but the error keeps showing up randomly.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Filename Error

Post by safihre »

We are aware of the error and it hope it will be fixed when we upgrade our web server system in sabnzbd 1.2.0.
You can see in the logs which IP address tried to connect that caused this error. For all the other users experiencing this problem, it turned out to be port scanners! So maybe change your public port on which you make sabnzbd available to the world.
Or is your Sab not accessible from outside the network?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
ppow
Newbie
Newbie
Posts: 9
Joined: October 23rd, 2016, 10:15 pm

Re: Filename Error

Post by ppow »

Yes, it's accessible. And the logs show that the errors are the result of a connection from a single IP located in Russia. I'll try changing the port number and see if I continue to get errors.
Thanks.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Filename Error

Post by safihre »

Russia again.. For the other 2 users it was also from Russia..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
guitarboy
Jr. Member
Jr. Member
Posts: 69
Joined: January 7th, 2010, 2:44 am

Re: Filename Error

Post by guitarboy »

I've started to get this error with SABnzbd 2.3.4 on Windows. And yes, the connection listed in the log file is from Russia. Before I start fiddling with port numbers, please explain what is going on. Is this some kind of network attack, or is it possible that my usenet host or NZB index site is located at that IP? How will changing the port prevent this error?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Filename Error

Post by safihre »

They are scanning ports to see if there are any vulnerable services.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
guitarboy
Jr. Member
Jr. Member
Posts: 69
Joined: January 7th, 2010, 2:44 am

Re: Filename Error

Post by guitarboy »

safihre wrote: July 20th, 2018, 3:49 am They are scanning ports to see if there are any vulnerable services.
Ok, thanks.

This article has a good explanation of this type of vulnerability: https://www.csoonline.com/article/31915 ... ports.html.

The recommendation is to pick a port in the higher range (> 25000). Those ports are less likely to be scanned.

To configure SABnzbd to accept requests on a new port, change the SABnzbd Port in config/general. If you're integrating with SABnzbd from an external site (e.g. an NZB indexing site), update the SABnzbd Integration URL on the external site. You may also have to add a port forwarding rule on your router to send requests on that port to the device running SABnzbd.

Does it make sense for the documentation to recommend a less vulnerable port number for users who are integrating with external sites?
Post Reply