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

InvalidURL: Invalid port: ':1]' #298

Closed
KristofPusztai opened this issue Oct 10, 2024 · 1 comment
Closed

InvalidURL: Invalid port: ':1]' #298

KristofPusztai opened this issue Oct 10, 2024 · 1 comment

Comments

@KristofPusztai
Copy link

It seems the httpx dependency requirement is set to be httpx = "^0.27.0", however, when using all versions that satisfy this requirement, I get a InvalidURL: Invalid port: ':1]' error which is easily fixed if I downgrade to httpx==0.23.3 as suggested by this other post which ran into the same issue in the openai client.

I think this dependency requirement should be changed as it seems incompatible out of the box. Or is there perhaps something I'm doing wrong on my end that's making it so that the proper version isn't working? I haven't changed any default settings or ports or anything.

@KristofPusztai
Copy link
Author

nvm, seems it's an issue with httpx and setting no_proxy, hopefully httpx team can get on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant