java.io.IOException: Server returned HTTP response code: 401 for URL: https://addr:9090/nifi-api/controller

Stack Overflow | Frankie | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting data from Nifi to spark streaming

    Stack Overflow | 7 months ago | Frankie
    java.io.IOException: Server returned HTTP response code: 401 for URL: https://addr:9090/nifi-api/controller
  2. 0

    API rate limit error in using org.kohsuke.github.GHUserSearchBuilder

    Stack Overflow | 1 year ago | Алексей Семенов
    java.lang.Error: java.io.IOException: {"message":"API rate limit exceeded for alexey-semenov.","documentation_url":"https://developer.github.com/v3/#rate-limiting"}
  3. 0

    Server returned HTTP response code: 400 for URL: https://gcm-http.googleapis.com/gcm/send

    Stack Overflow | 11 months ago | Marcel
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://gcm-http.googleapis.com/gcm/send
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GCM is not working for to many device tokens ( > 800 )

    Stack Overflow | 4 years ago | Madhu
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://android.googleapis.com/gcm/send
  6. 0

    Crittercism Curl Script to Java HttpUrlConnection

    Stack Overflow | 2 years ago | Ram
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://developers.crittercism.com/v1.0/token

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Server returned HTTP response code: 401 for URL: https://useomlxd00007.nix.us.kworld.kpmg.com:9090/nifi-api/controller

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0()
    2. Java RT
      HttpsURLConnectionImpl.getResponseCode
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
      2. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
      3. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
      4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
      4 frames
    3. org.apache.nifi
      NiFiReceiver$ReceiveRunnable.run
      1. org.apache.nifi.remote.util.NiFiRestApiUtil.getController(NiFiRestApiUtil.java:66)
      2. org.apache.nifi.remote.client.socket.EndpointConnectionPool.refreshRemoteInfo(EndpointConnectionPool.java:887)
      3. org.apache.nifi.remote.client.socket.EndpointConnectionPool.getPortIdentifier(EndpointConnectionPool.java:874)
      4. org.apache.nifi.remote.client.socket.EndpointConnectionPool.getOutputPortIdentifier(EndpointConnectionPool.java:858)
      5. org.apache.nifi.remote.client.socket.SocketClient.getPortIdentifier(SocketClient.java:81)
      6. org.apache.nifi.remote.client.socket.SocketClient.createTransaction(SocketClient.java:123)
      7. org.apache.nifi.spark.NiFiReceiver$ReceiveRunnable.run(NiFiReceiver.java:149)
      7 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame