Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

address already in use Rstudio cron job #56

Open
simran66 opened this issue Sep 15, 2018 · 0 comments
Open

address already in use Rstudio cron job #56

simran66 opened this issue Sep 15, 2018 · 0 comments

Comments

@simran66
Copy link

simran66 commented Sep 15, 2018

I am using your package to import GA data. For that matter, I have a scheduled cron job. It was working fine so far since years but I recently started getting:

createTcpServer: address already in use Error in httpuv::startServer(use$host, use$port, list(call = listen)) : Failed to create server Calls: authorize ... init_oauth2.0 -> oauth_authorize -> oauth_listener -> <Anonymous> Execution halted

If I go and run this manually in RStudio now though, It runs fine without any issues. ( For it to run, I had to enable

options(httr_oob_default=TRUE)
after I started getting this error. However, this, of course, cannot work for crons.

It tries to connect to port 1410

This is what netstat command says:

tcp 0 0 127.0.0.1:1410 0.0.0.0:* LISTEN
If I have something running on this port, why does it not complain when I run it manually from rstudio
What could be the reason that I started getting this? We did not make any changes to the server.
How do I fix this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant