Jon (LabKey DevOps) responded: |
2015-10-12 11:11 |
Hi Laura,
Are you seeing an error message when trying to run a connection through R using the RLabkey library? Are both labkey-test and labkey-dev sites running on HTTPS or HTTP? Are they running on any special ports like 8080 or 8443?
The netrc file appears to look okay for multiple entries.
Regards,
Jon |
|
laurapas responded: |
2015-10-12 11:17 |
Hi Jon,
Port 8443. The same .netrc works fine on my Mac laptop. So, I don't know why it doesn't work on the Linux system. |
|
Jon (LabKey DevOps) responded: |
2015-10-12 11:28 |
Hi Laura,
Can you do an ls -al on the HOME directory you're in so we can see the permissions of the .netrc file?
Also, the .netrc file should actually have a password designation, just like how you have the machine and login designation:
machine labkey-test.roche.com login OMNIBD01 password xxxxxx
machine labkey-dev.roche.com login OMNIBD01 password xxxxxx
Regards,
Jon |
|
jeckels responded: |
2015-10-12 13:35 |
Hi Laura,
LabKey Server doesn't act as an FTP server, so unless you have separately installed something for FTP it's completely expected that you won't be able to connect via FTP.
Are you seeing authentication problems from inside of R?
As Jon mentioned, there are requirements on the file permissions for .netrc. It be readable only by the user account:
https://www.labkey.org/wiki/home/Documentation/page.view?name=netrc
Thanks,
Josh |
|