Skip to content
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

ERROR NettyMQTTHandler exceptionCaught 108 #404

Closed
CB-IT opened this issue Jun 1, 2018 · 2 comments

Comments

@CB-IT
Copy link

commented Jun 1, 2018

After a while a wanted to upgrade from 0.8 (is working fine) to 0.11

But i do not get it runnig with 0.11 under win10. I also tryed the EmbeddedLauncher Example.

0.8:
final IConfig classPathConfig = new ClasspathConfig(); classPathConfig.setProperty("host", mqttBrokerConfiguration.getBrokerIp()); classPathConfig.setProperty("port", String.valueOf(mqttBrokerConfiguration.getBrokerPort())); classPathConfig.setProperty("websocket_port", String.valueOf(mqttBrokerConfiguration.getBrokerWebsocketPort())); classPathConfig.setProperty("allow_anonymous", "true");

0.11
Properties properties = new Properties(); properties.setProperty("host", mqttBrokerConfiguration.getBrokerIp()); properties.setProperty("port", String.valueOf(mqttBrokerConfiguration.getBrokerPort())); properties.setProperty("websocket_port", String.valueOf(mqttBrokerConfiguration.getBrokerWebsocketPort())); properties.setProperty("allow_anonymous", "true"); IConfig classPathConfig = new MemoryConfig(properties);

both start with:
moquetteBroker = new Server(); final List<? extends InterceptHandler> userHandlers = Arrays.asList(new EventListener()); moquetteBroker.startServer(classPathConfig, userHandlers);

Logging in 0.11 gives me:

ERROR NettyMQTTHandler exceptionCaught 108 - Unexpected exception while processing MQTT message. Closing Netty channel. CId=null

@andsel

This comment has been minimized.

Copy link
Collaborator

commented Jul 19, 2018

You should explain better, because CId = null means client without id. When open an issue specify how to reproduce, do you have a client that connects?

@CB-IT

This comment has been minimized.

Copy link
Author

commented Jul 29, 2018

I did a further test und realized, that the error is related to MQTTLens (a chrome extension). Excuse the report. For me it is workng now.

@CB-IT CB-IT closed this Jul 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.