netbox-community / netbox-docker

🐳 Docker Image of NetBox
https://github.com/netbox-community/netbox-docker/wiki
Apache License 2.0
1.81k stars 828 forks source link

Social Auth not following proxy settings in config file #1170

Closed georgedavid29 closed 7 months ago

georgedavid29 commented 7 months ago

Current Behavior

module doesnt follow the proxy listed in the config file. error below:

<class 'social_core.exceptions.AuthFailed'>

Authentication failed: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/oauth2/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

Python version: 3.9.18 NetBox version: 3.7.3 Plugins: None installed

I'm confident the proxy settings are working because the netbox news populates properly when I log in with the local accounts. also the proxy logs show the allowed traffic. i don't see any denied traffic in the proxy logs for login.microsoftonline.com in the logs for the netbox ip.

Expected Behavior

successful login into the netbox app via azure sso

Docker Compose Version

n/a

Docker Version

n/a

The git Revision

n/a

The git Status

n/a

Startup Command

n/a

NetBox Logs

n/a

Content of docker-compose.override.yml

n/a