sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.88k stars 448 forks source link

https_proxy environment variables get ignored, not working behind a proxy #2761

Closed WeisseTeetasse closed 2 years ago

WeisseTeetasse commented 2 years ago

Description

Passing http_proxy and https_proxy environment variables get partly ignored by overseer, resulting in a not working application when behind a forward proxy like squid.

Some connections, like to api.themoviedb.org do go through the proxy, but some do not hit the proxy at all.

Version

1.29.1

Steps to Reproduce

  1. pass http_proxy, https_proxy, no_proxy variables to docker
  2. overseerr web interface shows errors

Screenshots

Screenshot 2022-05-18 at 14 16 34

Logs

2022-05-18T12:16:47.837Z [debug][API]: Something went wrong retrieving languages{"errorMessage":"[TMDb] Failed to fetch langauges: Request failed with status code 503"}

2022-05-18T12:17:04.274Z [warn][GitHub API]: Failed to retrieve GitHub releases. This may be an issue on GitHub's end. Overseerr can't check if it's on the latest version.{"errorMessage":"Request failed with status code 502"}

2022-05-18T12:16:45.551Z [debug][API]: Something went wrong retrieving movie{"errorMessage":"[TMDb] Failed to fetch movie details: Request failed with status code 503","movieId":"616037"}
etc etc

Platform

desktop

Device

what?

Operating System

Docker on Debian 11

Browser

Safari

Additional Context

No response

Code of Conduct

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.