Hi,
I noticed that Cloud Debugger API will be shutdown May 31, 2023, so I went to the console and disabled the API for my Google Appengine. No surprise, but I now get an error in my logs. I don't use the Cloud debugger (that I'm aware of), so what is causing the error:
java.io.IOException: Server returned HTTP response code: 403 for URL: https://clouddebugger.googleapis.com/v2/controller/debuggees/register
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at com.google.devtools.cdbg.debuglets.java.GcpHubClient.registerDebuggee(Unknown Source)
None of my Java 11 code or POM, Appengine-web.xml or web.xml reference the API, so not sure what is calling the API. Hope you can help.
Thanks
Tim
Solved! Go to Solution.
It appears to be fixed. I'm guess that Google has done something on their side to stop these error. The API was due to be Deprecated on May 31st, and yesterday I noticed that it has finally been marked as such in the API list. So now when I disable it from my list of APIs in Google Cloud Console GUI, I no longer get the error mentioned above. Strange, but I'm happy as I can now continue to migrate my projects to Java 11.