wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.12k stars 163 forks source link

Prevent changing JVM System proxy #232

Open LukasWestholt opened 1 year ago

LukasWestholt commented 1 year ago

Hello everyone!

I have the same problems like #182, but I can't reopen it. I am using the newest version. In my opinion teardownProxy(); is not a solution. If it fails one time, you have set https.proxyHost forever.

There must be a more reasonable way to use requests with proxy in Java (also for plugin programming). I ask you to reconsider this.

alanhamlett commented 1 year ago

Yea, I also would like to avoid changing https.proxyHost if possible. I'll look for another way to do https requests that doesn't need changing the system proxy.

LukasWestholt commented 1 year ago

Thank you!

alanhamlett commented 1 year ago

Release v14.1.1 should improve this, since I found we didn't correctly reset the system proxy if one wasn't previously set.