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
    306
    0
  2. HttpURLConnection.getInputStream0() has thrown an IOException
    Java Runtime
    152
    742
    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-7fb8v/endpoints/cassandra
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at io.k8s.cassandra.KubernetesSeedProvider.getSeeds(KubernetesSeedProvider.java:132)
4 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. Vladyslav2018via GitHub1 day ago
    Server returned HTTP response code: 403 for URL: https://translate.google.com/
    Show stack trace
  2. alhambravvia GitHub5 days ago
    Server returned HTTP response code: 401 for URL: http://localhost:8080/studio/api/1/services/api/1/repo/sync-from-repo.json
    Show stack trace
  3. demostansvia GitHub5 days ago
    Server returned HTTP response code: 403 for URL: http://download.thinkbroadband.com/100MB.zip
    Show stack trace
  4. 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
  5. AGithub457via GitHub2 weeks ago
    Server returned HTTP response code: 500 for URL: <hidden for safety>
    Show stack trace
  6. 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
  7. kbristowvia GitHub1 month 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
  8. Lobsang1via GitHub1 month ago
    Server returned HTTP response code: 503 for URL: https://hastebin.com/documents
    Show stack trace
  9. fbriconvia GitHub1 month ago
    User "openshift-dev" cannot list services in project "php"
    Show stack trace
  10. ghenadiedvia GitHub1 month ago
    Server returned HTTP response code: 503 for URL: http://testng.org/testng-1.0.dtd
    Show stack trace