-
Notifications
You must be signed in to change notification settings - Fork 63
Description
(Please ensure you are running the latest version of Cloud Cloud IntelliJ with Help > Check for Updates.)
(screenshots are often helpful)
Expected Behavior
Clearly mention in the log the full URL when blocked by the proxy. I guess such things need to be done on the plugin side, not GCP side
Actual Behavior
The problematic URL is not mentioned
WARNING: Connection with streamGenerateChat failed, trace ID: none
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 authenticationrequired"
at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling0(HttpURLConnection.java:2286)
2025-04-08 11:26:46,253 [ 242946] WARN - #com.google.cloud.tools.intellij.analytics.firelog.FirelogHttpSenderBase - Non 200 status code for firelog request: 403
2025-04-08 11:26:46,254 [ 242947] WARN - #com.google.cloud.tools.intellij.analytics.firelog.MetricsLogSchedulerBase - Error getting nextSendWaitMillisResponse. Using default value: 60000 ms.
2025-04-08 11:26:47,782 [ 244475] WARN - #com.google.cloud.tools.intellij.oauth.OauthUserInfoFetcher - Error retrieving user information or profile picture.
javax.imageio.IIOException: Can't get input stream from URL!
at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407)
It is complicated in an enterprise setup to debug issue between URLs that goes directly to GCP and the one that goes directly to proxy but blocked because not whitelisted.
In general we know when an URL is not whitelisted because we got the following pop up windows but we don't know for which URLs
If there is a better way in Pycharm to get such info, I will be happy to know
Additional Information
- IDE type (e.g. IntelliJ, Pycharm): Pycharm (remote)
- IDE version: 2024.3.5
- Cloud Code version (Settings > Plugins > Cloud Code): 1.12.1-243
- Operating System: Ubuntu 22.04.5 LTS
Feel free to deviate from this template as needed, especially if you are submitting a feature request.
