lmstudio-ai / lmstudio-ai/lms

Network connection failed when downloading a model

Open
#577 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.3k
Forks
460
Avg merge
1h 58m
Merged PRs (30d)
2

Description

Immediately after installation from `curl`, I try to install a model:

```
$ lms get qwen/qwen3-4b-2507

⠦ qwen/qwen3-4b-2507 - Resolving...

⠙ Resolving download plan...
Error: Failed to resolve artifact "qwen/qwen3-4b-2507": Network connection failed
```

The system is running behind ZScaler, though I have the root certificate setup in the system. How to tell `lms` to load the system's root CA certificate?

The system really has access to the Internet just fine.

```
$ ping google.com
PING google.com (142.250.139.138) 56(84) bytes of data.
64 bytes from lcyyzb-in-f138.1e100.net (142.250.139.138): icmp_seq=1 ttl=64 time=1.81 ms
64 bytes from lcyyzb-in-f138.1e100.net (142.250.139.138): icmp_seq=2 ttl=64 time=1.99 ms
64 bytes from lcyyzb-in-f138.1e100.net (142.250.139.138): icmp_seq=3 ttl=64 time=1.54 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.535/1.779/1.993/0.188 ms
```

Contributor guide

Open the contributing guide

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

No file or test is named. First reproduce `lms get qwen/qwen3-4b-2507` behind ZScaler and inspect the CLI's network and certificate configuration; done means the system root CA is honored and the model download resolves successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.