HTTP_PROXIES no_proxy option gets completely ignored #10517

Closed
opened 2025-12-29 21:32:30 +01:00 by adam · 1 comment
Owner

Originally created by @Zombie-Toad on GitHub (Nov 27, 2024).

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.7

Python Version

3.11

Steps to Reproduce

  1. Set HTTP_PROXIES settings in configuratoin.py
    HTTP_PROXIES = {
    'http':'http://myproxy.com:8080',
    'https':'http://myproxy.com:8080',
    'no_proxy':'mydomain.com'
    }
  2. Restart netbox and netbox-rq services
  3. Access internal Website via webhook

Expected Behavior

For internal domains/subnets the "no_proxy"-setting should be used.

Observed Behavior

Setting the proxy settings allows me to install plugins, but I can't access my internal websites via webhook. Netbox tries to connect to my internal websites via proxy no matter what I put into the no_proxy settings (subnet, domain, fqdn of the destination server).
There is no authentication needed for the proxy connection.

Originally created by @Zombie-Toad on GitHub (Nov 27, 2024). ### Deployment Type Self-hosted ### Triage priority N/A ### NetBox Version v4.1.7 ### Python Version 3.11 ### Steps to Reproduce 1. Set HTTP_PROXIES settings in configuratoin.py HTTP_PROXIES = { 'http':'http://myproxy.com:8080', 'https':'http://myproxy.com:8080', 'no_proxy':'mydomain.com' } 2. Restart netbox and netbox-rq services 3. Access internal Website via webhook ### Expected Behavior For internal domains/subnets the "no_proxy"-setting should be used. ### Observed Behavior Setting the proxy settings allows me to install plugins, but I can't access my internal websites via webhook. Netbox tries to connect to my internal websites via proxy no matter what I put into the no_proxy settings (subnet, domain, fqdn of the destination server). There is no authentication needed for the proxy connection.
adam added the type: bug label 2025-12-29 21:32:30 +01:00
adam closed this issue 2025-12-29 21:32:30 +01:00
Author
Owner

@DanSheps commented on GitHub (Nov 28, 2024):

This is an upstream bug: psf/requests#4871, unfortunately we have no control over if/when this gets fixed

@DanSheps commented on GitHub (Nov 28, 2024): This is an upstream bug: psf/requests#4871, unfortunately we have no control over if/when this gets fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10517