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

REST + AdvancedNetworkConfig does not work #14516

olukas opened this Issue Feb 19, 2019 · 0 comments


None yet
2 participants
Copy link

olukas commented Feb 19, 2019

When REST endpoint is configured for the new AdvancedNetworkConfig then REST service is not working.

Following NPE is printed to the HZ log:

[TcpIpConnection] hz._hzInstance_1_dev.IO.thread-in-0 - []:11000 [dev] [3.12-SNAPSHOT] Connection[id=1, />/, qualifier=EndpointQualifier{type='REST'}, endpoint=null, alive=false, type=NONE] closed. Reason: Exception in Connection[id=1, />/, qualifier=EndpointQualifier{type='REST'}, endpoint=null, alive=true, type=NONE], thread=hz._hzInstance_1_dev.IO.thread-in-0
    at ~[?:1.8.0_171]
    at com.hazelcast.internal.networking.nio.NioInboundPipeline.process( ~[classes/:?]
    at com.hazelcast.internal.networking.nio.NioThread.processSelectionKey( [classes/:?]
    at com.hazelcast.internal.networking.nio.NioThread.processSelectionKeys( [classes/:?]
    at com.hazelcast.internal.networking.nio.NioThread.selectLoop( [classes/:?]
    at [classes/:?]

Steps to reproduce:

  1. Add serverSocketConfig.enableAllGroups(); after this line -
  2. Run AdvancedNetworkIntegrationTest and stop it on line
  3. Try REST by curl -X GET -i '' - you will get curl: (56) Recv failure: Connection reset by peer and mentioned above NPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
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.