getmetal / motorhead

🧠 Motorhead is a memory and information retrieval server for LLMs.
https://getmetal.io
Apache License 2.0
846 stars 79 forks source link

Erro deploying this container #39

Closed ade5791 closed 1 year ago

ade5791 commented 1 year ago

[2023-04-24T02:25:18Z INFO motorhead] Starting Motörhead 🤘 thread 'main' panicked at 'called Result::unwrap() on an Err value: can't connect with TLS, the feature is not enabled', src/main.rs:30:48 stack backtrace:

ade5791 commented 1 year ago

This is the error log from railway

Czechh commented 1 year ago

Do you have it connected to a redis instance with redisearch ? I'm curious if you got that to work first.

ade5791 commented 1 year ago

How do you go about connecting to redisearch. I have it connected to the redis provided by Railway and I have also tried the redis from Heroku.

Czechh commented 1 year ago

https://github.com/RediSearch/RediSearch#trying-redisearch

Container image: $ docker run -p 6379:6379 redis/redis-stack-server:latest

Or you can try redis cloud (they have a free tier)

ade5791 commented 1 year ago

Okay, after setting up the Redis search what info do I need from redis search to set up Motorhead in Railway? the URL, username, and Password?

Czechh commented 1 year ago

yes

ade5791 commented 1 year ago

image image image

ade5791 commented 1 year ago

using these credentials from redis search and still the deployment is failing in Railway. Could we connect via discord to discuss this?

ade5791 commented 1 year ago

getting this error. note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace. [2023-04-26T21:55:26Z INFO motorhead] Starting Motörhead 🤘 thread 'main' panicked at 'called Result::unwrap() on an Err value: Redis URL did not parse', src/main.rs:30:48 stack backtrace: 0: rust_begin_unwind at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5

ade5791 commented 1 year ago

image I was able to enter the correct redis URL but then I am not seeing any indication that the motorhead is running.

Czechh commented 1 year ago

@ade5791 happy to connect on discord. Feel free to ping me! It looks like it's working!