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

cannot start new chat after the update #61

Closed
2 tasks done
MirProg opened this issue Mar 25, 2023 · 14 comments
Closed
2 tasks done

cannot start new chat after the update #61

MirProg opened this issue Mar 25, 2023 · 14 comments

Comments

@MirProg
Copy link

MirProg commented Mar 25, 2023

Bug description

the start new chat button is unclickable update the updates made to the repo
Untitled

Steps to reproduce

Start docker
go to http://localhost:8008/

Environment Information

docker v 4.17.1
Windows 11 Pro

Screenshots

Relevant log output

No response

Confirmations

  • I'm running the latest version of the main branch.
  • I checked existing issues to see if this has already been described.
@MirProg MirProg added the bug label Mar 25, 2023
@nsarrazin
Copy link
Member

Looks like your models are not loaded. Did you download one ?

@skyface753
Copy link

same problem. Already downloaded a model with
docker compose exec serge python3 /usr/src/app/api/utils/download.py tokenizer 7B

@MirProg
Copy link
Author

MirProg commented Mar 25, 2023

Looks like your models are not loaded. Did you download one?

yes, I do have the models downloaded, it was working before the update, but now it doesn't. Also, I am unable to run it on my GPU when after installing stuff to run it on GPU

@RahulVivekNair
Copy link

Yeah, I have the same problem

@mrg358
Copy link

mrg358 commented Mar 26, 2023

Same problem. Fresh deploy, latest release. After click to Start New Chat serge throws a 405 Method Not Allowed in log output.
My instance is behind Nginx Proxy Manager. Here is the related log output.

"GET /chat?temp=0.1&top_k=50&max_length=256&top_p=0.95&ctx_length=512&repeat_last_n=64&model=ggml-alpaca-7B-q4_0.bin&n_threads=4&repeat_penalty=1.3&init_prompt=Below+is+an+instruction+that+describes+a+task.+Write+a+response+that+appropriately+completes+the+request.+The+response+must+be+accurate%2C+concise+and+evidence-based+whenever+possible.+A+complete+answer+is+always+ended+by+%5Bend+of+text%5D. HTTP/1.1" 405 Method Not Allowed

@FenarkSEC
Copy link
Contributor

I'm encountering the exact same issue with Nginx as an IngressController in K8S. As soon as I try to put an ingress in front of the serge service (reverse proxy to http://serge:8008) with a TLS certificate I get a 405 Method not allowed.

@include
Copy link

include commented Mar 26, 2023

+1

@voronind-com
Copy link

voronind-com commented Mar 27, 2023

have same issue when using nginx proxy with TLS. direct 8008 access works.
maybe it is related to address name? it expects localhost, but gets whatever proxy is passing.

also I get proxy errors when my service in docker-compose is not called 'serge'.

@nsarrazin
Copy link
Member

Hey everyone! I might have improved the situation with the latest version on main. Can you pull, rebuild and see if it fixed things ?

@dontflipmybits
Copy link

Thanks main works(for me). It's actually the first container build that has worked for me thus far. Worked flawlessly.

@voronind-com
Copy link

@nsarrazin yup, all works fine now. thank you very much! 💛

@FenarkSEC
Copy link
Contributor

FenarkSEC commented Mar 27, 2023

I've just tried with the new released production image, it now works on K8S with a reverse proxy and TLS like a charm !
@nsarrazin I think the issue can be closed :)

@nsarrazin
Copy link
Member

nsarrazin commented Mar 27, 2023

Good to hear, feel free to open it if you have issues again

@include
Copy link

include commented Mar 27, 2023

<3 working :) #FunResumed

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

9 participants