php-wss
php-wss copied to clipboard
HTTP/1.1 301 Moved Permanently
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