Uploaded image for project: 'Corda'
  1. CORDA-1414

Node crashes if network map returns HTTP 50X error

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: High
    • Resolution: Done
    • Affects versions: None
    • Fix versions: Corda 3.3
    • Components: None
    • Labels:
      None
    • Affected OS:
      Windows
    • Severity:
      Critical
    • Target Version/s:
    • Feature Team:
      Network Services
    • Sprint:

      Description

      See console dump:

       java.io.IOException: Response Code 502: <html>
      <head><title>502 Bad Gateway</title></head>
      <body bgcolor="white">
      <center><h1>502 Bad Gateway</h1></center>
      <hr><center>nginx/1.10.3 (Ubuntu)</center>
      </body>
      </html>
      
              at net.corda.core.internal.InternalUtils.checkOkResponse(InternalUtils.kt:353) ~[corda-core-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.services.network.NetworkMapClient.getNetworkMap(NetworkMapClient.kt:105) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NetworkParametersReader.retrieveNetworkParameters(NetworkParametersReader.kt:41) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NetworkParametersReader.access$retrieveNetworkParameters(NetworkParametersReader.kt:28) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NetworkParametersReader$networkParameters$2.invoke(NetworkParametersReader.kt:37) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NetworkParametersReader$networkParameters$2.invoke(NetworkParametersReader.kt:28) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:131) ~[kotlin-stdlib-1.2.20.jar:1.2.20-release-81 (1.2.20)]
              at net.corda.node.internal.NetworkParametersReader.getNetworkParameters(NetworkParametersReader.kt) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:220) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.Node.start(Node.kt:373) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.EnterpriseNode.start(EnterpriseNode.kt:171) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NodeStartup.startNode(NodeStartup.kt:157) ~[corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.internal.NodeStartup.run(NodeStartup.kt:131) [corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
              at net.corda.node.Corda.main(Corda.kt:26) [corda-node-R3.CORDA-3.0-DP3-RC04.jar:?]
      

        Attachments

          Activity

            People

            • Assignee:
              Katarzyna.Streich Katarzyna Streich
              Reporter:
              removed32 Former user (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: