jetbrains-wakatime icon indicating copy to clipboard operation
jetbrains-wakatime copied to clipboard

Prevent changing JVM System proxy

Open LukasWestholt opened this issue 2 years ago • 3 comments

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.

LukasWestholt avatar Aug 23 '22 09:08 LukasWestholt

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.

alanhamlett avatar Aug 23 '22 10:08 alanhamlett

Thank you!

LukasWestholt avatar Aug 23 '22 17:08 LukasWestholt

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

alanhamlett avatar Sep 09 '22 10:09 alanhamlett