Open
Description
Hi, i have issue with current version of Wakatime client app - it can't get thru corporate proxy.
The proxy is running on http://localhost:9000 and other programs seem to respect this setting, however WakaTime replies as follows:
{"caller":"pkg/api/diagnostic.go:28","func":"api.(*Client)","level":"debug","message":"sending diagnostic data to api at https://api.wakatime.com/api/v1/plugins/errors","now":"2022-08-26T09:45:14+02:00","version":"v1.54.0"}
{"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"warning","message":"failed to send diagnostics: failed to send diagnostics to the API: failed making request to \"https://api.wakatime.com/api/v1/plugins/errors\": Post \"https://api.wakatime.com/api/v1/plugins/errors\": proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.","now":"2022-08-26T09:45:14+02:00","version":"v1.54.0"}
I'm not sure if you are verifying somehow the proxy address in the new version, but it's not working as it should. It was working with python version.
Issue is remotely related to wakatime/jetbrains-wakatime#127 but this time i checked deeper - trying the cli.