You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
#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>
.
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: