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.
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:
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.