-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on request #93
Comments
Does your kimai instance is self-hosted ? If it does, does it use a self-signed certificate ? |
Yes, it's a self hosted kimai installation. BTW, I forgot to mention that the old Kemai version I'm coming from (0.4.0) works without issues. |
Are you able to build/run from source ? |
Yes, I built version 0.9.3 I'm currently testing |
Ok then please comment line 121 of kimaiClient.cpp kemai/src/client/kimaiClient.cpp Line 121 in 77ba26d
Build and try. |
Very well, thanks! I'll try and let you know. |
Thank you. |
So, I've commented out line 121 and built. Here comes the full log:
On the other hand, if I test the old version I've been using so far, everything seems to be working fine. Here come the full log for version 0.4.0:
|
If I try "Refresh Cache" it seems most times the APIs are returing valid data, but still the window is not pupulated:
|
I don't see any reason right now. |
Ufortunately I have checked but my company is not willing to do this for security reasons, I'm sorry. Is there any test I can do that may help? |
I understand. curl -v -X GET "https://myurl.com/api/projects" -H "accept: application/json" -H "X-AUTH-USER: myuser" -H "X-AUTH-TOKEN: mykey" | grep -i "^< location:" |
Here it comes:
|
When Kemai tries to retrieve from the server info about existing Customers, Activities, Projects... most often than not it fails with errors like:
and/or
and/or
etc..
The end result is that it fails to populate the running timesheet window, as in picture below:
I initially thought it was an issue with the kimai server (running Kimai 1.30.5) but, testing the APIs with curl (e.g.)
curl -X GET "https://myurl.com/api/projects" -H "accept: application/json" -H "X-AUTH-USER: myuser" -H "X-AUTH-TOKEN: mykey"
or
curl -X GET "https://myusr.com/api/activities" -H "accept: application/json" -H "X-AUTH-USER: myuser" -H "X-AUTH-TOKEN: mykey"
etc...
it never fails.
May it be an issue with the version of kimai I'm running (not the latest)? I do not think so, since kimai_cmd seems not to be failing.
May it be an issue with some timeout? Is seems not to be the case since with curl the replies come very fast, with no delay at all...
The text was updated successfully, but these errors were encountered: