#59 Certificate Problem: certificate has expired

Closed
opened 2 years ago by sprenger · 4 comments
sprenger commented 2 years ago

When updating a local copy of a repository I lately receive frequently a Certificate Problem: Certificate has expired error. The error occurs not always, but in up to 50% of the requests.

I am using datalad for the update and the complete error message is

datalad.support.exceptions.IncompleteResultsError: Command did not complete successfully. 1 failed:
[{'action': 'update',
  'message': ('Fetch failed: %s',
              "CommandError: 'git -c diff.ignoreSubmodules=none fetch "
              "--verbose --progress --no-recurse-submodules --prune origin' "
              'failed with exitcode 128 under '
              "/home/user/ephy_testing_data [err: 'fatal: unable to "
              'access '
              "'https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/': SSL "
              "certificate problem: certificate has expired'] "
              '[cmd.py:run:408]'),
  'path': '/home/user/ephy_testing_data',
  'refds': '/home/user/ephy_testing_data',
  'status': 'error',
  'type': 'dataset'}

Is this something that can be fixed on the server side or should I adjust my request to the server? Multiple attempts of requests can be seen here.

When updating a local copy of a repository I lately receive frequently a `Certificate Problem: Certificate has expired` error. The error occurs not always, but in up to 50% of the requests. I am using datalad for the update and the complete error message is ``` datalad.support.exceptions.IncompleteResultsError: Command did not complete successfully. 1 failed: [{'action': 'update', 'message': ('Fetch failed: %s', "CommandError: 'git -c diff.ignoreSubmodules=none fetch " "--verbose --progress --no-recurse-submodules --prune origin' " 'failed with exitcode 128 under ' "/home/user/ephy_testing_data [err: 'fatal: unable to " 'access ' "'https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/': SSL " "certificate problem: certificate has expired'] " '[cmd.py:run:408]'), 'path': '/home/user/ephy_testing_data', 'refds': '/home/user/ephy_testing_data', 'status': 'error', 'type': 'dataset'} ``` Is this something that can be fixed on the server side or should I adjust my request to the server? Multiple attempts of requests can be seen [here](https://github.com/NeuralEnsemble/python-neo/actions/runs/2051692151/attempts/1).
Michael Sonntag commented 2 years ago
Owner

The certificate has been recently refreshed and unfortunately has not propagated through all the sites where it is cached. I tried flushing at least the google public DNS, maybe this helps speeding the process.

The certificate has been recently refreshed and unfortunately has not propagated through all the sites where it is cached. I tried flushing at least the google public DNS, maybe this helps speeding the process.
Benjamin commented 2 years ago

FTR: While I came here to report on datalad's CI failure (essentially same as above), I also get NET::ERR_CERT_DATE_INVALID from chromium.

FTR: While I came here to report on datalad's CI failure (essentially same as above), I also get `NET::ERR_CERT_DATE_INVALID` from chromium.
Michael Sonntag commented 2 years ago
Owner

The issue should be resolved. If you experience any further problems, please let us know.

The issue should be resolved. If you experience any further problems, please let us know.
sprenger commented 2 years ago
Poster

I can confirm it is resolved on my side. Thanks for the fix!

I can confirm it is resolved on my side. Thanks for the fix!
Sign in to join this conversation.
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.