Closed rwblackburn closed 3 years ago
The droplet is created, but calling it w/cURL returns:
curl: (7) Failed to connect to 123.123.123.123 port 8000: Connection refused
Doing this:
analogsea::droplet_ssh(mydrop, "whoami", verbose = TRUE)
Returns (after a very long time):
whoami
Error: libssh failure at 'ssh_channel_open_session': Socket error: Operation timed out
Not sure if that has anything to do with this. Other analogsea
functions work fine. For example analogsea::droplets()
or analogsea::droplet(id)
both work fine.
it seems the droplet was not able to fetch a ubuntu package from DO mirrors. I'll investigate.
I've added an extra apt update step to R install step. Seems DO ubuntu image can get out of sync with DO mirrors. You can try it using the latest from github using
# install.packages("remotes")
remotes::install_github("meztez/plumberDeploy")
Let me know if this helps @rwblackburn
@meztez
Ran install.packages("remotes")
and remotes::install_github("meztez/plumberDeploy")
successfully.
Unfortunately, plumberDeploy::do_provision()
still throws the same error.
@rwblackburn did you restart R for the package change to take effect?. It worked when I tried it yesterday.
Yep, I restarted.
I just did it again to be sure (rebooted the whole system even). Same errror. The only difference is the IP address in the 404 messgage:
404 Not Found [IP: 172.67.148.71 80]
Damn, I'm sorry to hear that. I've updated the dev version only, as it works fine when I test it. Make sure you are using plumberDeploy 0.2.1.10000.
IP is just a mirror
Looks like I am on 0.2.1
> packageVersion("plumberDeploy")
[1] ‘0.2.1’
I just re-ran remotes::install_github("meztez/plumberDeploy")
And now I seem to be on 0.2.1.10000
:
> packageVersion("plumberDeploy")
[1] ‘0.2.1.10000’
I promise I ran that before (twice). Maybe there was a lag in GitHub publishing that version?
@meztez - This is not working. Thank you for the assistance.
@rwblackburn now working or not working?
“now working”, my apologies
Starting w/basic install.
Getting the following error:
Checked
ssh::ssh_key_info()
and it shows the expect SSH private key. Checkedlapply(analogsea::keys(), '[[', "public_key")
and it contains the expected SSH public key.Any suggested next steps would be appreciated.