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

Failed on latest tag #14

Open
adhiemsumitro opened this issue Jan 18, 2018 · 2 comments
Open

Failed on latest tag #14

adhiemsumitro opened this issue Jan 18, 2018 · 2 comments

Comments

@adhiemsumitro
Copy link

I try to install the latest 0.2.0
but it gave me errors :

PHP Fatal error: Uncaught InvalidArgumentException: Invalid URI "tcp://127.0.0.1" given in /home/andiadh/wamppost/vendor/react/socket/src/TcpServer.php:149

Stack trace:
#0 /home/andiadh/wamppost/vendor/react/socket/src/Server.php(35): React\Socket\TcpServer->__construct('tcp://127.0.0.1', Object(React\EventLoop\StreamSelectLoop), Array)

#1 /home/andiadh/wamppost/vendor/voryx/wamppost/src/WampPost/WampPost.php(26): React\Socket\Server->__construct('127.0.0.1', Object(React\EventLoop\StreamSelectLoop))

#2 /home/andiadh/wamppost/wamppost.php(5): WampPost\WampPost->__construct('realm1', Object(React\EventLoop\StreamSelectLoop), '127.0.0.1', 8181)

#3 {main}
thrown in /home/andiadh/wamppost/vendor/react/socket/src/TcpServer.php on line 149

I then revert downloading 0.1.5 and everything goes well
Please advice

@icorreacm
Copy link

If you are using the example in README, you must change line 13 to:

$wp = new WampPost(WS_REALM, $router->getLoop(), 'tcp://127.0.0.1:8181');

pass IP and PORT in one parameter

1 similar comment
@icorreacm
Copy link

If you are using the example in README, you must change line 13 to:

$wp = new WampPost(WS_REALM, $router->getLoop(), 'tcp://127.0.0.1:8181');

pass IP and PORT in one parameter

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

No branches or pull requests

2 participants