ratchetphp / Ratchet

Asynchronous WebSocket server
http://socketo.me
MIT License
6.28k stars 743 forks source link

SSL_PROTOCOL_ERROR - Paying for help! #820

Open masumsar45 opened 4 years ago

masumsar45 commented 4 years ago

error: https://imgur.com/rErYC5u https://imgur.com/lyTWVAH

I have a site @ https://rbx.fun websocket connects and works on localhost, but not on the vps. Will pay for help!

nineff commented 4 years ago

do you have a working SSL connection on your local machine (e.g. using a local CA)? If so your problem probably lies in your webserver configuration. If not, try locally first and test your code there.

masumsar45 commented 4 years ago

do you have a working SSL connection on your local machine (e.g. using a local CA)? If so your problem probably lies in your webserver configuration. If not, try locally first and test your code there.

it works on http, but on https it has an SSL validation error. am i supposed to give the php websocket file a certificate?

masumsar45 commented 4 years ago

note: yes, https shows the lock icon and says 'secure'

nineff commented 4 years ago

do you have a working SSL connection on your local machine (e.g. using a local CA)? If so your problem probably lies in your webserver configuration. If not, try locally first and test your code there.

it works on http, but on https it has an SSL validation error. am i supposed to give the php websocket file a certificate?

yes, this is required. Getting SSL to work properly is a common issue. See #799 and especially #489 for more discussions about SSL. You can also try to put a reverse proxy (Nginx, HAProxy, Varnish) in front of your web server and WebSocket server and handle the SSL there.

masumsar45 commented 4 years ago

do you have a working SSL connection on your local machine (e.g. using a local CA)? If so your problem probably lies in your webserver configuration. If not, try locally first and test your code there.

it works on http, but on https it has an SSL validation error. am i supposed to give the php websocket file a certificate?

yes, this is required. Getting SSL to work properly is a common issue. See #799 and especially #489 for more discussions about SSL. You can also try to put a reverse proxy (Nginx, HAProxy, Varnish) in front of your web server and WebSocket server and hadnle the SSL there.

can I pay you $50 to enable it for me? i am clueless

nineff commented 4 years ago

Github is not the best place to look for paid help, but I'm sure there are legitimate freelancers etc out there offering such services.

masumsar45 commented 4 years ago

Github is not the best place to look for paid help, but I'm sure there are legitimate freelancers etc out there offering such services.

ive had a look and nobody knows what ratchet is. maybe you can help and then i TIP 50$ completely unrelated?

akramg478 commented 4 years ago

Github is not the best place to look for paid help, but I'm sure there are legitimate freelancers etc out there offering such services.

ive had a look and nobody knows what ratchet is. maybe you can help and then i TIP 50$ completely unrelated?

were you able to make it work ??? Bro I am facing exact same error now :(