[GH-ISSUE #66] HTTP(s) Proxy support #21

Open
opened 2026-02-27 14:56:57 +03:00 by kerem · 2 comments
Owner

Originally created by @cp-whatcha on GitHub (Apr 6, 2024).
Original GitHub issue: https://github.com/netbootxyz/webapp/issues/66

Receiving the error
netbootxyz | There was a problem with the fetch operation: request to https://api.github.com/repos/netbootxyz/netboot.xyz/releases/latest failed, reason: connect ETIMEDOUT 140.82.113.5:443

It seems that node.js is not utilizing the proxy environment variables that I am sending the system.

I have attempted to use
http_proxy=http://proxyip:3128
https_proxy=http://proxyip:3128
HTTP_PROXY=http://proxyip:3128
HTTPS_PROXY=http://proxyip:3128
proxyHost=proxyip
proxyPort=3128

When performing a node fetch, If the system has a proxy set, it should use it. Based on my research it seems that this will require a new version of the fetch function

Originally created by @cp-whatcha on GitHub (Apr 6, 2024). Original GitHub issue: https://github.com/netbootxyz/webapp/issues/66 Receiving the error netbootxyz | There was a problem with the fetch operation: request to https://api.github.com/repos/netbootxyz/netboot.xyz/releases/latest failed, reason: connect ETIMEDOUT 140.82.113.5:443 It seems that node.js is not utilizing the proxy environment variables that I am sending the system. I have attempted to use http_proxy=http://proxyip:3128 https_proxy=http://proxyip:3128 HTTP_PROXY=http://proxyip:3128 HTTPS_PROXY=http://proxyip:3128 proxyHost=proxyip proxyPort=3128 When performing a node fetch, If the system has a proxy set, it should use it. Based on my research it seems that this will require a new version of the fetch function
Author
Owner

@Mionsz commented on GitHub (Aug 10, 2024):

@cp-whatcha resolved in recent PR - please review and give a feedback https://github.com/netbootxyz/webapp/pull/73

<!-- gh-comment-id:2279688744 --> @Mionsz commented on GitHub (Aug 10, 2024): @cp-whatcha resolved in recent PR - please review and give a feedback https://github.com/netbootxyz/webapp/pull/73
Author
Owner

@umrubi1 commented on GitHub (Oct 15, 2025):

Hi,

first - thanks for your work. I wanted to try netboot as container in a company, which is using zScaler proxy. My configuration (compose.yml) seems to run. The downloads with curl are ok but something tries to download code from Github and it tries to access it directly.

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.11:41841        0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      42/nginx.conf
tcp        0      1 172.18.0.2:49380        140.82.121.6:443        SYN_SENT    - # <--- !
tcp        0      1 172.18.0.2:42774        140.82.121.6:443        SYN_SENT    - # <--- !
tcp        0      0 127.0.0.1:55558         127.0.0.1:80            TIME_WAIT   -
tcp        0      0 127.0.0.1:45378         127.0.0.1:3000          TIME_WAIT   -
tcp        0      0 127.0.0.1:46574         127.0.0.1:80            TIME_WAIT   -
tcp        0      0 127.0.0.1:37800         127.0.0.1:3000          TIME_WAIT   -
tcp        0      0 :::3000                 :::*                    LISTEN      -
udp        0      0 127.0.0.11:55919        0.0.0.0:*                           -
udp        0      0 0.0.0.0:69              0.0.0.0:*                           -
udp        0      0 :::69                   :::*                                -

Because of this, the dashboard is not loading.

Image

Then, I have found this issue and the mentioned PR. Is there any chance to get this merged to get this working?

Thanks and regards

<!-- gh-comment-id:3405402149 --> @umrubi1 commented on GitHub (Oct 15, 2025): Hi, first - thanks for your work. I wanted to try netboot as container in a company, which is using zScaler proxy. My configuration (compose.yml) seems to run. The downloads with curl are ok but something tries to download code from Github and it tries to access it directly. ``` Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.11:41841 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 42/nginx.conf tcp 0 1 172.18.0.2:49380 140.82.121.6:443 SYN_SENT - # <--- ! tcp 0 1 172.18.0.2:42774 140.82.121.6:443 SYN_SENT - # <--- ! tcp 0 0 127.0.0.1:55558 127.0.0.1:80 TIME_WAIT - tcp 0 0 127.0.0.1:45378 127.0.0.1:3000 TIME_WAIT - tcp 0 0 127.0.0.1:46574 127.0.0.1:80 TIME_WAIT - tcp 0 0 127.0.0.1:37800 127.0.0.1:3000 TIME_WAIT - tcp 0 0 :::3000 :::* LISTEN - udp 0 0 127.0.0.11:55919 0.0.0.0:* - udp 0 0 0.0.0.0:69 0.0.0.0:* - udp 0 0 :::69 :::* - ``` Because of this, the dashboard is not loading. ![Image](https://github.com/user-attachments/assets/a95f2fb5-be78-47e0-9dc9-c6d99e225b43) Then, I have found this issue and the mentioned PR. Is there any chance to get this merged to get this working? Thanks and regards
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webapp#21
No description provided.