-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Caused by: java.net.SocketTimeoutException: Read timed out #1250
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
For the time being, you can customise the timeout by defining a In the future, it should be possible to have a more specific way to configure timeouts for the Spring AI Clients (see: #512). |
thanks |
I am facing this issue com.google.api.gax.rpc.UnknownException: java.net.SocketTimeoutException: Read timed out How did you manage to solve it , it is pointing to rpc instead of using the property spring.ai.vertex.ai.gemini.transport=rest Please help ?? |
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create.
If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:
Bug description
A clear and concise description of what the bug is about.
When I use the OllamaChatModel, a timeout error occurs
at NioSocketImpl
How to configure timeout?
Environment
Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
Steps to reproduce
Steps to reproduce the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Minimal Complete Reproducible example
Please provide a failing test or a minimal complete verifiable example that reproduces the issue.
Bug reports that are reproducible will take priority in resolution over reports that are not reproducible.
The text was updated successfully, but these errors were encountered: