Closed SophieBosio closed 7 months ago
Do you need a proxy to connect to the internet? It looks like you copied the example config, which has an invalid proxy defined as an example.
Try removing all those configs and only use the necessary api_key:
[settings]
api_key = [redacted]
That was indeed the issue. I can't believe I commented/uncommented that line so many times without realising I hadn't changed the proxy itself... Thank you for the quick response and for the help!
Hi,
I have a strange issue, where syncrhonisation only happens after I remove the proxy line from my config, then put it back. The issue returns every time I reopen my editor.
Usually, I open my editor and check the
~/.wakatime/wakatime.log
, it informs me heartbeats cannot be sent due to backoff with proxy:I have tried many things to resolve this issue, but the only way I have gotten it to work, is to comment out the proxy line from my
~/.wakatime.cfg
file, delete~/.wakatime/wakatime-internal.cfg
to prompt reconnection, and then uncomment it again.When I have the line uncommented, it tells me heartbeats cannot be sent due to backoff without proxy, which is not so surprising:
But when I uncomment the line again, everything seems to run normally and my metrics sync. However, when I close and reopen my editor, the issue returns.
Here is my
~/.wakatime.cfg
config file. There may very well be an issue here due to a mistake I've made, so I'd appreciate any help!