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

CRITICAL - Uncaught PHP Exception #2

Closed
kostya7777 opened this issue Jul 10, 2014 · 7 comments
Closed

CRITICAL - Uncaught PHP Exception #2

kostya7777 opened this issue Jul 10, 2014 · 7 comments
Labels

Comments

@kostya7777
Copy link

CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined offset: 3 in /var/www/project/vendor/wisembly/elephant.io/lib/ElephantIO/Client.php line 336" at /var/www/project/vendor/wisembly/elephant.io/lib/ElephantIO/Client.php line 336

        $this->session['sid'] = $sess[0];
        $this->session['heartbeat_timeout'] = $sess[1];
        $this->session['connection_timeout'] = $sess[2];
        $this->session['supported_transports'] = array_flip(explode(',', $sess[3]));
        if (!isset($this->session['supported_transports']['websocket'])) {
            throw new \Exception('This socket.io server do not support websocket protocol. Terminating connection...');
@nchaulet
Copy link
Owner

What version of socket.io do you use ?

@nchaulet
Copy link
Owner

It seems your issue is related to Wisembly/elephant.io#47

@kostya7777
Copy link
Author

I use socket.io@1.0.6.
I will check your link.

@nchaulet nchaulet added the bug label Jul 10, 2014
@nchaulet
Copy link
Owner

socket.io >= 1.0.0 is currently not supported by elephant.io

@kostya7777
Copy link
Author

Ok thank you!

@atcheri
Copy link

atcheri commented Jul 16, 2014

Hi, up to which version of socket.io can ElephantIOBundle support ?
on the home page it's mentionned Socket.IO 0.8+.
I'd use the 0.8 by default, unless higher can be supprted.
Thanks

@nchaulet
Copy link
Owner

Currently due to a bug with Elephant.io, this bundle supports version 0.8 to 1.0 (excluded).

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

No branches or pull requests

3 participants