Open ghost opened 6 years ago
me too...
me too the dependency version do not have the function any more dependency groupId io.netty artifactId netty-transport version 4.1.5.Final dependency
Same issue when upgrading from 1.7.12 to 1.7.13
package eroor @jinny76
Try this way, @jinny76 :
<dependency>
<groupId>com.corundumstudio.socketio</groupId>
<artifactId>netty-socketio</artifactId>
<version>1.7.13</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>4.1.15.Final</version>
</dependency>
I add
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>4.1.15.Final</version>
</dependency>
it is work! but a warning occur:
Found Netty's native epoll transport in the classpath, but epoll is not available. Using NIO instead.
that means netty need linux native driver(I run on linux), but can not found
then I add
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.1.15.Final</version>
<classifier>linux-x86_64</classifier>
</dependency>
that work ok
Seems like this error is connected with invalid async-http-client version. In my case this answer helped: https://github.com/kamon-io/kamon-influxdb/issues/11#issuecomment-326270128 Try to fix it with:
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>2.0.35</version>
</dependency>
env
I ran
ChatLauncher
in mrniko/netty-socketio-dem withnetty-socketio:1.7.13
, while it failed to start server.error log