Giter Site home page Giter Site logo

Comments (35)

alanhamlett avatar alanhamlett commented on July 19, 2024 23

Sorry, this was me. 😭 I broke the api key parsing last night, but it's fixed now. The plugin saves your stats and syncs them up the next time the plugin runs (the next time you're typing) so nothing is lost, but still sorry about the frustration it may have caused.

from vscode-wakatime.

will-r-wang avatar will-r-wang commented on July 19, 2024 3

cc Main Issue is: #143.

from vscode-wakatime.

fruitbang avatar fruitbang commented on July 19, 2024 3

process.env['USERPROFILE']

what i need to do if 'process.env['USERPROFILE']' returns 'undefined'?

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024 2

We now force Python to use the same home folder as Vscode in v1.1.8, to better fix this issue.

from vscode-wakatime.

Bailey-1 avatar Bailey-1 commented on July 19, 2024 2

I'm having the same issue with Xcode, VSCode and Vim all on OSX. They were all working great yesterday. Status hasn't seen anything since 9:00pm yesterday.

But at least I'm not the only one.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024 1

Can you manually check to make sure the api_key setting in ~/.wakatime.cfg matches your key at https://wakatime.com/settings?

from vscode-wakatime.

theophilenz avatar theophilenz commented on July 19, 2024 1

No it didn't. I was able to work that out. Thanks a lot. Probably a problem with my $HOME path and my terminal.

from vscode-wakatime.

ClaireBrione avatar ClaireBrione commented on July 19, 2024 1

Same too. It appeared that the api_key disappeared from my ~/.wakatime.cfg and I don't know how this happened, but putting it back didn't solve the problem.

Edit: I'm running SublimeText3. Changed my API key, no effect. In debug mode, wakatime says
{"now": "2020/07/27 13:13:27 +0000", "version": "13.0.7", "plugin": "sublime/3211 sublime-wakatime/9.1.2", "time": 1595848375.887897, "caller": "/home/alienor/.config/sublime-text-3/Packages/WakaTime/packages/wakatime/api.py", "lineno": 330, "file": "/home/alienor/.wakatime.log", "level": "WARNING", "message": "{'response_code': 401, 'response_content': u'{\"error\":\"Unauthorized\"}\\n'}"}

from vscode-wakatime.

NicksIdeaEngine avatar NicksIdeaEngine commented on July 19, 2024 1

I have this problem via vim. I'll disable the plugin until this gets fixed. I haven't updated anything recently, but tried an update once this problem started this morning. Updates didn't resolve it.

from vscode-wakatime.

Juniorpucket avatar Juniorpucket commented on July 19, 2024 1

I think its a general fault cuz i am experiencing the same issue with VSCode.

from vscode-wakatime.

rnapoli avatar rnapoli commented on July 19, 2024 1

Issue fixed for me. Thanks for fixing it quickly !!!

from vscode-wakatime.

theophilenz avatar theophilenz commented on July 19, 2024

Yes. I did check both of them. They are the same.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024

With debug mode on, what is the response code and error message printed in your ~/.wakatime.log file?

I'm not seeing any connection from your IP to our API Servers. A proxy is probably returning a 401 response which is the response code WakaTime uses when the api key is wrong. However, in this case it's probably the proxy needing authentication to connect to the internet.

from vscode-wakatime.

theophilenz avatar theophilenz commented on July 19, 2024

The message:
debug

I couldn't find the log file in $HOME.

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024

From Help -> Toggle Developer Tools, what is printed when your run this in Console:
process.env['USERPROFILE']

Does that match the location of your ~/.wakatime.cfg file?

from vscode-wakatime.

KipchirchirIan avatar KipchirchirIan commented on July 19, 2024

I now have this problem and I can't find any solution online that works. How was this solved @theophilenz ??

from vscode-wakatime.

YazanKhatib avatar YazanKhatib commented on July 19, 2024

I am facing the same issue, It was working before and suddenly broke when I started working today @alanhamlett

from vscode-wakatime.

