rlabkey projects not showing

CPAS Forum (Inactive)
rlabkey projects not showing ashoka  2013-04-11 14:41
Status: Closed
 
Hi,

I have a fresh Rlabkey (v12.3 on Win7) installed and am trying to connect via R. _netrc seem to work and connects to the server but when I do >lsProjects("http://mylabkeyserver:8080/labkey/") it only lists "/home" as the only project. But I do have two other projects. I tried with the admin console checking the permissions etc but all seem good and permitted. Why am i not seeing the projects? Am I missing something here in the folder path?

Thanks.
Ashoka.
 
 
Brian Connolly responded:  2013-04-11 17:08
Askoha,
What might be happening is that R is not using the credentials in your netrc file and instead logging into the server as Guest.

To verify that R is using the correct credentials

0. Stop your R session
1. goto http://mylabkeyserver:8080/audit/begin.view?view=UserAuditEvent
2. Start up R and attempt connect to the server
3. Refresh your browser to show the latest Audit entries

If your R session is using the credentials in netrc, then you will see a new log saying "user logged in successfully ...", if not then your R session is not using the netrc file.

Is your R session successfully using the credentials in the netrc file?

-Brian
 
ashoka responded:  2013-04-11 21:57
Thanks for the tip Brian! I had :8080 after the server name in netrc and that was the problem. All seem good now.

I tried http://mylabkeyserver:8080/audit/begin.view?view=UserAuditEvent but it says
"The requested resource (/audit/begin.view) is not available." Just wondering even though my problem was resolved.

Best,
Ashoka.
 
Brian Connolly responded:  2013-04-12 07:45
Ashoka,

Looks like the URL I sent to you was incorrect, it is missing the context path (labkey). The URL should be

http://mylabkeyserver:8080/labkey/audit/begin.view?view=UserAuditEvent


Sorry for the mistake and glad you got the problem fixed.

Brian
 
ashoka responded:  2013-05-09 08:48
Thanks Brian!