3.0.0 upgrade issues when adding authentication

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
thereddog
Newbie
Newbie
Posts: 7
Joined: March 17th, 2013, 3:07 am

3.0.0 upgrade issues when adding authentication

Post by thereddog »

I upgraded my 2.x install, and when I opened my browser I was greeted by a HTTP 500 error. I found that when I add a username and password I get the same error

https://i.imgur.com/CTOpKbY.png

Here's part the log:

Code: Select all

2020-08-08 14:57:43,570::INFO::[_cplogging:213] [08/Aug/2020:14:57:43] ENGINE Bus STARTED
2020-08-08 14:59:10,292::ERROR::[_cplogging:213] [08/Aug/2020:14:59:10]  
Traceback (most recent call last):
  File "lib\site-packages\cherrypy\_cprequest.py", line 117, in run_hooks
  File "lib\site-packages\cherrypy\_cprequest.py", line 65, in __call__
TypeError: basic_auth() got an unexpected keyword argument 'users'
2020-08-08 14:59:10,293::ERROR::[_cplogging:213] [08/Aug/2020:14:59:10] HTTP 
Traceback (most recent call last):
  File "lib\site-packages\cherrypy\_cprequest.py", line 638, in respond
  File "lib\site-packages\cherrypy\_cprequest.py", line 694, in _do_respond
  File "lib\site-packages\cherrypy\_cprequest.py", line 95, in run
  File "lib\site-packages\cherrypy\_cprequest.py", line 117, in run_hooks
  File "lib\site-packages\cherrypy\_cprequest.py", line 65, in __call__
TypeError: basic_auth() got an unexpected keyword argument 'users'
2020-08-08 14:59:10,296::INFO::[_cplogging:213] [08/Aug/2020:14:59:10] HTTP 
Request Headers:
  Remote-Addr: 192.168.86.32
  HOST: 192.168.86.230:8080
  CONNECTION: keep-alive
  ACCEPT: */*
  USER-AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.59 Safari/537.36
  X-REQUESTED-WITH: XMLHttpRequest
  REFERER: http://192.168.86.230:8080/config/general/
  ACCEPT-ENCODING: gzip, deflate
  ACCEPT-LANGUAGE: en-US,en;q=0.9
2020-08-08 14:59:12,066::ERROR::[_cplogging:213] [08/Aug/2020:14:59:12]
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 3.0.0 upgrade issues when adding authentication

Post by safihre »

Oh.. That's a bug!
You can switch to the HTML based authentication.
Will fix this for 3.0.1
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
thereddog
Newbie
Newbie
Posts: 7
Joined: March 17th, 2013, 3:07 am

Re: 3.0.0 upgrade issues when adding authentication

Post by thereddog »

Sweet! Thank you, thought I was crazy for a bit
Post Reply