Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

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

Open
UpKing98 opened this issue Apr 4, 2022 · 3 comments

Comments

@UpKing98
Copy link

UpKing98 commented Apr 4, 2022

#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
Copy link

hasan110 commented Jun 2, 2022

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
Copy link

same error for me, please help

@tohenk
Copy link

tohenk commented Aug 23, 2022

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

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

No branches or pull requests

4 participants