electricitymaps-contrib icon indicating copy to clipboard operation
electricitymaps-contrib copied to clipboard

fix(parsers):Adding retries to session in order to handle SSL errors

Open annaib00 opened this issue 6 months ago • 0 comments

Issue

Some IN-* zones often give production alerts, and they might be due to SSL errors.

Description

Adding a retry for the connection could potentially solve these recurring errors, if this is the problem. Drafting to figure out if this is actually a recurring error and can be solved by retrying the connection, as it seems the problem might have gone away for now.

Double check

  • [x] I have tested my parser changes locally with poetry run test_parser "zone_key"
  • [ ] I have run pnpx prettier@2 --write . and poetry run format in the top level directory to format my changes.

annaib00 avatar Jul 10 '25 10:07 annaib00