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

Server not start #414

Open
Systemcheck opened this issue Jul 2, 2020 · 2 comments
Open

Server not start #414

Systemcheck opened this issue Jul 2, 2020 · 2 comments
Labels

Comments

@Systemcheck
Copy link

Hello,

im following the steps to run this websocket server.

  1. composer require is aborting because wrong php version, ok updated.
  2. the config file was not created, manually added
  3. try to start the server. i get no message, no error and no success message.
    and in console i get: autobahn.min.js:62 WebSocket connection to 'wss://127.0.0.1:8080/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

What kind of error can it be?

@mbabker
Copy link
Contributor

mbabker commented Jul 2, 2020

For 2, there isn’t a recipe that Symfony Flex applies (I tried to create one before but was having an issue building a useful enough config file that worked for all versions, I might try to redo it just for 3.0 and newer).

For 3, you’re using the WSS protocol; does your server support HTTPS? If not, change it to WS.

@Systemcheck
Copy link
Author

Systemcheck commented Jul 3, 2020

Ok 2 is understanding and not really a problem. The handmade config file or adding params in framework.yaml work both.

For 3. yes, the server accept temporarly only https. chnage to ws results in same error:
autobahn.min.js:62 WebSocket connection to 'ws://127.0.0.1:8080/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

i think the server is not really starting. is there a way to check out the status?
nginx proxy is enabled.

if anyone looking for change php Version in ssh cli: export PATH=/opt/plesk/php/7.4/bin:$PATH; thats worked for me

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

2 participants