-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Starting server V2 results in "Address already in use" error, when its not in use. #716
Comments
Have you also tried it with |
I did try changing port to a few random ones, with no luck, before i posted, however i did not try specifying the listen address as well. Adding that did help ( went with 0.0.0.0 as i want this to be visible on another machine, it runs headless ). Not required in v1 server as that 'just works', but hey, if that is just the way v2 works now, as long as its documented somewhere eventually.... i do suspect this is still a bug, since the previous release ( 0.9.0 ) didn't need this and i didn't see it documented ( yet at least ). thanks for the suggestion. |
So this is how it's documented on the help (--help):
The problem is that as I see the code, this is definitely not what is actually happening. The default seems to be:
But anyway, this does not explain the exact error what you have. |
Oh, i didn't mean the parameter wasn't documented, that it wasn't documented that it was required to do so when using v2 server. And yes i am sure nothing else was running that was listening on that port. When it first failed i also tried other random ports just to see if v2 didn't like the 'default' port for some odd reason. Besides, if there was something else that had taken that port already, v1 server should have crashed with the same result. But with specifying the address, it works.. so its not totally broke... just not 'right'. (oh and going back to 0.9.0 it still works like before.. i did that too, just to be sure it was a 0.9.1 v2 thing and nothing else was at play ) |
Had a few spare minutes, built a vm to test. same result, but same workaround works. If its just me for some strange reason, sorry about that. |
Contact Details
No response
What happened?
Latest release on github. If i try to start with "--server --v2" it throws error "127.0.0.1:8080: Address already in use"
Port is not in use. Using default v1 server works fine. Tried changing the port on the command line, still same result, just shows the 'new' port and claims its in use.
v2 server worked fine for me on the previous release and i prefer it over the v1 server. But i do realize its still in development.
This happens both via the 'standalone' executable, as well as if i do a 'convert' of a GGUF into a single file.
Debian Linux. Latest updates of this week.
Version
llamafile-0.9.1
What operating system are you seeing the problem on?
Linux
Relevant log output
The text was updated successfully, but these errors were encountered: