Server Error when login with wrong username and password (Netbox running in Azure Web App) #13660
Unanswered
Cobajar
asked this question in
Help Wanted!
Replies: 1 comment
-
|
Could you get a full backtrace? Either set DEBUG=True temporarily in configuration.py, or set ADMINS and EMAIL so that all such exceptions get mailed out automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have deployed Netbox as Azure Web App (using Dockerhub as image source).
Everything seems to work fine so far, except when I login with wrong username / password.
I think netbox tries to report the failed login in the logs and uses the "x-forwarded-for" header (maybe?). Unfortunately, Azure adds the port to the ip address and netbox seems to have a problem with that.
A check should possibly be built into the login logic to see whether the source IP contains a ":", if so, split and only parse the IP address.
does anyone have any ideas?
Thank you,
Coby
Beta Was this translation helpful? Give feedback.
All reactions