-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to CreateConnection: invalid credentials, but login/password work via web portal #99
Comments
What's the version of packageVersion("ImmuneSpaceR") |
Version: 1.11.2
…On Mon, May 6, 2019 at 1:01 PM J. Kim ***@***.***> wrote:
What's the version of ImmuneSpaceR you are using?
packageVersion("ImmuneSpaceR")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADR4YSHXQMT4BP55OOF5MN3PUCFBVANCNFSM4HLC6NEA>
.
|
Try installing the latest development version of remotes::install_github("RGLab/ImmuneSpaceR") And update your netrc file via: ImmuneSpaceR::interactive_netrc() Your netrc should be located at:
And it should look something like this:
|
Thanks - updated to 1.11.7, but I still get the same problem. I don't know if this will help, but running: Fails with: Apparently because it checks for a '.netrc' in the home folder (hardcoded - not platform dependent). Is this function called internally by |
Gotcha. Yeah that's a bug. It shouldn't be hardcoded like that. Thanks! We will fix that. But no it's not called internally by I am thinking something is wrong in netrc file. How did you create your netrc file? Have you tried The alternative way to create a connection is to pass your credentials in con <- CreateConnection("", login = "[email protected]", password = "yourSecretPassword") |
Yes, I did try
I also tried directly passing my username (I used email address?) and password to |
That is really weird. I'm really sorry about this. Could you try this and share the output? httr::GET("https://www.immunespace.org/login-whoami.view", Rlabkey:::labkey.getRequestOptions()) |
|
Hmmmm strange. Your netrc file seems to be valid, and I just checked your account permissions, and they are good. I am running out of ideas at this point.
I apologize for the inconvenience and thank you for your patience. |
Thanks for your patience... I was using an .Rmd that Evan Henrich shared with me a few weeks ago which included setting up `labkey.url.base' globally to access the test server... I guess that's not something I have access to with my personal credentials. Thanks for all your help with this. |
Gotcha. I am glad I was able to help. Let me know if you run into more issues with ImmuneSpace or ImmuneSpaceR or have any suggestions. Thank you! |
Re-running through a bit of analysis that used to work. I get an error when trying to create a connection.
Credentials appear to be valid when accessing ImmuneSpace via the web portal. This is using R 3.5 running on a Windows machine.
Steps taken:
The text was updated successfully, but these errors were encountered: