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

Unable to use http proxy, only https #224

Closed ImYrS closed 2 years ago

ImYrS commented 2 years ago

Proxy setting may not work as expected.

PyCharm 2022.2 EAP (Professional Edition)
Build #PY-222.3048.9, built on June 16, 2022
Runtime version: 17.0.3+7-b469.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 32768M
Cores: 16
Registry:
    ide.experimental.ui=true
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    some.awesome (1.14)
    one.util.ideaplugin.screenshoter (1.7.1)
    com.wakatime.intellij.plugin (13.1.14)
    com.intellij.zh (222.84)
    izhangzhihao.rainbow.brackets (6.24)
    com.github.copilot (1.1.26.1691)

When I set proxy to http://127.0.0.1:1080 it will try to connect it by https instead of http. Looks like it's also trying to use system proxy, with same issue. Fixed it by downgrade to 13.1.14

MIN-GOL commented 2 years ago

Cool.

alanhamlett commented 2 years ago

Try v14.0.6, exclude *.wakatime.com from your IDE proxy settings, then set your proxy in ~/.wakatime.cfg like:

[settings]
proxy = http://127.0.0.1:1080
ImYrS commented 2 years ago

Fixed, thanks for help.