java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-5rnjf/endpoints/cassandra

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

,

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.

Solutions on the web

via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-664l8/endpoints/cassandra
via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-0t5md/endpoints/cassandra
via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-n16b0/endpoints/cassandra
via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-15l8x/endpoints/cassandra
via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-kj3gd/endpoints/cassandra
via GitHub by k8s-merge-robot
, 11 months ago
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-7fb8v/endpoints/cassandra
java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-5rnjf/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 io.k8s.cassandra.KubernetesSeedProvider.getSeeds(KubernetesSeedProvider.java:132)
at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:784)
at org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:125)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:576)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:730)

Users with the same issue

Once, 2 weeks ago
2 times, 3 months ago
Once, 4 months ago
4 times, 4 months ago
Once, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.