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

Crash on Linux #6

Open
pankajsoni19 opened this issue Jan 29, 2020 · 0 comments
Open

Crash on Linux #6

pankajsoni19 opened this issue Jan 29, 2020 · 0 comments

Comments

@pankajsoni19
Copy link

when I call

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

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant