Silently failed to send my statistics for a week
See original GitHub issueI haven’t visited dashboard for a week or so. And just today I’ve found out that it is empty.
Statusbar shows that WakaTime OK
. Sessions table in .wakatime.db
is empty. Though heartbeats
table is not.
WakaTime log contains the same repeating error for week:
{
"now": "2019/04/30 14:01:39 +0300",
"version": "10.8.2",
"plugin": "sublime/3208 sublime-wakatime/8.3.4",
"time": 1556622067.50238,
"caller": "/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/api.py",
"lineno": 140,
"file": "/Users/***/Library/Application Support/Sublime Text 3/Packages/User/WakaTime.sublime-settings",
"level": "WARNING",
"message": "{'IOError': u'Could not find a suitable TLS CA certificate bundle, invalid path: /Users/***/Applications/NextGIS/Library/Frameworks/openssl.framework/Resources/ssl/certs/cert.pem', 'traceback': 'Traceback (most recent call last):\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/api.py\", line 111, in send_heartbeats\
verify=ssl_verify)\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/sessions.py\", line 555, in post\
return self.request(\\'POST\\', url, data=data, json=json, **kwargs)\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/sessions.py\", line 508, in request\
resp = self.send(prep, **send_kwargs)\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/sessions.py\", line 618, in send\
r = adapter.send(request, **kwargs)\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/adapters.py\", line 407, in send\
self.cert_verify(conn, request.url, verify, cert)\\n File \"/Users/***/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/packages/requests/adapters.py\", line 226, in cert_verify\
\"invalid path: {0}\".format(cert_loc))\\nIOError: Could not find a suitable TLS CA certificate bundle, invalid path: /Users/***/Applications/NextGIS/Library/Frameworks/openssl.framework/Resources/ssl/certs/cert.pem\\n'}"
}
I can trace the reason: I deleted Next GIS just around this time. I have no idea why a certificate from the innards of Next GIS was used by WakaTime, but I guess it has something to do with the configuration of my machine.
Why WakaTime was OK all this time? And how do I fix this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (8 by maintainers)
Top Results From Across the Web
Automated statistics gathering silently fails - Martin Widlake
The only reason it WILL succeed is if the night before the automated job managed to analyse other segments and fewer new ones...
Read more >Why is my EventBridge Rule silently failing every week?
If I run the CodeBuild jobs manually, it works fine, so I don't think it's the job itself. However, one EventBridge Rule runs...
Read more >107 Customer Service Statistics and Facts You Shouldn't Ignore
Check out these 107 customer service statistics and facts about new trends, and reconsider how you approach your customer experience.
Read more >Why Silent Data Errors Are So Hard To Find
Silent data errors (SDEs) are random defects produced in manufacturing, not a design bug or software error. Those defects generate software ...
Read more >Monitoring Silent Data Migration (SDM_MON) – S/4HANA ...
During my execution of silent data migration, I never encountered a situation where SDM migration failure due to errors. But If it happens, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No that’s fine, as long as it’s working for you I don’t want to take up more of your time. I can reproduce this on my end if needed.
I deleted NextGIS immediately after I installed it again (but saved its cert.pem just in case though moved it to another folder). And both Terminal and
pip
work ever since.WakaTime updated silently so when I tried to update it after your letter, it was already 8.3.6. I guess, to check it properly I need to reinstall and delete version of NextGIS that I had before, and downgrade WakaTime.
I could try it if you need this test.