-
Notifications
You must be signed in to change notification settings - Fork 6
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
curl Recv failure: Connection reset by peer #6
Comments
#ty for checking out splashr and for taking the time to file an
issue/question!
Aye, it is likely the fact that start_splash needs warmup time but stay
tuned. I'm updating the splashr-centric docker container to use the new 3.0
branch of splash and am also moving the docker orchestration to use the new
on-CRAN docker package so I can get this into CRAN. I mention that b/c I
can likely put in an optional wait-check parameter to cause start_splash to
block until it's available.
…On Wed, Jul 26, 2017 at 1:47 PM, Xavier A ***@***.***> wrote:
I used this library without problems a few month ago. However, I installed
it on two new computers (ubuntu) today and got the same error.
I am working with a minimal example:
splash_container <- start_splash()
render_html(url = "https://www.qwant.com/")
stop_splash(splash_container)
It works well when I run the commands one by one. But when I try to run
the three commands in one go, I get the error below after render_html:
Error in curl::curl_fetch_memory(url, handle = handle) :
Recv failure: Connection reset by peer
I am not sure what the error is, but I managed to get around it by adding
Sys.sleep(2) after start_splash(). Is it possible that render_html is
called too fast? Before the container created by start_splash is fully
loaded and operational?
Thanks a lot for making this package!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfHtgDQuBFeplDa1jW6lqreIkbQGR2jks5sR3u4gaJpZM4OkQtT>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used this library without problems a few month ago. However, I installed it on two new computers (ubuntu) today and got the same error.
I am working with a minimal example:
It works well when I run the commands one by one. But when I try to run the three commands in one go, I get the error below after
render_html
:I am not sure what the error is, but I managed to get around it by adding
Sys.sleep(2)
afterstart_splash()
. Is it possible thatrender_html
is called too fast? Before the container created bystart_splash
is fully loaded and operational?Thanks a lot for making this package!
The text was updated successfully, but these errors were encountered: