Skip to content
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

[Bug] [llama3] error on sync to elastic #1667

Closed
3 of 15 tasks
neulf opened this issue Jun 25, 2024 · 7 comments
Closed
3 of 15 tasks

[Bug] [llama3] error on sync to elastic #1667

neulf opened this issue Jun 25, 2024 · 7 comments
Labels
bug Something isn't working stale Waiting for reply

Comments

@neulf
Copy link

neulf commented Jun 25, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

CPU

Models information

LLM_MODEL=ollama_proxyllm
PROXY_SERVER_URL=http://192.168.68.71:30434/
PROXYLLM_BACKEND="llama3"
PROXY_API_KEY=not_used

EMBEDDING_MODEL=proxy_ollama
proxy_ollama_proxy_server_url=http://127.0.0.1:11434/
proxy_ollama_proxy_backend="nomic-embed-text:latest"

VECTOR_STORE_TYPE=ElasticSearch
ElasticSearch_URL=127.0.0.1
ElasticSearch_PORT=9200
ElasticSearch_USERNAME=elastic
ElasticSearch_PASSWORD=i=+iLw9y0Jduq86XTi6W

What happened

2024-06-25 17:32:11 dbgpt elastic_transport.transport[3620] WARNING Retrying request after failure (attempt 2 of 3)
Traceback (most recent call last):
File "/home/yhp/anaconda3/envs/dbgpt_env/lib/python3.10/site-packages/elastic_transport/_transport.py", line 342, in perform_request
resp = node.perform_request(
File "/home/yhp/anaconda3/envs/dbgpt_env/lib/python3.10/site-packages/elastic_transport/_node/_http_urllib3.py", line 202, in perform_request
raise err from None
elastic_transport.ConnectionError: Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f74d8fcf460>: Failed to establish a new connection: [Errno 111] Connection refused)
2024-06-25 17:32:11 dbgpt elastic_transport.transport[3620] INFO HEAD http://localhost:9200/yhp [status:N/A duration:0.001s]
2024-06-25 17:32:11 dbgpt elastic_transport.node_pool[3620] WARNING Node <Urllib3HttpNode(http://localhost:9200)> has failed for 4 times in a row, putting on 8 second timeout
2024-06-25 17:32:11 dbgpt dbgpt.serve.rag.connector[3620] ERROR connect vector store failed: Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f74d8fecee0>: Failed to establish a new connection: [Errno 111] Connection refused))

What you expected to happen

no errors.

How to reproduce

image

Additional context

Test elastic

image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@neulf neulf added bug Something isn't working Waiting for reply labels Jun 25, 2024
@Aries-ckt
Copy link
Collaborator

hi @neulf , i guess space storage type you choose FullText type,
set in .env

ELASTICSEARCH_URL=localhost
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=dbgpt

@Carlycjl
Copy link

I got the same problem.
document sync batch error Connection error caused by: ConnectionError(Connection error caused by: ProtocolError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))))

@Aries-ckt
Copy link
Collaborator

@Carlycjl ,how did you set your elastic config?

@Carlycjl
Copy link

Carlycjl commented Jul 1, 2024

@Carlycjl ,how did you set your elastic config? Just follow the document as following.

ELASTICSEARCH_URL=localhost
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=dbgpt

Copy link

This issue has been marked as stale, because it has been over 30 days without any activity.

@github-actions github-actions bot added the stale label Jul 31, 2024
Copy link

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

@Viserion-nlper
Copy link

我遇到了同样地问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Waiting for reply
Projects
None yet
Development

No branches or pull requests

4 participants