Wisembly / elephant.io

Ça trompe énormément
https://wisembly.github.io/elephant.io/
MIT License
1.17k stars 366 forks source link

UnexpectedValueException "The server returned an unexpected value. Expected "HTTP/1.1 101", had "HTTP/1.1 400"" #217 #218

Open UpKing98 opened 2 years ago

UpKing98 commented 2 years ago

message: "The server returned an unexpected value. Expected "HTTP/1.1 101", had "HTTP/1.1 400""

file: "..project_dir/vendor/wisembly/elephant.io/src/Engine/SocketIO/Version1X.php"

line: 266

My Code:

$io_client = new Client(new Version2X(config('app.socket_url')));
$io_client->initialize();
$io_client->emit('clientMessage', $data);
$io_client->close();

Thanks

hasan110 commented 2 years ago

same error for me

locally every thing is ok

but i get this error on server on server I changed Version1X to Version2X but yet I get error

please help

budiwi24 commented 2 years ago

same error for me, please help

tohenk commented 2 years ago

Check the new repository https://github.com/ElephantIO/elephant.io.