[Ovmsdev] OpenChargeMap API KEY / server overload
Michael Balzer
dexter at expeedo.de
Mon Dec 2 02:12:14 HKT 2019
Mark, Christopher (still with us?),
the OCM API server is currently near overload, I assume due to the https migration. 3 of 5 API requests currently fail with status 500.
I've checked the OCM forum for some info and found this related topic:
https://community.openchargemap.org/t/notice-api-will-shortly-require-an-api-key-for-regular-usage/29
Mark, do we have an OVMS account at OCM? If so, can you get an API key for us? I'm preparing the next Andriod update.
Maybe hosting an OCM mirror is also an option, but no idea about the capacity needed. An API server with https may need quite some ressources, as there are
nearly no reusable SSL sessions. According to Google we've got 1051 active Android installations. I did implement caching and incremental updates long ago,
every App will normally only do ~ one update call per day (if it succeeds…).
Regards,
Michael
Am 27.11.19 um 21:30 schrieb Michael Balzer:
> Mark,
>
> the OpenChargeMap API has just changed to force redirecting to the https version -- basically a good idea.
>
> That broke the Android App OCM implementation: the standard Android InputStream class conveniently opens streams from URLs, but does not follow redirects.
>
> I've changed all API URLs to https, should have done so before when https became available for OCM.
>
> Maybe the iOS reader is smarter here, but maybe you should check that.
>
> Regards,
> Michael
>
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
More information about the OvmsDev
mailing list