-
Notifications
You must be signed in to change notification settings - Fork 183
[9.0] fix: get DiracX token #8300
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
base: integration
Are you sure you want to change the base?
Conversation
This fix is needed to fix the DiracX token extraction by the JobAgent.
It seems that the problem arises when there is more than one block :
In this case the regular expression was matching everything between the first With this fix the correct block between the first |
b2ffe70
to
75e027b
Compare
75e027b
to
61891a7
Compare
I am not sure that the regular expression needs fixing, your error is really strange. |
@chaen in my tests the fix is needed. I have to further check but it seems to me that the following sequence of calls ends up with a pem file with 2 tokens which causes the issue I've reported:
|
@chaen I confirm that the fix works.
adds an empty line in the pem certificate, like:
However it does not seem to create any problem. |
I noticed that too and came to the same conclusion as you. Handling that empty line is surprisingly annoying :-) |
*Core
FIX: Fix regular expression that matches DiracX token