Ah good catch:
env | grep -i -e proxy -e http -e request
SELINUX_ROLE_**REQUEST**ED=
**http**_**proxy**=**http**://gw-srv-01.ourdomain.edu:3128/
SELINUX_LEVEL_**REQUEST**ED=
Yes.
://cryoem8.ourdomain.edu:39002, code 400) Encountered ServerError from JSONRPC function "get_project_dir_abs" with params ('J2056',):
ServerError: Error retrieving project dir for J2056 - project not found
Traceback (most recent call last):
File "/home/exx/cryosparc_master/cryosparc_command/commandcommon.py", line 196, in wrapper
res = func(*args, **kwargs)
File "/home/exx/cryosparc_master/cryosparc_command/command_core/__init__.py", line 8149, in get_project_dir_abs
assert project_doc, f"Error retrieving project dir for {project_uid} - project not found"
AssertionError: Error retrieving project dir for J2056 - project not found
drwx------. 32 exx exx 4096 Dec 2 14:53 .
Linux sn4622115580 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
But with the other user:
ssh otheruser@cryoem9 "ls -ld $(/home/otheruser/cryosparc_master/bin/cryosparcm cli "get_project_dir_abs('J2056')") && uname -a"
*** (http://cryoem8.fitzpatrick.zi.columbia.edu:39002, code 400) Encountered ServerError from JSONRPC function "get_project_dir_abs" with params ('J2056',):
ServerError: Error retrieving project dir for J2056 - project not found
Traceback (most recent call last):
File "/home/otheruser/cryosparc_master/cryosparc_command/commandcommon.py", line 196, in wrapper
res = func(*args, **kwargs)
File "/home/otheruser/cryosparc_master/cryosparc_command/command_core/__init__.py", line 8149, in get_project_dir_abs
assert project_doc, f"Error retrieving project dir for {project_uid} - project not found"
AssertionError: Error retrieving project dir for J2056 - project not found
drwx------. 9 otheruser 1002 4096 Dec 3 10:15 .
Linux sn4622115580 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
A simple version works:
ssh otheruser@cryoem9 "ls -ld /path/to/J2056"
drwxrwx---. 3 otheruser otheruser 109 Dec 3 16:50 /path/to/J2056
Edit I see this thread, which mentions setting ``export NO_PROXY="127.0.0.1, localhost,sn4622115580"
might work around this. Does this need to happen on cryoem8
, the master server? Or just the worker?