Skip to content

Module Map fails to load #80

@graham

Description

@graham

It appears that https://dcs-helicopters.com/user-files/modules/module-map-v2.yaml often takes about 20 seconds to load, causing the following error:

2025-03-02 09:17:43 DEBUG    Starting new HTTPS connection (1): dcs-helicopters.com:443
2025-03-02 09:17:50 ERROR    Failed to retrieve module map.

Requesting the url in the browser has the same affect (although refreshing it often results in a response that only takes 20ms-30ms). Even when this cached result is being returned, the application fails to load the module map.

I'm pretty confident the exception that results in the error is located here:
https://github.com/spencershepard/RotorOps/blob/main/Generator/MissionGenerator.py#L898

Increasing timeouts can be a bit of a never ending battle, but perhaps it would be reasonable to increase this to 30s?

Happy to create a diff if you think this is a reasonable change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions