-
Notifications
You must be signed in to change notification settings - Fork 22
[phantom] Wait timeout of 5000ms expired, exiting. #22
Comments
Hi @Sc0th Are you sure you copied your config.js over to the new VM? Try changing get_combined_ofx.js, so casper outputs more debug info...
This should give you an idea of which step is not progressing properly. |
Hey @carpii config.js is present and correct, output from debug is as follows, hope this give you a clue as to what I have got wrong! As an aside, I have checked the login manually using word & passcode, login without issue. I have also run a curl pull on the url below and can retrieve it successfully. phantomjs - 1.9.6 (have also tried 2.2.1 with identical results) [info]�[phantom] Starting... |
looks to be something related to ssl, can't quite see how to set the '--ignore-ssl-errors=true' option, will keep poking about... |
running with: casperjs --ignore-ssl-errors=tue --ssl-protocol=any --debug=yes ./get_combined_ofx.js provides: [debug] [phantom] opening url: https://bank.barclays.co.uk/olb/authlogin/loginAppContainer.do, HTTP GET |
What version of phantomjs and casperjs? Im not seeing SSL issues, although I'm running on a Mac (with casperjs 1.1.4 and phantomjs 2.1.1)
This was just a typo? |
Hi, yes it was a typo, does not work when my phat fingers get it right either. [root@nox barclayscrape]# phantomjs --version I have tried with 2.1.1 also, made no odds. What is frustrating is that the arguments seem to be ignored, the head of the debug output states - 2017-09-14T18:58:35 [DEBUG] Phantom - execute: Configuration I suspect getting the two ssl related variables to switch would fix the problem I am seeing. If I could figure out how... :) |
Do you get a different error if you prevent it trying to choose sslv3?
For whatever reason, when I run your command, the ignore-ssl option does seem to be getting passed through to phantomjs properly.
|
Woooo Hoooo! Blew it all away, pulled fresh from git, updated phantomjs to 2.1.1, and it bloomin' well works, Thank you so much for your help and guidance! |
No probs. Glad you got it working, because I was just about out of ideas ;-D |
@russss Could we close this ticket please? |
Hi,
Thank you @carpii for looking at this, I have been out of town and was keen to get it up and running again.
Sadly, my lack of knowledge has me stuck again, every time I run it I get -
I tried increasing the casperjs timeout, same result, just takes longer to fail...
I have even spun up clean VM (CentOS7) and started from scratch, same results.
If you are able to offer any pointers as to where I am going wrong, would be much appreciated.
The text was updated successfully, but these errors were encountered: