Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Testing WS connection on test.mosquito.org

Sorry, that’s a typo in my mail. I’m using test.mosquitto.org. See below my debug trace. You can see that nothing comes back from the CONNECT request, my client has a read timeout which sends a PINGREQ, which gets no answer too.
Also, you can see the binary frame sent to the broker on WS : client >> Frame(fin=True, opcode=2, data="">
I don’t know if there’s a problem with this.

Note that the same test runs fine with TCP connection on port 1883 or 8883.


[2015-08-02 21:22:18,795] {client.py:92} DEBUG - Connect to: ws://test.mosquitto.org:8080/
[2015-08-02 21:22:19,050] {protocol.py:355} DEBUG - client >> Frame(fin=True, opcode=2, data="">
[2015-08-02 21:22:19,050] {handler.py:215} DEBUG - 9f7af4be-b4eb-4f58-8982-45cd543cbb9c -out-> ConnectPacket(fixed=MQTTFixedHeader(type=1, length=48, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0x0, keepalive=9), payload=ConnectVariableHeader(client_id=9f7af4be-b4eb-4f58-8982-45cd543cbb9c, will_topic=None, will_message=None, username=None, password=None))
[2015-08-02 21:22:28,053] {handler.py:192} DEBUG - 9f7af4be-b4eb-4f58-8982-45cd543cbb9c Input stream read timeout
[2015-08-02 21:22:28,054] {handler.py:218} DEBUG - 9f7af4be-b4eb-4f58-8982-45cd543cbb9c Output queue get timeout
[2015-08-02 21:22:28,054] {protocol.py:355} DEBUG - client >> Frame(fin=True, opcode=2, data="">
[2015-08-02 21:22:28,054] {handler.py:215} DEBUG - 9f7af4be-b4eb-4f58-8982-45cd543cbb9c -out-> PingReqPacket(fixed=MQTTFixedHeader(type=12, length=0, flags=0x0), variable=None, payload=None)

Le 2 août 2015 à 21:20, Jan-Piet Mens <jpmens.dns@xxxxxxxxx> a écrit :

tests.mosquito.org in order to test websocket connection.

Is that a typo? It's test.mosquitto.org (singular), and it is currently
accepting Websocket connections on port 8080 for me.

       -JP
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top