-
Notifications
You must be signed in to change notification settings - Fork 13.3k
can't connect to wss:// protocol #1442
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
Comments
Is the host "example" alive and dns resolvable on your network ? |
Try replacing |
you need the staring or git version of the ESP core |
Thanks, its compiling now. But i still can't connect. In method webSocket.beginSSL should i write webSocket.beginSSL("wss://adress/device") or just webSocket.beginSSL("adress/device")? Defualt port is 443? |
Do u know any test SSL server with can i test this program? |
When i am trying to connect echo.websocket.org i get an exception: please start sntp first ! |
This isn't an exception, just a debug message from the SDK. You can safely If you are really getting an exception, it is likely unrelated to this On Sat, Jan 16, 2016, 22:27 qblacksheep notifications@github.com wrote:
|
. In method webSocket.beginSSL should i write webSocket.beginSSL("wss://echo.websocket.org") or just webSocket.beginSSL("echo.websocket.org")? |
|
see: #1375 |
Do you know any test SSL server with path where i can test websockets? i can't connect with my server maybe couse i have wss://webrouter.server/path. What do you think? |
|
normally not. |
the server returns 503 header so its a server problem, check the server logs. |
Thanks a lot! :) |
Did someone try to send and get ws from server on herokuapp.com? I can easily send and recive data on server which standing on local web but when i trying to connect to this same server standing on herokuapp.com its returns 503. |
from server which i CAN connect i recive header connection:upgrade, from server which i CAN'T connect i recive header connection:keep-alive. How to change it? maybe there is a problem. |
the server not accepts the WebSocket connection, |
I use Netty deployed on Heroku. Server logs are: When I run server locally on Tomcat, it works fine |
the Server seams to not accept this. |
Its working now. Thanks a lot!! |
It would be nice to have option to not include this header. Look at netty implementation http://netty.io/3.6/xref/org/jboss/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.html |
Hello All, webSocket.beginSSL("YYYYYYYYYYYYYYYYYYYYYYYYY", 443, "/UUUUUUUUUUUUU"); in the loop() even though it fails silently without notification. I am in the last phase of the project with a big issue.Please throw some light. |
hey there, I'm having exactly the same issue. I seem to be unable of removing the line of code that its emitting the Arduino protocol. Here is what I'm getting: [WS-Client][sendHeader] sending header... [write] n: 249 t: 125964 here are the logs for the nginx whicih is running as a reverse proxy server: [29/Mar/2019:06:15:47 +0000] "GET /chat HTTP/1.1" 502 182 "-" "arduino-WebSocket-Client" and the error.log file: upstream prematurely closed connection while reading response header from upstream, request: "GET /chat HTTP/1.1" my theory so far is that the upstream nodejs server is returning a 502 bad request due to the Sec-WebSocket-Protocol: arduino sent. I would appreciate if you could give me some advice. |
how did you removed the Sec-WebSocket-Protocol: arduino? |
I'm having the same issue but I'm unable to remove it. does it have an option to disable it? or which line should I remove? I'm using latest version so perhaps it changed. |
Hello,
at first i would like to say, im just started with ESP8266. I tried simple program form github:
https://github.com/morrissinger/ESP8266-Websocket/blob/master/examples/WebSocketClient_Demo/WebSocketClient_Demo.ino
When i am connecting with echo.websocket.org its working fine, i can send and read data from server. But i cant connect with server whose adress is: wss://example/device. Does anyone know the solution of this problem?
Thanks for help
Sorry for my english
The text was updated successfully, but these errors were encountered: