Giter Site home page Giter Site logo

Comments (16)

alanhamlett avatar alanhamlett commented on June 16, 2024

Does the WakaTime status bar item always say offline or sometimes say WakaTime Active?

When is the last time vscode shows in this list of your editors:
https://wakatime.com/api/v1/users/current/user_agents
( Check the last_seen time for vscode )

from vscode-wakatime.

 avatar commented on June 16, 2024

Yes always. the user_agents are empty. So I guess that means it was never online.

from vscode-wakatime.

 avatar commented on June 16, 2024

How is the connection to wakatime implemented? I recently had problems of "apps" trying to use port 443 because Kaspersky disrupted the connection without any feedback or error message.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on June 16, 2024

It makes a https request to remote port 443. Try disabling your firewall and see if that fixes it?

from vscode-wakatime.

 avatar commented on June 16, 2024

I cannot, it is an enterprise solution so I have no control over it.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on June 16, 2024

Can your Administrator add WakaTime to an approved list?

from vscode-wakatime.

 avatar commented on June 16, 2024

I tried that with other apps already, didn't work, we are considering disabling port traffic control.

from vscode-wakatime.

 avatar commented on June 16, 2024

I now get this
image

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on June 16, 2024

That is the Python part of WakaTime (wakatime-cli) now receiving an error connecting to the API. This means your plugin was able to connect to GitHub to download wakatime-cli but then coding activity was not able to be sent to the API.

You should have some more details as to why the connection failed in this file:
C:\Users\stefan.schneider\.wakatime.log

from vscode-wakatime.

 avatar commented on June 16, 2024

Unfortunately the log file is empty

from vscode-wakatime.

bensontrent avatar bensontrent commented on June 16, 2024

I'm behind a company vpn and can only connect via http connections via the command line since the VPN acts as man-in-the-middle the certificate gets rejected.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on June 16, 2024

@bensontrent we can't support http for security reasons, but you could proxy the api requests and change the api_url setting in your ~/.wakatime.cfg file.

If you don't mind your company eavesdropping on your api calls, I can setup a Heroku Deploy button for you that would create a proxy for your api calls using your personal Heroku account. Let me know if this helps.

from vscode-wakatime.

Gobayli avatar Gobayli commented on June 16, 2024

Hi Alan, wanna continue on this discussion. I encounter the same issue with atom-wakatime. And I disabled the SSL verification requirement in waka setting in Atom however, it still always shows wakatime offline. But the it works under my home internet environment. Any advice? Thanks!

from vscode-wakatime.

jeanpaul1304 avatar jeanpaul1304 commented on June 16, 2024

Same problem :/

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on June 16, 2024

What proxy setting are you using in ~/.wakatime.cfg?

from vscode-wakatime.

gandarez avatar gandarez commented on June 16, 2024

Closed due to lack of information.

from vscode-wakatime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.