-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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]: Custom Proxy Base Url not working #5997
Comments
cc: @ishaan-jaff - i think you have more context on custom base url's |
I think I have the same issue |
I noticed this too. By reading source code, python code has multiple locations where @ishaan-jaff, I can look into it. |
that would be great- can you add testing + tag me on the PR @ma-armenta |
Hi, has there been progress with this issue. Is there any way I can assist? |
@DanielOtter can you provide more info for your build flow? I'm running into issues with this as reported in #7318 |
Well, it has been a few months, but basically, like I have said, I followed the guide in the documentation and set the UI_BASE_PATH in my dockerfile. Then I created a docker image with it and ran it with the environment variable SERVER_ROOT_PATH. What specifically do you want to know about the build flow? In one of my projects several generic paths are already in use like for example /ui, that is why I wanted to change the path. And that is how I noticed quickly that something was wrong, when traffic was not going through the right endpoints. |
@Jflick58 If you look at my Dockerfile in my description of the issue the documentation then mentioned a specific base image: ghcr.io/berriai/litellm:litellm_fwd_server_root_path-dev. I have seen your issue, maybe the silent change to the main image introduced this bug. |
Do you know what version you built off of? |
ghcr.io/berriai/litellm:litellm_fwd_server_root_path-dev refers to version 1.40.3 I think, while the actual version I was trying to build was 1.48.x. |
What happened?
I was trying to deploy litellm with custom proxy base url settings but get requests of /sso and /ui do not append the base url and call the wrong urls. Since I am using a url map in my setup to redirect requests with different base urls to their respective services, these requests go to the void.
I followed the docs and built my image with a slightly edited Dockerfile:
The environment variable of the running container is set to:
SERVER_ROOT_PATH="/litellm"
Relevant log output
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: