Tls: first record does not look like a TLS handshake

I ran two services on my VPS protected by Cloudflare.
a website that is served by Nginx in docker and using SSL keys I generated with Origin Certificates in Cloudflare and added it to my Nginx container.

website works fine. but I have a v2ray proxy that uses exact SSL keys but when I try to connect to my v2ray server v2ray client logging this error:
common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://mywebsite:8080/ws): > tls: first record does not look like a TLS handshake] > common/retry: all retry attempts failed.
I tried all SSL/TLS encryption mode and get same error.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.