Closed jonahbohlmann closed 1 year ago
The error means you don't get a response from your Kimai instance.
1. Make sure the problem is with kimai2-cmd, not with your install
Can you access the api page in your browser? It should be /api/doc
at the end of the url.
You should see the same thing as on the demo page: https://demo.kimai.org/api/doc Login with the demo credentials: https://www.kimai.org/demo/
Other tools are working? Just to make sure it's not a problem with your server install but with clients.
2. If everything is working as expected except for kima2-cmd:
request
package used by this app has options for assigning specific certificates to a call, I guess your cert should be added this way as in the documentation: https://www.npmjs.com/package/request#tlsssl-protocol
It shouldn't be that much work, but I can't test it, also I don't use kimai nowadays, so I won't implement it. If you write it, test it, I would be very happy to accept your PR.
Hi,
I faced the same issue and implemented the required changes: https://github.com/infeeeee/kimai2-cmd/pull/33
Feel free to request changes if you are not happy with it.
closed by #33
Hello,
I have the latest Kimai version with a certificate from internal CA (so untrusted by new devices) which is trusted on my PC.
I use Linux Ubuntu 22.04 as OS.
Installed CLI tool version: 1.3.0
When I try to use this CLI tool, I get this error:
Any idea?