java.io.IOException

Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-6bv6g/endpoints/hazelcast


Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web11652

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-6bv6g/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-kkt6g/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-198hj/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-k8rdx/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-2xv0g/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-lh4m5/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-mfwnk/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-83t0w/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-cgfjf/endpoints/hazelcast

Solution icon of github
Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/e2e-tests-examples-18rxl/endpoints/hazelcast

Stack trace

  • java.io.IOException: Server returned HTTP response code: 403 for URL: https://kubernetes.default.svc.cluster.local/api/v1
  • amespaces/e2e-tests-examples-6bv6g/endpoints/hazelcast at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)[na:1.8.0_92-internal] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)[na:1.8.0_92-internal] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)[na:1.8.0_92-internal] at com.github.pires.hazelcast.HazelcastDiscoveryController.run(HazelcastDiscoveryController.java:118)[classes!/:na] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:782)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:769)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE] at com.github.pires.hazelcast.Application.main(Application.java:28)[classes!/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_92-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_92-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_92-internal] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_92-internal] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[bootstrapper.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[bootstrapper.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[bootstrapper.jar:na] at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)[bootstrapper.jar:na]

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, 11 months ago
35 times, 11 months ago
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
94 more bugmates