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

HTTP/1.1 301 Moved Permanently #84

Open
long-blade opened this issue Mar 20, 2024 · 2 comments
Open

HTTP/1.1 301 Moved Permanently #84

long-blade opened this issue Mar 20, 2024 · 2 comments

Comments

@long-blade
Copy link

PHP Fatal error: Uncaught WSSC\Exceptions\ConnectionException: Connection to 'ws://external-api.xtremepush.com:80/websock' failed: Server sent invalid upgrade response:
HTTP/1.1 301 Moved Permanently
Date: Wed, 20 Mar 2024 13:44:10 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive
Location: https://some.otherurl.com/websock
Strict-Transport-Security: max-age=31536000; includeSubDomains in /.../php-wss/src/Components/WSClientTrait.php:25

In Postman is connecting fine
image

@long-blade
Copy link
Author

any solution for this problem, please? (the library is not handling location header redirects)

@long-blade
Copy link
Author

@arthurkushman

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

1 participant