技术文章 - CS259033
连接服务器无法启动,并在 ThingWorx 连接服务器中出现错误“连接被拒绝:没有更多信息:localhost/127.0.0.1:8080”
已修改: 17-Jan-2022
适用于
- ThingWorx Connection Server 7.1 to 9.2.1
说明
- ThingWorx 连接服务器无法启动并出现错误
[main] INFO ctfiAbstractManyPlatformWebSocketFabric - 在没有服务发现的情况下启用了许多平台 WebSocket Fabric:endpoints=[ws://localhost:8080/Thingworx/WS] [main] INFO ctsitransport.MuxingBytesChannel - 通道 ws://localhost:8080/Thingworx/WS 中的子通道 ws://localhost:8080/Thingworx/WS-1 不再有效 - 取消注册 [main] INFO ctsitransport.MuxingBytesChannel - 通道 ws://localhost:8080/Thingworx/WS 中的子通道 ws://localhost:8080/Thingworx/WS-2 不再有效 - 取消注册 [main] INFO ctsitransport.MuxingBytesChannel - 通道 ws://localhost:8080/Thingworx/WS 中的子通道 ws://localhost:8080/Thingworx/WS-3 不再有效 - 取消注册 [main] INFO ctsitransport.MuxingBytesChannel - 通道 ws://localhost:8080/Thingworx/WS 中的子通道 ws://localhost:8080/Thingworx/WS-4 不再有效 - 取消注册 [main] INFO ctsitransport.MuxingBytesChannel - 通道 ws://localhost:8080/Thingworx/WS 中的子通道 ws://localhost:8080/Thingworx/WS-5 不再有效 - 取消注册 [main] INFO ctsitransport.MuxingBytesChannel - 需要重新连接客户端端点上的子通道 [id: ws://localhost:8080/Thingworx/WS] : [active: 0, max: 5] [main] INFO ctconnectionserver.PlatformImpl - 启动 ConnectionServer:UUID=ddc16960-3450-4afa-8688-fb11ddc5949c,平台协议=V1,平台传输=WEBSOCKETS [main] INFO ctconnectionserver.PlatformImpl - 等待连接到平台... [NettyClient-NIO-3] 错误 ctsitnetty.NettyBytesChannel - 在通道 com.thingworx.sdk.impl.transport.netty.NettyBytesChannel$2@5547d9a7 上建立 websocket 连接时出错。 java.net.ConnectException:连接被拒绝:没有更多信息:localhost/127.0.0.1:8080 在 sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_121] 在 sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_121] 在 io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224) ~[netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289) ~[netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528) [netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [netty-all-4.0.33.Final.jar:4.0.33.Final] 在 io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [netty-all-4.0.33.Final.jar:4.0.33.Final] 在 java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
这是文章 259033 的 PDF 版本,可能已过期。最新版本 CS259033