Skip to content

Instantly share code, notes, and snippets.

@PeeHaa
Created August 20, 2019 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PeeHaa/9b17473597eef97313b64616c98b6425 to your computer and use it in GitHub Desktop.
Save PeeHaa/9b17473597eef97313b64616c98b6425 to your computer and use it in GitHub Desktop.
Pieter@MSIGL72M7RDX MINGW64 /d/Web/amp-bot/stackoverflow-chat-driver
$ php _test/test.php
string(15) "Login page: 200"
string(14) "Chat page: 200"
string(15) "Get WS url: 200"
string(83) "wss://chat.sockets.stackexchange.com/events/198198/0f69403e771241b5bb93e14835313c69"
Pieter@MSIGL72M7RDX MINGW64 /d/Web/amp-bot/stackoverflow-chat-driver
$ php _test/test.php
string(15) "Login page: 200"
string(14) "Chat page: 200"
string(15) "Get WS url: 200"
string(83) "wss://chat.sockets.stackexchange.com/events/198198/e9d60b1971864a96bec4315351bae05a"
Pieter@MSIGL72M7RDX MINGW64 /d/Web/amp-bot/stackoverflow-chat-driver
$ php _test/test.php
string(15) "Login page: 200"
string(14) "Chat page: 200"
string(15) "Get WS url: 200"
string(83) "wss://chat.sockets.stackexchange.com/events/198198/5f150e0281a142fca78b60c7c80b15bf"
Pieter@MSIGL72M7RDX MINGW64 /d/Web/amp-bot/stackoverflow-chat-driver
$ php _test/test.php
string(15) "Login page: 200"
string(14) "Chat page: 200"
string(15) "Get WS url: 404"
PHP Fatal error: Uncaught Exception: Invalid response in D:\Web\amp-bot\stackoverflow-chat-driver\src\Authentication\LogIn.php:122
Stack trace:
#0 [internal function]: AsyncBot\StackOverflowChat\Authentication\LogIn->AsyncBot\StackOverflowChat\Authentication\{closure}()
#1 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(105): Generator->send(Object(Amp\Http\Client\Response))
#2 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Internal\Placeholder.php(130): Amp\Coroutine->Amp\{closure}(NULL, Object(Amp\Http\Client\Response))
#3 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(110): Amp\Coroutine->resolve(Object(Amp\Http\Client\Response))
#4 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Internal\Placeholder.php(130): Amp\Coroutine->Amp\{closure}(NULL, Object(Amp\Http\Client\Response))
#5 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(110): Amp\Coroutine->resolve(Object(Amp\Http\Client\Response))
#6 D:\Web\amp-bot\sta in D:\Web\amp-bot\stackoverflow-chat-driver\src\Authentication\LogIn.php on line 122
Pieter@MSIGL72M7RDX MINGW64 /d/Web/amp-bot/stackoverflow-chat-driver
$ php _test/test.php
string(15) "Login page: 200"
string(14) "Chat page: 200"
string(15) "Get WS url: 404"
PHP Fatal error: Uncaught Exception: Invalid response in D:\Web\amp-bot\stackoverflow-chat-driver\src\Authentication\LogIn.php:122
Stack trace:
#0 [internal function]: AsyncBot\StackOverflowChat\Authentication\LogIn->AsyncBot\StackOverflowChat\Authentication\{closure}()
#1 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(105): Generator->send(Object(Amp\Http\Client\Response))
#2 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Internal\Placeholder.php(130): Amp\Coroutine->Amp\{closure}(NULL, Object(Amp\Http\Client\Response))
#3 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(110): Amp\Coroutine->resolve(Object(Amp\Http\Client\Response))
#4 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Internal\Placeholder.php(130): Amp\Coroutine->Amp\{closure}(NULL, Object(Amp\Http\Client\Response))
#5 D:\Web\amp-bot\stackoverflow-chat-driver\vendor\amphp\amp\lib\Coroutine.php(110): Amp\Coroutine->resolve(Object(Amp\Http\Client\Response))
#6 D:\Web\amp-bot\sta in D:\Web\amp-bot\stackoverflow-chat-driver\src\Authentication\LogIn.php on line 122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment