I have recently installed O2 and QC on Mac M1. I am facing a grid token issue while using alien.py. I have tried all the solutions mentioned earlier carefully, but still I get an error when I load the environment and try alien.py
I tried the following.
Step 1. I downloaded a fresh certificate from the webpage by following: ALICE Analysis Tutorial
Step 2. Latest O2 and QC software: I have a decent experience on working with O2 and QC
Step 3. Test certificate
[QualityControl/latest] ~/TUM/alice %> alien.py
Enter PEM pass phrase: Could NOT establish connection (WebSocket) to 2001:1458:301:54::100:40:8097
SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')
Check the logfile: /Users/sbhawani/alien_py.log
[O2Physics/latest-master-o2] ~/TUM/alice %> alien.py checkAddr
128.142.249.34:8097 OK
128.142.249.46:8097 OK
128.142.249.54:8097 OK
128.142.249.60:8097 OK
128.142.249.76:8097 OK
128.142.249.52:8097 OK
128.142.249.33:8097 OK
128.142.249.61:8097 OK
128.142.249.49:8097 OK
128.142.249.29:8097 OK
128.142.249.17:8097 OK
128.142.249.47:8097 OK
128.142.249.31:8097 OK
128.142.249.50:8097 OK
128.142.249.62:8097 OK
128.142.249.32:8097 OK
128.142.249.53:8097 OK
128.142.249.51:8097 OK
well, ok, but how is the IPv6 part? your error message show that it could not connect to 2001:1458:301:54::100:40 which is an IPv6 , and it implies that your computer have an IPv6 IP …
Aah, I had changed the workplace. Therefore, IP changed.
Here is the check for the IP with which I had posted the first message.
[QualityControl/latest] ~/TUM/alice %> alien.py checkAddr
2001:1458:301:54::100:30:8097 OK
2001:1458:301:54::100:32:8097 OK
2001:1458:301:54::100:31:8097 OK
2001:1458:301:54::100:23:8097 OK
2001:1458:301:54::100:26:8097 OK
2001:1458:301:54::100:29:8097 OK
2001:1458:301:54::100:14:8097 OK
2001:1458:301:54::100:2a:8097 OK
2001:1458:301:54::100:40:8097 OK
2001:1458:301:54::100:27:8097 OK
2001:1458:301:54::100:13:8097 OK
2001:1458:301:54::100:5:8097 OK
2001:1458:301:54::100:22:8097 OK
2001:1458:301:54::100:25:8097 OK
2001:1458:301:54::100:15:8097 OK
2001:1458:301:54::100:28:8097 OK
2001:1458:301:54::100:16:8097 OK
2001:1458:301:54::100:11:8097 OK
128.142.249.29:8097 OK
128.142.249.47:8097 OK
128.142.249.53:8097 OK
128.142.249.76:8097 OK
128.142.249.54:8097 OK
128.142.249.52:8097 OK
128.142.249.33:8097 OK
128.142.249.49:8097 OK
128.142.249.61:8097 OK
128.142.249.32:8097 OK
128.142.249.31:8097 OK
128.142.249.46:8097 OK
128.142.249.34:8097 OK
128.142.249.17:8097 OK
128.142.249.50:8097 OK
128.142.249.62:8097 OK
128.142.249.60:8097 OK
128.142.249.51:8097 OK
It passes all the checks but still fails alien.py, unfortunately
weird … send me please the log obtained with: ALIENPY_DEBUG=1 ALIENPY_DEBUG_FILE=log.txt alien.py pwd
also, just to be sure, please also try alien.py certkey-match which should work
could you check within your environment the output of this command: openssl x509 -text -in $X509_CERT_DIR/CERN-GridCA.pem | grep 'Not Before\|Not After'
I made a fresh installation, but the problem still persists. I have now made a request to the ALICE computing group so that I can test my certificate on lxplus.
However, if you have any further suggestions, I am eagerly looking for a solution.