Closed AntoineAugusti closed 10 months ago
Got a timeout on another feed/another version https://github.com/MobilityData/gbfs-validator/issues/74#issuecomment-1137215378
This time server responses are not very slow it seems
I dug a bit on it but didn't found. I need to check again. It's probably a server detection (like on user-agent).
@PierrickP Can you confirm that this is for the Clermont-Ferrand feed? I could get in touch with them to clarify things.
Hello @AntoineAugusti
For Velib feed, the problem is only on the slowness of Velib feed (very variable, sometime more than 10sec) and the limitation on netlify functions. It's limited to 10sec. It may be possible to increase on contacting customer support (@isabelle-dr see https://answers.netlify.com/t/function-timeout-increase/53881/2)
For Clermont-Ferrand, there is an error on their feed. All URLs on the GBFS use HTTP, but if you curl on it, no answer. Only HTTPS exist. We can be mistaken by our browser, whose redirect automatically I think, we must not do something on the validator. If you are in touch with them, can you ask them to fix it ?
++
Thanks @PierrickP, missed the HTTP link! We'll circle back with them.
@all-contributors please add @AntoineAugusti for bug
@josee-sabourin
We had trouble processing your request. Please try again later.
According to the Velib website, the new feed URL as of September 26th, 2023 is: https://velib-metropole-opendata.smovengo.cloud/opendata/Velib_Metropole/gbfs.json
This new URL is quicker so it can be validated by the gbfs-validator:
The URL will be updated in systems.csv in https://github.com/MobilityData/gbfs/pull/580.
Additional note: The Netlify timeout was increased to the maximum (26 sec) on July 13th, 2023.
When trying to validate the GBFS at https://velib-metropole-opendata.smoove.pro/opendata/Velib_Metropole/gbfs.json, I get a timeout error on the website.
Validating this GBFS locally takes 19 seconds
it seems like the server is not slow to send responses, maybe a good opportunity to tackle performance improvements?