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

Fatal error: No accept header received on handshake response #11

Closed
sebastianow opened this issue Mar 10, 2023 · 2 comments
Closed

Fatal error: No accept header received on handshake response #11

sebastianow opened this issue Mar 10, 2023 · 2 comments

Comments

@sebastianow
Copy link

Hi,

im getting this error:

Fatal error: Uncaught Wrench\Exception\HandshakeException: No accept header receieved on handshake response in /usr/www/users/project1/vendor/chrome-php/wrench/src/Protocol/Protocol.php:469
Stack trace:
#0 /usr/www/users/project1/vendor/chrome-php/wrench/src/Client.php(243): Wrench\Protocol\Protocol->validateResponseHandshake('HTTP/1.1 403 Fo...', 'sAMPSpAnjWISD6x...')
#1 /usr/www/users/project1/vendor/chrome-php/chrome/src/Communication/Socket/Wrench.php(99): Wrench\Client->connect()
#2 /usr/www/users/project1/vendor/chrome-php/chrome/src/Communication/Connection.php(186): HeadlessChromium\Communication\Socket\Wrench->connect()
#3 /usr/www/users/project1/vendor/chrome-php/chrome/src/Browser/BrowserProcess.php(146): HeadlessChromium\Communication\Connection->connect()
#4 /usr/www/users/project1/vendor/chrome-php/chrome/src/BrowserFactory.php(81): HeadlessChromium\Browser\BrowserProcess->start('chromium', Array)
#5 /usr/www/users/project1/acp/cmd-actions-1.php(59): HeadlessChromium\BrowserFactory->createBrowser(Array)
#6 {main}
thrown in /usr/www/users/project1/vendor/chrome-php/wrench/src/Protocol/Protocol.php on line 469

Any ideas?

regards
Sebastian

@enricodias
Copy link
Member

See chrome-php/chrome#492

@GrahamCampbell
Copy link
Member

This issue has been resolved in v1.8.1 of chrome-php/chrome.

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

No branches or pull requests

3 participants