I am using plumberDeploy
to deploy a plumber api into digital ocean. Unfortunately, I am getting this error I do not know how to solve. I have created new public and private keys and these are set in digital ocean too but it is not working.
library(plumberDeploy)
library(analogsea)
mydrop <- plumberDeploy::do_provision(example = F)
THIS ACTION COSTS YOU MONEY!
Provisioning a new server for which you will get a bill from DigitalOcean.
Using default ssh keys: keyaccess
NB: This costs $0.00893 / hour until you droplet_delete() it
Waiting for create ................................
Error encountered : Error: libssh failure at 'connect': Timeout connecting to 137.184.90.246
Retrying attemps 1 in 3 seconds.
New server key: 74:45:6a:ad:0e:1c:9f:de:ec:25:25:2b:fa:80:c5:cb:77:5f:25:3a
Error encountered : Error: Authentication with ssh server failed
Retrying attemps 2 in 9 seconds.
Error encountered : Error: Authentication with ssh server failed
Retrying attemps 3 in 27 seconds.
Error encountered : Error: Authentication with ssh server failed
The code creates the droplet but it is not working completely as all the remaining elements are not installed on it.
Even with a dummy api the next code is not working:
plumberDeploy::do_deploy_api(483231642, "date", "docs/test/", 8000, docs = TRUE)
Error: Authentication with ssh server failed
Any help to solve this issue is welcome
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.13 ssh_0.9.3 later_1.3.0 R6_2.5.1
[5] sys_3.4.1 jsonlite_1.8.4 magrittr_2.0.3 credentials_2.0.2
[9] httr_1.4.7 rlang_1.1.0 cli_3.6.1 curl_5.0.0
[13] rstudioapi_0.14 promises_1.2.0.1 tools_4.1.2 analogsea_1.0.7.2
[17] httpuv_1.6.5 yaml_2.3.7 compiler_4.1.2 plumberDeploy_0.2.2
[21] askpass_1.1 openssl_2.0.6