Re: [Dev] [IoTS] Lots of MQTT connection errors after changing the port offset in carbon.xml in IoTS alpha release

2016-10-18 Thread Lakshani Gamage
Hi Zhanwen,

Did you follow all the steps in [1]?

[1]
https://docs.wso2.com/display/IoTS100/Configuring+WSO2+IoTS+with+Port+Offset

Thanks,
Lakshani

On Tue, Oct 18, 2016 at 2:48 PM, 云展智创  wrote:

> Hi all,
>
> I got lots of MQTT errors after changing the port offset in carbon.xml and
> restart the server with IoTS alpha release. The new agent could not connect
> to the IoTS with mqtt using the new offset port.
>
> The errors were:
>
> 1. [2016-10-18 17:11:29,630] ERROR - OAuth2BasedMQTTAuthenticator Error
> on connecting with the validation endpoint.
> org.apache.axis2.AxisFault: Connection refused
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>
> 2. [2016-10-18 17:11:29,684]  INFO - ProtocolProcessor Lost connection
> with client paho952169391265634
> [2016-10-18 17:11:29,684]  WARN - ProtocolProcessor
> MQTTAuthorizationSubject for client ID paho952169391265634 is not removed
> since the entry does not exist
> [2016-10-18 17:11:29,690] ERROR - MQTTAdapterListener MQTT Exception
> occurred when starting listener
> Bad user name or password (4)
> at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.
> createMqttException(ExceptionHelper.java:28)
> at org.eclipse.paho.client.mqttv3.internal.ClientState.
> notifyReceivedAck(ClientState.java:885)
> at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.
> run(CommsReceiver.java:118)
> at java.lang.Thread.run(Thread.java:745)
>
> Anyone knows what happens?
>
> --
> Zhanwen Zhou (Jason)
> +86 13922218435
> zhanwen.z...@smartcloudex.com
> Guangzhou Smart Cloudex Technology Co., Ltd.
> Business: IOT, API Management
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IoTS] Lots of MQTT connection errors after changing the port offset in carbon.xml in IoTS alpha release

2016-10-18 Thread 云展智创
Hi all,

I got lots of MQTT errors after changing the port offset in carbon.xml and 
restart the server with IoTS alpha release. The new agent could not connect to 
the IoTS with mqtt using the new offset port.

The errors were:

1. [2016-10-18 17:11:29,630] ERROR - OAuth2BasedMQTTAuthenticator Error on 
connecting with the validation endpoint.
org.apache.axis2.AxisFault: Connection refused
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

2. [2016-10-18 17:11:29,684]  INFO - ProtocolProcessor Lost connection with 
client paho952169391265634
[2016-10-18 17:11:29,684]  WARN - ProtocolProcessor MQTTAuthorizationSubject 
for client ID paho952169391265634 is not removed since the entry does not exist
[2016-10-18 17:11:29,690] ERROR - MQTTAdapterListener MQTT Exception occurred 
when starting listener
Bad user name or password (4)
at 
org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:28)
at 
org.eclipse.paho.client.mqttv3.internal.ClientState.notifyReceivedAck(ClientState.java:885)
at 
org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:118)
at java.lang.Thread.run(Thread.java:745)

Anyone knows what happens?

--
Zhanwen Zhou (Jason)
+86 13922218435
zhanwen.z...@smartcloudex.com
Guangzhou Smart Cloudex Technology Co., Ltd.
Business: IOT, API Management

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev