[GH-ISSUE #112] Proxy Support #58

Closed
opened 2026-02-27 15:46:12 +03:00 by kerem · 6 comments
Owner

Originally created by @tstoco on GitHub (Oct 6, 2022).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/112

Originally assigned to: @CypherpunkSamurai on GitHub.

Hi,

Thanks for the great job with the project.

I am currently using a proxy to reach my proxmox API. However, I could not find it implemented anywhere.

Please let me know if there is a way to use a proxy or if it is actually not implemented as I suspected.

Originally created by @tstoco on GitHub (Oct 6, 2022). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/112 Originally assigned to: @CypherpunkSamurai on GitHub. Hi, Thanks for the great job with the project. I am currently using a proxy to reach my proxmox API. However, I could not find it [implemented anywhere.](https://github.com/proxmoxer/proxmoxer/blob/2ce96b730ac33c42ea3c85cf64cf256cde760b22/proxmoxer/core.py#L159) Please let me know if there is a way to use a proxy or if it is [actually not implemented](https://github.com/proxmoxer/proxmoxer/blob/2ce96b730ac33c42ea3c85cf64cf256cde760b22/proxmoxer/backends/https.py#L181) as I suspected.
kerem 2026-02-27 15:46:12 +03:00
Author
Owner

@jhollowe commented on GitHub (Oct 6, 2022):

Just to confirm, you are trying to use a "proxy" and not a "reverse proxy", correct?

Have you checked if setting the HTTPS_PROXY environment variable before running works? The requests docs show that these environment variables are used if not changed by the code. The docs also show how to use basic auth to authenticate with the proxy.

If you get proxmoxer working with a proxy, I would appreciate a PR to the docs to add documentation on the process!

<!-- gh-comment-id:1269182097 --> @jhollowe commented on GitHub (Oct 6, 2022): Just to confirm, you are trying to use a "proxy" and not a "reverse proxy", correct? Have you checked if setting the `HTTPS_PROXY` environment variable before running works? The [requests docs](https://requests.readthedocs.io/en/latest/user/advanced/#proxies) show that these environment variables are used if not changed by the code. The docs also show how to use basic auth to authenticate with the proxy. If you get proxmoxer working with a proxy, I would appreciate a PR to [the docs](https://github.com/proxmoxer/docs/tree/main/docs/examples) to add documentation on the process!
Author
Owner

@CypherpunkSamurai commented on GitHub (Oct 14, 2022):

Hello Can I work on this issue? I would really like to check if there's a real bug, just in case, and also document it later :)

<!-- gh-comment-id:1279064904 --> @CypherpunkSamurai commented on GitHub (Oct 14, 2022): Hello Can I work on this issue? I would really like to check if there's a real bug, just in case, and also document it later :)
Author
Owner

@jhollowe commented on GitHub (Oct 25, 2022):

feel free to look into it. I don't think we will need any code change, but adding info on the HTTPS_PROXY environment variable to the documentation would be great

<!-- gh-comment-id:1290993771 --> @jhollowe commented on GitHub (Oct 25, 2022): feel free to look into it. I don't think we will need any code change, but adding info on the `HTTPS_PROXY` environment variable to the [documentation](https://github.com/proxmoxer/docs/tree/main/docs/examples) would be great
Author
Owner

@CypherpunkSamurai commented on GitHub (Oct 25, 2022):

No problem. I was hoping to contribute for hactoberfest, but sure. I'll add it to the docs :)

<!-- gh-comment-id:1290996880 --> @CypherpunkSamurai commented on GitHub (Oct 25, 2022): No problem. I was hoping to contribute for hactoberfest, but sure. I'll add it to the docs :)
Author
Owner

@jhollowe commented on GitHub (Jan 27, 2023):

@CypherpunkSamurai are you still wanting to look into this?

@tstoco have you tried setting HTTPS_PROXY before using proxmoxer?

<!-- gh-comment-id:1407114735 --> @jhollowe commented on GitHub (Jan 27, 2023): @CypherpunkSamurai are you still wanting to look into this? @tstoco have you tried setting `HTTPS_PROXY` before using proxmoxer?
Author
Owner

@jhollowe commented on GitHub (Mar 22, 2023):

Closing due to no response. Please reopen if there is new information/progress on this.

<!-- gh-comment-id:1479729988 --> @jhollowe commented on GitHub (Mar 22, 2023): Closing due to no response. Please reopen if there is new information/progress on this.
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/proxmoxer#58
No description provided.