Message boards :
Graphics cards (GPUs) :
Python app on Windows failing with SSL error
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 10 Nov 13 Posts: 101 Credit: 15,773,211,122 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Anyone notice the Python app failing on Windows hosts with a SSL error? WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /simple/pytorchrl/ etc.... This server was previously running the Python jobs ok so I'm wondering if something has changed that would cause this problem. My other Windows hosts seem to work other than the usual normal job failures. Here are a couple of example Stderr outputs https://www.gpugrid.net/result.php?resultid=33405143 https://www.gpugrid.net/result.php?resultid=33402668 Any input on what could be causing this would be appreciated. Also, FYI I tried to install the new NVIDIA driver version 474.30 but there was a problem with it installing properly. I had to go back to version 474.11 which is working for other projects. |
|
Send message Joined: 10 Nov 13 Posts: 101 Credit: 15,773,211,122 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have looked into this a bit and from what I found "pip" uses HTTP to communicate and it can't connect since HTTP seems to be blocked from this network. I already have a proxy server added in BOINC but it's HTTPS only. It's been added in the Internet Options>LAN settings and that should allow both HTTP and HTTPS. I have tried setting system environment variables for both the HTTP and HTTPS proxy but I'm not finding a way to get it to work. I think the python executable is self contained and I don't think it uses any of the settings I have in place. Unless someone knows a bit more than I do about python using pip installs in GPUgrid, I'm stuck for running Python tasks from this particular server. |
|
Send message Joined: 26 Dec 13 Posts: 86 Credit: 1,292,358,731 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
If this comment right, than pip need pip_ prefix for proxy variable. Have you tried that? |
|
Send message Joined: 10 Nov 13 Posts: 101 Credit: 15,773,211,122 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have tried a few more ways to get the variables recognized by GPUgrid. I really don't think the Python app is reading anything that is set in the system environment variables. I would guess it is self contained in it's own environment so any changes would have to be made in the program. |
©2025 Universitat Pompeu Fabra