-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synda Certificate Renew Fails #121
Comments
The same occurs for me, for a fresh install, at first trial of a 'synda install' command, and on 'synda certificate renew' |
The error message is pretty cryptic and not a good indication of what went wrong in my experience with synda. But in my previous encounters, it has always been a wrong version of a dependency (openssl or myproxyclient mostly). Can you verify they're in order? |
Updating a synda 3.9 DEB install with a synda 3.10 conda install did, in my case, update openssl, and led to a successful 'synda certificate renew' |
I had the same problem using the centos71 RPM on a centos7.6 system, which is synda-3.8-1.x86_64. |
I say "fundamentally" because I've found that in working through the
Has anyone else found this? |
Hi all, I am starting to use this tool and I found extremely powerful, so first of all thanks to the developers! I just wanted to mention that I installed synda 3.10 via conda and I was facing the same issue as above. I had to manual downgrade the |
Hi all, |
I have tried downgrading openssl and still same problem with certificate. Then, I tried to downgrade synda to version 3.14 and got again the certificate error: Is there anyone currently able to use synda? |
In my experience most certificate-related errors have not arisen from Synda, but from problems with the identity server used to update certificates. And most of the time the existing certificate is still valid, so the renewal is not really necessary. I am running a heavily patched older version of Synda, and have submitted a few pull requests for some of the patches. This version of Synda will try to continue even after failing to renew a certificate, and in practice this has always been successful. I will soon submit a pull request for this feature.
Jeff
From: Franco Catalano <[email protected]>
Reply-To: Prodiguer/synda <[email protected]>
Date: Monday, March 1, 2021 at 8:54 AM
To: Prodiguer/synda <[email protected]>
Cc: Subscribed <[email protected]>
Subject: Re: [Prodiguer/synda] Synda Certificate Renew Fails (#121)
I have tried downgrading openssl and still same problem with certificate.
Then I tried removing synda and conda and doing a clean conda/synda reinstall. After that I have:
conda version 4.8.3
synda version 3.20
but when I launch synda I got the following error:
synda.source.process.subcommand.exceptions.InvalidRequest: Not found Invalid request
Then, I tried to downgrade synda to version 3.14 and got again the certificate error:
Error occurs while renewing certificate (exit)
Is there anyone currently able to use synda?
If yes, could you please share your configuration?
Any information would be very appreciated. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://urldefense.us/v2/url?u=https-3A__github.com_Prodiguer_synda_issues_121-23issuecomment-2D788103359&d=DwMCaQ&c=pKoAVQro6qDbLoK0T8588B4mZJhJhC4e6QXJy0XnJec&r=Pyh7ggQUl3TbVyCxvHXd5tS9ZUQzYqbVcelT1fZ78eo&m=rKj8Z8mi2RIH50TRP5Stj3nHjTy0Bd9rAk3r1VqJDMg&s=ihtU8T4wtXU1P5r59Kvv5dyF5qCrAmHwv3pt8fbwqng&e=>, or unsubscribe<https://urldefense.us/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAVLQMPCUAQOEOATQM2MEI3TBPBD3ANCNFSM4IJPNRIQ&d=DwMCaQ&c=pKoAVQro6qDbLoK0T8588B4mZJhJhC4e6QXJy0XnJec&r=Pyh7ggQUl3TbVyCxvHXd5tS9ZUQzYqbVcelT1fZ78eo&m=rKj8Z8mi2RIH50TRP5Stj3nHjTy0Bd9rAk3r1VqJDMg&s=NleX6RaOLq49VLYVPbdpM_zh42Zgrkl6GPM9JpcQSEg&e=>.
|
Actually I had submitted this patch last year, pull request #145. Nobody paid attention, and since then the master branch was changed so as to make it incompatible. I will submit a new pull request with the same patch, but compatible with the present master branch. I will not revise it again. |
A new pull request, $164, does the same thing as #145. To enable it, edit the configuration file: I run with this feature turned on, 24 hours a day with about 4-8 data nodes simultaneously, 6 files per node. Although it's a tiny and simple change, it has a tremendous effect on reliability. |
Thanks Jeffrey. |
The clean way to get it into your version is with a git merge from the continue_on_cert_errors branch to your git-controlled copy of Synda. If you have a separate working copy as I do, you will have to copy the changed files to there. That's four files, the four files containing the string "continue_on_cert_errors". A dirtier (slightly more dangerous from the long-term maintenance perspective) way is to directly edit these four files in the working copy, in order to match. The super-dirty way to incorporate this change is to bypass the user settings in sdt.conf and instead directly edit /usr/share/python/synda/synda/sdt/sddmdefault.py. You can make it match the sddmdefault.py in the continue_on_cert_errors branch, but replace "preferences.is_download_continue_on_cert_errors" with True. I can't really recommend hacks like that, except for code development purposes. However you do it, you will have to restart the daemon afterwards. This is quite a short simple patch, and is intended to keep things going through brief outages of the identity (myproxy) server. If it is down for an extended period of time, you really will need to renew some certificates. Then the only solution is to find another server for renewing certificates. |
Thanks again Jeffrey, I really appreciate your help! |
I believe that the server name is extracted from your OpenID which is set in credentials.conf. |
Thanks Jeffrey. |
You are right. I also use esgf-node.llnl.gov. It only has an occasional brief failure, possibly due to overloading. My little patch deals with this successfully but couldn't possibly help your situation. |
Unfortunately, myproxy-logon is not installed on our server. When I use esgf-generated wget scripts, certificate is obtained with java (getcert.jar) and stored in my $HOME/.esg/credentials.pem. The OpenID and password I pass to the wget script are exactly the same as those specified in synda credentials.conf. This is the output: Then it asks for my openid and password and the download starts. |
@francocatalano were you able to create a certificate finally? If you did, which version of synda are you using? |
@plesager Hi Philippe. After many attempts, I managed to get it working with synda v3.32. |
Thanks Franco. I was trying my openID created by CEDA (it adds an extra username between enduser and ESGF) which gave the same certificate problem as you had. I've created another openID on esgf-node.llnl.gov and that fixes it (synda 3.35 installed through conda). |
We've recently had our synda certificate renew fail, always:
$ synda certificate --debug renew
Error occurs while renewing certificate ([('SSL routines', 'SSL3_GET_RECORD', 'wrong version number')])
It is unclear what may have changed in our local (or remote server) configuration to affect this. It seems related to protocol support by the myproxy server?
Note we're using: esgf-node.llnl.gov:7512
Note: Adding --debug does not seem to provide additional information about the failure.
The text was updated successfully, but these errors were encountered: