phantom.js on windows retuns blank page of https://www.tumblr.com #11647

Closed
skov555 opened this Issue Sep 26, 2013 · 8 comments

Projects

None yet

6 participants

@skov555

I tested it on linux and it works correctly but I run that simple
one url page https://www.tumblr.com on 3 different windows instances and they all return
about:blank page, no content.

What is even more strange when I used fiddler as a proxy, trying to trace requests
it works but as soon as I exit fiddler it again returns blank page.

@JamesMGreene
Collaborator

Try changing Phantom's WebPage#settings.userAgent string, some sites/webservers are setup to ignore unrecognized browsers. Fiddler might be changing it for you.

@skov555

Thanks for reply, yes I did, in fact it was running with standard Firefox 22 userAgent
Also running plain phantomjs on linux opens page perfectly fine, only windows version does not work for that specific case.

@skov555

Got even stranger, today tested it on linux and got the same blank page response, I definetely remember yesterday it was working on linux, but today could not get it to return page. May be something in my home network, but I tried it at work and got the same blank page.
Interesting that request for page is very simple. It is GET request and Headers and Agent looks perfectly normal as would any Firefox browser look so I am puzzled.

@sbehrens

Bump, this is happening on both Linux and OSX hosts for me.

@andreaswarnaar

Same here. Anyone found the problem?

@DMNh

Been trying to work this out for hours, finally found the solution from a Stack Overflow post.

Tumblr apparently uses TLSv1.2 encryption while the default for phantomjs is SSLv3, to solve use either:
--ssl-protocol=tlsv1
or
--ssl-protocol=any

@skov555

Thanks, will try it out.

@Vitallium
Collaborator

Fixed in 2.0. Please upgrade to PhantomJS 2.0.

@Vitallium Vitallium closed this Jan 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment