Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. CassandraDaemon.main() has thrown an IOException
    Apache Cassandra
    0
    199
    0
  2. HttpURLConnection.getInputStream0() has thrown an IOException
    Java Runtime
    152
    741
    19

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-3rs2g/endpoints/cassandra
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
    at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1466)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1464)
15 frames hidden

Solution

chinthana10 months ago

401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

External results for this pattern (10)

  1. Alexandre Aguiarvia Google Groups1 week ago
    Server returned HTTP response code: 500 for URL: https://bbb1.fla.serpro/bigbluebutton/api/create?name=Demo+Meeting&meetingID=Demo+Meeting&voiceBridge=73120&attendeePW=ap&moderatorPW=mp&isBreakoutRoom=false&record=false&checksum=ddf7b2d30e4656d2bf52527507813e3cd201f491
    Show stack trace
  2. AGithub457via GitHub2 weeks ago
    Server returned HTTP response code: 500 for URL: <hidden for safety>
    Show stack trace
  3. Ashirbadvia GitHub3 weeks ago
    Server returned HTTP response code: 401 for URL: https://saucelabs.com/rest/v1/ashirbad.rout/jobs/4afed92cf5e74b518de481df583461e2/assets/video.mp4
    Show stack trace
  4. kbristowvia GitHub4 weeks ago
    Server returned HTTP response code: 403 for URL: https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip
    Show stack trace
  5. Lobsang1via GitHub4 weeks ago
    Server returned HTTP response code: 503 for URL: https://hastebin.com/documents
    Show stack trace
  6. fbriconvia GitHub1 month ago
    User "openshift-dev" cannot list services in project "php"
    Show stack trace
  7. ghenadiedvia GitHub1 month ago
    Server returned HTTP response code: 503 for URL: http://testng.org/testng-1.0.dtd
    Show stack trace
  8. vanangelovvia GitHub1 month ago
    Server returned HTTP response code: 403 for URL: https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.3/allure-2.3.zip
    Show stack trace
  9. Padrone56via GitHub1 month ago
    Server returned HTTP response code: 429 for URL: https://gitlab.com/p455w0rd/patrons/raw/master/patrons.txt
    Show stack trace
  10. ximbalvia GitHub1 month ago
    Server returned HTTP response code: 429 for URL: https://saucelabs.com/rest/v1/users/<EDITED>
    Show stack trace