You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured out that the bot is running in a container and got the ollama module added to the REQUIREMENTS list in the code, so it pip-installed the ollama module into the image, but I'm not able to call the ollama endpoint for some reason from inside of the container. I can write a small piece of code that works locally, but when I move that same code to run inside of the container, it hangs. I'm calling ollama by IP (not using localhost - because I know that localhost is different in a container), so I'm running ollama running on the outside interface, and referencing it by IP, which works locally using a simple python script, but when it's run inside the container, it just hangs. No logs.
Is there something weird about the container that it can't make outbound TCP connections or something?
The text was updated successfully, but these errors were encountered:
I figured out that the bot is running in a container and got the ollama module added to the REQUIREMENTS list in the code, so it pip-installed the ollama module into the image, but I'm not able to call the ollama endpoint for some reason from inside of the container. I can write a small piece of code that works locally, but when I move that same code to run inside of the container, it hangs. I'm calling ollama by IP (not using localhost - because I know that localhost is different in a container), so I'm running ollama running on the outside interface, and referencing it by IP, which works locally using a simple python script, but when it's run inside the container, it just hangs. No logs.
Is there something weird about the container that it can't make outbound TCP connections or something?
The text was updated successfully, but these errors were encountered: