-
Notifications
You must be signed in to change notification settings - Fork 4
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
Catch and report API timeout #34
Comments
Thanks for reporting. Could you please try wikibase-cli instead? |
Thanks for suggestion. Although I prefer |
Hello, I received this error and I think it is due to timeout |
@versant2612 this indeed seems very similar to what I am getting:
Do you get your error by using |
@merkys using wdq. |
And I have another case that I didn't receive any error using wdq (it seems that there were no results because the header was printed) but the query timeout when execute in WDQS PREFIX prov: http://www.w3.org/ns/prov# SELECT ?referrer (count( ?ref) as ?ref_per_ref) |
This seems easy to fix, if the wish is to get a proper error message only, which would be sufficient to me. @nichtich would you accept a PR if I create one? |
For some queries the server timeouts, but
wdq
dies with rather obscure message about failure to parse JSON. Failcase:It would be great if
wdq
could check for the HTTP return status (I believe server-side timeouts should set a proper one) and report it back to the user.The text was updated successfully, but these errors were encountered: