mirror of
https://github.com/ParisNeo/ollama_proxy_server.git
synced 2026-01-13 14:18:00 -05:00
More verbose errors/logs? #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MarcoMeter on 7/23/2024
Hi! Thanks for making this available!
I'm currently debugging this issue:
curl: (52) Empty reply from server, which is the response from running the example:curl -X POST -H "Authorization: Bearer user1:key1" http://my_hostname:8080/api/generate --data '{'model':'gemma2,'prompt': "Once apon a time,","stream":false,"temperature": 0.3,"max_tokens": 1024}'This is what's logged by the ollama-proxy-server:
[23/Jul/2024 16:47:19] "POST /api/generate HTTP/1.1" - -When checking the logs of the ollama container, there is no incoming traffic.
Originally, I had this working and then it stopped working. Sometimes it only worked from the same server and not from any other machine on WAN. So I fiddled around with binding the ip addresses of the ollama container and adapting the proxy's config.ini.
How could I get a more expressive log of the ollama-proxy-server to get more information to debug this?