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


Samebug tips

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.


6 months ago
Expert tip

Solutions on the web

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-m0ltc/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-l9jp4/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-xmx8q/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-bxvxt/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-l4wd1/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-zv3w8/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-4q6nx/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-57xqq/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-kxf4t/endpoints/cassandra

Solution icon of github
Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1/namespaces/e2e-tests-examples-n16b0/endpoints/cassandra

Stack trace

java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.0.0.1:443/api/v1amespaces/e2e-tests-examples-wzz98/endpoints/cassandra
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)[na:1.8.0_111]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)[na:1.8.0_111]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1466)[na:1.8.0_111]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1464)[na:1.8.0_111]
	at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_111]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)[na:1.8.0_111]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1463)[na:1.8.0_111]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)[na:1.8.0_111]
	at io.k8s.cassandra.KubernetesSeedProvider.getSeeds(KubernetesSeedProvider.java:132)[kubernetes-cassandra.jar:na]
	at org.apache.cassandra.config.DatabaseDescriptor.getSeeds(DatabaseDescriptor.java:1475)[apache-cassandra-3.9.jar:3.9]
	at org.apache.cassandra.service.StorageService.shouldBootstrap(StorageService.java:721)[apache-cassandra-3.9.jar:3.9]
	at org.apache.cassandra.service.StorageService.populateTokenMetadata(StorageService.java:537)[apache-cassandra-3.9.jar:3.9]
	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:331)[apache-cassandra-3.9.jar:3.9]
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601)[apache-cassandra-3.9.jar:3.9]
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:730)[apache-cassandra-3.9.jar:3.9]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
35 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
94 more bugmates