Skip to content

unable to fetch metadata for games(need http_proxy as env) #2988

@shabane

Description

@shabane

I am experiencing issues with Romm being unable to fetch game metadata and covers. This is due to network restrictions and censorship in certain regions (like Iran), where access to metadata providers such as IGDB is blocked.

Even though I have configured a proxy within the Docker container/environment, Romm does not seem to route its outgoing HTTP requests through it. This results in an empty library where no metadata or images are displayed for newly added games.

Describe the solution you'd like
I would like Romm to support standard HTTP/HTTPS proxy configuration. Ideally, this should be achievable via Environment Variables in the docker-compose.yml file, such as:

http_proxy

https_proxy

no_proxy

The application's internal fetching logic (e.g., Axios or Fetch calls) should be updated to respect these proxy settings when communicating with external APIs.

Describe alternatives you've considered
I have tried setting environment variables in my Docker container, but the application ignores them.
i exex to the container and use curl ifconfig.io while i set the http_proxy on the docker container, the curl use that env and return me the IP of the proxy server.

Additional context
Adding this feature would make Romm much more accessible to users in restricted network environments. Since Romm relies heavily on external APIs for its core functionality (metadata indexing), having a reliable way to tunnel these requests is crucial for a global user base.

I love romm its feature reach and its too cool for me, if you could, please add this for us.
thank you so much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions