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
rb.init time out, replace httpx with requests, it worked #1207
Comments
Hello @HuipengXu Thanks for reaching out. Could you share a bit more of information about your running environment? |
rubrix[server]==0.11.0, elasticsearch-oss:7.10.2, |
Okay, If I understood, your problem is that you get a timeout error by requesting with I imagine it's working the default timeout behaviour for requests library is to hang until server send the response. What timeout are you setting up? I realized that you have a low connection between server and client, it's not? |
* fix(init): using api sdk wrapper is better * Update src/rubrix/client/rubrix_client.py Co-authored-by: David Fidalgo <david@recogn.ai> * test: fix and add missing tests * fix: update dataset name Co-authored-by: David Fidalgo <david@recogn.ai>
right
I have try to set timeout 200 seconds, but it not worked |
* fix(init): using api sdk wrapper is better * Update src/rubrix/client/rubrix_client.py Co-authored-by: David Fidalgo <david@recogn.ai> * test: fix and add missing tests * fix: update dataset name Co-authored-by: David Fidalgo <david@recogn.ai> (cherry picked from commit 5404b9a)
* fix(init): using api sdk wrapper is better * Update src/rubrix/client/rubrix_client.py Co-authored-by: David Fidalgo <david@recogn.ai> * test: fix and add missing tests * fix: update dataset name Co-authored-by: David Fidalgo <david@recogn.ai> (cherry picked from commit 5404b9a)
Hi @HuipengXu, did you manage to get this work? cc @frascuchon |
@dvsrepo yes |
as above
The text was updated successfully, but these errors were encountered: