java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-smpjf/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-j0fk3/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-xmx8q/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-5djcp/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-nwd6c/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-5llgh/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-b5dcb/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-smpjf/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)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1463)
at io.k8s.cassandra.KubernetesSeedProvider.getSeeds(KubernetesSeedProvider.java:132)
at org.apache.cassandra.config.DatabaseDescriptor.getSeeds(DatabaseDescriptor.java:1475)
at org.apache.cassandra.gms.Gossiper.buildSeedsList(Gossiper.java:1402)
at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1347)
at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:484)
at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:778)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:648)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:548)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:385)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601)
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.