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

Strange "agent" error with some websites #61

Closed
boogheta opened this issue May 11, 2016 · 6 comments
Closed

Strange "agent" error with some websites #61

boogheta opened this issue May 11, 2016 · 6 comments
Labels

Comments

@boogheta
Copy link

boogheta commented May 11, 2016

I'm encountering some weird error when trying to capture certain websites.
As an example: https://www.onpe.tv/
As one can see on the herokuapp demo, it returns the following error

{"error":"Error while sending image file: ENOENT: no such file or directory, stat '/tmp/4379c56e0dfb2442324bfff66228173a77e351e6.png'"}

I'm having the same error on my own machine with phantom 2.1.1 installed

@vbauer
Copy link
Owner

vbauer commented May 13, 2016

@boogheta Could you please provide an example of URL to Manet server which I can test?

@vbauer
Copy link
Owner

vbauer commented May 14, 2016

I think it happened because you used empty parameters in the request (ex: &selector=&callback=&agent=&user=&password=&headers=&clipRect=&engine=).

@vbauer vbauer removed the question label May 14, 2016
@boogheta
Copy link
Author

boogheta commented May 17, 2016

Oups sorry wrong example url and wrong error message indeed, went too fast :/

So it does behave differently on heroku and on our instance, and both seem unsatisfying:

{"error":"Error while sending image file: ENOENT: no such file or directory, stat '/tmp/4379c56e0dfb2442324bfff66228173a77e351e6.png'"}

@vbauer
Copy link
Owner

vbauer commented Jul 9, 2016

Sorry for long response, I had a lot of things to do.. Did you try to use --level=debug to get some additional logs?

@vbauer vbauer added the question label Jul 9, 2016
@boogheta
Copy link
Author

well now I can't reproduce it anymore... So let's forget about it for now, I'll reopen if encountered again, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants