You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -vvv http://localhost:8080/metrics it crashes with
Fatal error: tried to decode as type SocketChannel but found SocketChannel with contents other(SocketChannel { selectable = BaseSocket { fd=17 } , localAddress = Optional([IPv4]127.0.0.1/127.0.0.1:8080), remoteAddress = Optional([IPv4]127.0.0.1/127.0.0.1:34768) }): file /home/ubuntu/SERVER/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift, line 197
Fatal error: tried to decode as type SocketChannel but found SocketChannel with contents other(SocketChannel { selectable = BaseSocket { fd=17 } , localAddress = Optional([IPv4]172.31.45.139/172.31.45.139:9000), remoteAddress = Optional([IPv4]172.31.7.130/172.31.7.130:1868) }): file /home/ubuntu/SERVER/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift, line 197
The text was updated successfully, but these errors were encountered:
when I call
curl -vvv http://localhost:8080/metrics
it crashes withFatal error: tried to decode as type SocketChannel but found SocketChannel with contents other(SocketChannel { selectable = BaseSocket { fd=17 } , localAddress = Optional([IPv4]127.0.0.1/127.0.0.1:8080), remoteAddress = Optional([IPv4]127.0.0.1/127.0.0.1:34768) }): file /home/ubuntu/SERVER/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift, line 197
if I start server on different port and host
/home/ubuntu/SERVER/.build/debug/Run serve --hostname=0.0.0.0 --port=9000
It crashes on launch
The text was updated successfully, but these errors were encountered: