laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 258 forks source link

Gdk-Message: slimerjs: Fatal IO error 11 (Resource temporarily unavailable) on X server :101 #652

Closed sydude365 closed 7 years ago

sydude365 commented 7 years ago

SlimerJS: 0.10.3 Firefox: 55.0.3 (desired version) have reproduced the results on all versions from 50.0 upwards (except 56+ which gives me the telemetry errors 100% of the time and the prefs changes dont fix it) Operating system: CentOS 7.4.1708 64 bit Kernel: 4.13.4 Casperjs: 1.1.4

Happens around 5% of the time regardless of which js I am running. Script runs partially through, then errors prior to completion (as in there are still steps to be executed when it crashes).

Gdk-Message: slimerjs: Fatal IO error 11 (Resource temporarily unavailable) on X server :101. Gecko error: it seems /usr/bin/firefox is not compatible with SlimerJS.

laurentj commented 7 years ago

Did you try to run only Firefox on this system?

sydude365 commented 7 years ago

I'll try it and come back.

sydude365 commented 7 years ago

After a bunch of screwing around, I simply stopped using xvfb and used the --headless option instead on FF 55 and it works. I don't think this was a slimer issue.

ClannadBred commented 4 years ago

I just meet the same issue,any update here? I must use xvfb display in my case .