Skip to content
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

CDNFinder seems to crash when testing http://www.bbc.co.uk #4

Closed
aannoune opened this issue Mar 22, 2018 · 3 comments
Closed

CDNFinder seems to crash when testing http://www.bbc.co.uk #4

aannoune opened this issue Mar 22, 2018 · 3 comments

Comments

@aannoune
Copy link

aannoune commented Mar 22, 2018

Hello,
i''ve tried this URL with both the docker file and you web site and i've got no result.
the docker gives this output:

Error: Failed cdnfinder2018/03/22 07:56:18 /bin/phantomjs is already installed
2018/03/22 07:56:19 Phantomjs had an error

    at /opt/iplabel/tools/CdnFinder/cdn.js:98:31
    at ChildProcess.exithandler (child_process.js:205:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:920:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
@sajal
Copy link
Contributor

sajal commented Mar 22, 2018

I can reproduce the issue. But have not nailed it down.

http://www.bbc.co.uk redirects to https://www.bbc.co.uk server side, which phantomjs handles well. But then using javascript it navigates to https://www.bbc.com/ which redirects to http://www.bbc.com (server side)

phantomjs fails soon after it attempts to load https://www.bbc.com/

@sajal
Copy link
Contributor

sajal commented Mar 22, 2018

ok. Sounds related to ariya/phantomjs#12750
I have adapted workaround from ariya/phantomjs#10389 (comment) which solves the issue. Will be deploying a fix soon.

@sajal
Copy link
Contributor

sajal commented Mar 22, 2018

@sajal sajal closed this as completed in ab169f1 Mar 22, 2018
@turbobytes turbobytes deleted a comment from aaronpeters Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants