-
Notifications
You must be signed in to change notification settings - Fork 69
Description
What problem is your feature request trying to solve?
The add-new-updated-feeds GitHub workflow checks evaluates whether a GTFS feed can be downloaded. However, this check fails with the error: requests.exceptions.SSLError: HTTPSConnectionPool(host='gtfs.mot.gov.il', port=443): Max retries exceeded with url: (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate')))
Even though the URL can be accessed and downloaded manually via a web browser, Python’s requests library fails due to missing intermediate certificates in the server’s SSL chain. This issue blocks the ability to add new sources.
examples where this affects GTFS feed downloads:
https://gtfs.mot.gov.il/gtfsfiles/israel-public-transportation.zip
Solution
Provide a fallback mechanism to allow downloads when certificate verification fails.