Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Java client WebSocket exceptions

Hi Kamil,
 
I've submitted a fix for this bug and it should be in the develop branch shortly.
 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=484264
 
I made two changes, firstly I made the WebSocket client fail more gracefully when it gets a response from a server that it is not expecting. I also changed the default ports for WebSocket and WebSocket Secure Clients to the more likely ports of 80 and 443.
 
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Technical Trojan - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: 
Personal Website: www.jsutton.co.uk
Find me on:      
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Kamil Baczkowicz <kamil.baczkowicz@xxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] Java client WebSocket exceptions
Date: Fri, Dec 11, 2015 10:52 PM
 
Hi,

While working on mqtt-spy 0.4.0 beta, I've been testing a snapshot
version of the Paho Java client and the new WebSocket support.

When configured correctly, all looks good.

However, when the wrong port is specified, I keep getting a null
pointer - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=484264 for
more details.

Also, has anyone got any thoughts on what could be the cause of an
"Unexpected error (6)" error at
org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:123)?
I'm getting the impression it might be related to the volume of
messages being received, but I'll try to investigate further.

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

 
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Back to the top