-
Notifications
You must be signed in to change notification settings - Fork 809
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
Timeout error problem #813
Comments
@vijayproxima - thanks for raising this issue. It appears that LLMWare is looking for an active Mongo connection on 27017 port, and is not finding it. For a 'no-install' option, you can set the active db to "sqlite", e.g., from llmware.configs import LLMWareConfig LLMWareConfig().set_active_db("sqlite") Please also see Fast Start - Example 1, as well as the instructions in the README under "Data Store Options' Hope this resolves the issue. Please confirm back - and will close out the issue. |
HI Darren, Thanks for your quick turnaround. Problem is resolved and you
can close the ticket.
Warm Regards
-------------------------
*Vijay Jadhav*
Proxima Systems Pvt. Ltd
Pune - 411045
…On Thu, May 30, 2024 at 3:44 PM Darren Oberst ***@***.***> wrote:
@vijayproxima <https://github.com/vijayproxima> - thanks for raising this
issue. It appears that LLMWare is looking for an active Mongo connection on
27017 port, and is not finding it. For a 'no-install' option, you can set
the active db to "sqlite", e.g.,
from llmware.configs import LLMWareConfig
LLMWareConfig().set_active_db("sqlite")
Please also see Fast Start - Example 1
<https://github.com/llmware-ai/llmware/blob/main/fast_start/example-1-create_first_library.py>,
as well as the instructions in the README under "Data Store Options'
Hope this resolves the issue. Please confirm back - and will close out the
issue.
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZEMGNYSSQDZ5GDME6EUP3TZE33YTAVCNFSM6AAAAABIQG7L4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGIZDSMRWHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
HI I am trying to use llmware for the first time and am getting timeout error while creating a new library: lib = Library().create_new_library(library_name="docs")
Exception has occurred: ServerSelectionTimeoutError
localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 66580fdef4b4b76ff04c7e4d, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
Please help. I have done pip install llmware successfully. I am running this code on Linux Ubuntu 22.04 with 32GB RAM.
The text was updated successfully, but these errors were encountered: