lm-sys / lm-sys/FastChat

"certificate verify failed: self signed certificate in certificate chain" when start chatting

Open
#2,739 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I am trying to starting chat by running the code: `python -m fastchat.serve.cli --model-path lmsys/vicuna-7b-v1.5 --device cpu`

And its gives me an error:
`requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /lmsys/vicuna-7b-v1.5/resolve/main/tokenizer_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1002)')))"), '(Request ID: 493de77f-0947-4fad-a3a5-8ec31c2a1dd1)')`

My environment is win10 and running the command on nodejs
I did try the `strict-ssl=false` and `set NODE_TLS_REJECT_UNAUTHORIZED=0`
but still not working

anyone facing the same problem?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported `python -m fastchat.serve.cli --model-path lmsys/vicuna-7b-v1.5 --device cpu` command on the stated Windows environment and review the complete traceback. Determine whether the certificate failure is caused by the local environment or by FastChat's model-download path; done means identifying a reproducible cause and a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, nodejs, python
Domain
cli, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.