OlivierJM avatar OlivierJM commented on July 19, 2024

same here, it has been working just fine until today(untouched)

from vscode-wakatime.

tongrow avatar tongrow commented on July 19, 2024

same. I updated api key, but it had no effect

"version": "13.0.7", "plugin": "vscode/1.47.2 vscode-wakatime/4.0.0"

from vscode-wakatime.

adekoyejoakinhanmi avatar adekoyejoakinhanmi commented on July 19, 2024

I'm currently experiencing this and this is the error it's showing:

[WakaTime][ERROR] Error: Command failed: /Users/adekoyejoakinhanmi/.vscode/extensions/wakatime.vscode-wakatime-4.0.0/wakatime-cli/wakatime-cli 
--file /Users/adekoyejoakinhanmi/Documents/dev/Verifi/people-ui/components/Nav/index.js --plugin "vscode/1.47.2 vscode-wakatime/4.0.0" 
--alternate-project people-ui --write

from vscode-wakatime.

Destaq avatar Destaq commented on July 19, 2024

Yup, this has happened to me as well.

from vscode-wakatime.

adelchamas96 avatar adelchamas96 commented on July 19, 2024

yes it's not working for me too i tried generate new api key /reinstall the extension nothing worked. is this a problem with newer vs code version?

from vscode-wakatime.

shxfee avatar shxfee commented on July 19, 2024

+1

from vscode-wakatime.

will-r-wang avatar will-r-wang commented on July 19, 2024

+1 same here. I'm getting [WakaTime] Error 104: Invalid API Key

from vscode-wakatime.

xage93 avatar xage93 commented on July 19, 2024

+1

from vscode-wakatime.

qzmlgfj avatar qzmlgfj commented on July 19, 2024

The same here.
It happened for about 6 hours ago, with[WakaTime][ERROR] Invalid Api Key (104);
And I've got Error: Command failed: c:\Users\Ant\.vscode\extensions\wakatime.vscode-wakatime-4.0.0\wakatime-cli\wakatime-cli.exe --file c:\Users\Ant\Desktop\VSCode\Markdown\MarkDownWork\blog.md --plugin "vscode/1.47.2 vscode-wakatime/4.0.0" --alternate-project MarkDownWork --config C:\Users\Ant\.wakatime.cfg --log-file C:\Users\Ant\.wakatime.log

from vscode-wakatime.

kaka-ruto avatar kaka-ruto commented on July 19, 2024

Me too, on Vim. Looks like a bug invalidated all our keys. But no worries @alanhamlett , it happens 😉

from vscode-wakatime.

venancioavila avatar venancioavila commented on July 19, 2024

Me too, on vs code. @alanhamlett incorrect api key.

from vscode-wakatime.

giancarlopro avatar giancarlopro commented on July 19, 2024

+1

from vscode-wakatime.

dlinkoln avatar dlinkoln commented on July 19, 2024

+1

from vscode-wakatime.

pablohdzvizcarra avatar pablohdzvizcarra commented on July 19, 2024

I have the same problem with the api key

from vscode-wakatime.

rnapoli avatar rnapoli commented on July 19, 2024

+1
My Wakatime was working before and now it's broken.
I get the WakaTime Error - "WakaTime: Invalid Api Key (104); make sure your Api Key is correct!"
I've double-checked my API key and it's perfectly fine.

from vscode-wakatime.

VivekAlhat avatar VivekAlhat commented on July 19, 2024

I am facing the similar problem. I regenerated new key and tried with that but still same problem. It was working fine until yesterday.

from vscode-wakatime.

tubin avatar tubin commented on July 19, 2024

I have the same problem with the api key

from vscode-wakatime.

OlivierJM avatar OlivierJM commented on July 19, 2024

Sorry, this was me. 😭 I broke the api key parsing last night, but it's fixed now. The plugin saves your stats and syncs them up the next time the plugin runs (the next time you're typing) so nothing is lost, but still sorry about the frustration it may have caused.

I can confirm it is resolved. Thank you

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.