-
Notifications
You must be signed in to change notification settings - Fork 505
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
"error": "network5", HTTP Error 400 (Bad Request) #848
Comments
Could you please mention your input URL here... @pasindu-gamarachchi |
https://www.lowes.com/pl/Laminate-flooring-Laminate-flooring-accessories-Flooring/753030926 , this is the url I used. |
And the same error on this site: |
This problem is caused by the assert() function in the line 2 of the Lua script, meaning that the HTTP request failed. Sadly, no more information is provided. |
And this problem only occurs in a few environments. I can set up splash service easily on my own computer with default settings, but i met with this error on my remote virtual machine. |
I am trying to render the html of a website and keep getting the following error on the browser.
The lua script I'm running is as follows:
function main(splash, args)
splash.resource_timeout = 10.0
assert(splash:go(args.url))
assert(splash:wait(2.5))
return {
html = splash:html(),
png = splash:png(),
har = splash:har(),
}This error seems to occur mainly on this site, and splash renders the html for most other sites.
The following are the versions I'm using :
Splash version: 3.2
Qt 5.9.1, PyQt 5.9, WebKit 602.1, sip 4.19.3, Twisted 16.1.1, Lua 5.2
Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
Any help is appreciated.
The text was updated successfully, but these errors were encountered: