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

Oauth dance not working in RStudio #15

ramnathv opened this Issue Jul 11, 2012 · 2 comments


None yet
3 participants

ramnathv commented Jul 11, 2012

I am not sure if this is an issue with httr or RStudio, but I was not able to complete the browser authentication if I run the github demo from within RStudio. I suspect it is because RStudio opens a different port by default. Here is part of a message which might help.

In server$start(port = 1410, quiet = TRUE) :
  RStudio has already started the web server on port 32387

@hadley hadley closed this in 5400c8f Jul 12, 2012


This comment has been minimized.

ramnathv commented Feb 16, 2013

I see your point. But the trouble is that the port set by RStudio seems to be randomized, making it impossible to get the callback URL to work correctly. Actually, I know remember an issue I had posted long back that caused httr to use this approach when a port is already defined


I believe RStudio changed some things which is the reason for things not working. Any thoughts on what might be a possible approach to solve this issue?


This comment has been minimized.

jjallaire commented Feb 28, 2013

FYI, in the next version of RStudio (v0.98) we are no longer using local sockets for interprocess communication. A side effect of this is that we allow the R httpd server to go on it's merry way without resetting the port, so this issue should go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment