java.io.IOException: Got response code [401] from server with data <html> <head><title>401 Authorization Required</title></head> <body bgcolor="white"> <center><h1>401 Authorization Required</h1></center> <hr><center>nginx/1.8.0</center> </body> </html>

GitHub | maksimu | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Connecting to protected https server with user name and password

    GitHub | 1 year ago | maksimu
    java.io.IOException: Got response code [401] from server with data <html> <head><title>401 Authorization Required</title></head> <body bgcolor="white"> <center><h1>401 Authorization Required</h1></center> <hr><center>nginx/1.8.0</center> </body> </html>

    Root Cause Analysis

    1. java.io.IOException

      Got response code [401] from server with data <html> <head><title>401 Authorization Required</title></head> <body bgcolor="white"> <center><h1>401 Authorization Required</h1></center> <hr><center>nginx/1.8.0</center> </body> </html>

      at com.internetitem.logback.elasticsearch.writer.ElasticsearchWriter.sendData()
    2. com.internetitem.logback
      AbstractElasticsearchPublisher.run
      1. com.internetitem.logback.elasticsearch.writer.ElasticsearchWriter.sendData(ElasticsearchWriter.java:60)[logback-elasticsearch-appender-1.2.jar!/:na]
      2. com.internetitem.logback.elasticsearch.ElasticsearchOutputAggregator.sendData(ElasticsearchOutputAggregator.java:53)[logback-elasticsearch-appender-1.2.jar!/:na]
      3. com.internetitem.logback.elasticsearch.AbstractElasticsearchPublisher.run(AbstractElasticsearchPublisher.java:140)[logback-elasticsearch-appender-1.2.jar!/:na]
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
      1 frame