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

There was an error fetching results from Hugging Face, please try again in a little bit #256

Open
hzd2020 opened this issue Dec 17, 2024 · 22 comments

Comments

@hzd2020
Copy link

hzd2020 commented Dec 17, 2024

Use latest version, can't search and download modules from hugging face, hit me as follow:
There was an error fetching results from Hugging Face, please try again in a little bit

How to set lm studio to use http proxy or to set use mirror site? hope in the next version solved

@liuzelei
Copy link

i have the same issue

@CHENCHEN-QB
Copy link

same here

1 similar comment
@hongjic
Copy link

hongjic commented Dec 21, 2024

same here

@bobleer
Copy link

bobleer commented Dec 27, 2024

the same

@vkinger
Copy link

vkinger commented Jan 2, 2025

same problemm

@vkinger
Copy link

vkinger commented Jan 2, 2025

i meet the same problem

@guangxuanliu-leica
Copy link

same here

@yagil
Copy link
Member

yagil commented Jan 9, 2025

Thanks all- for new people commenting please include a screenshot of the full app when you get the issue

@YeohsCode
Copy link

Thanks all- for new people commenting please include a screenshot of the full app when you get the issue

same issue. Here's my screenshot:
image

@BakerAnn92
Copy link

BakerAnn92 commented Jan 19, 2025

same issue
system os: macOS 15.2
lm studio version: 0.3.6

Image

@s-nt-s
Copy link

s-nt-s commented Jan 22, 2025

I have the same issue

@aaaronmiller
Copy link

Experienced this same issue while utilizing a http proxy (connected to the internet via tetherfi on my phone to bypass usage restrictions on normal hotspot connections). Mac Os 15.0 , LM-Studio 0.3.8

Was able to solve issue by utilizing "proxifier" application which succesfully routed the HTTP and HTTPS traffic through the proxy.

@yagil
Copy link
Member

yagil commented Jan 29, 2025

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

@wangchao0502
Copy link

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

it works for me, thanks!

@Louiva2
Copy link

Louiva2 commented Jan 29, 2025

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

Also worked for me, thanks!

@workhardddd
Copy link

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

same issue
system os: windows 11
lm studio version: 0.3.8
it works for me, thanks!

@PrealCent
Copy link

#

system os: windows 11
lm studio version: 0.3.9
it works for me, thanks!

@BakerAnn92
Copy link

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

thanks,it works for me
system os: macOS 15.2

@mrtnebrle
Copy link

When investigating my logs it seemed the bundled python did not have proper executable permissions.

[2025-01-30` 15:47:42.329] [error] [DelayedInitProvider] Error running delayed init: Unbundle dependencies Error: Process error: spawn /Users/myuser/.cache/lm-studio/extensions/backends/vendor/_amphibian/app-mlx-generate-mac-arm64@11/bin/python EACCES
Command: /Users/myuser/.cache/lm-studio/extensions/backends/vendor/_amphibian/app-mlx-generate-mac-arm64@11/bin/python -I /Users/myuser/.cache/lm-studio/extensions/backends/vendor/_amphibian/app-mlx-generate-mac-arm64@11/postinstall.py
Error output: 
    at ChildProcess.<anonymous> (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:25345)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[...]

After performing chmod +x /Users/myuser/.cache/lm-studio/extensions/backends/vendor/_amphibian/cpython3.11-mac-arm64@4/bin/python3.11 the model search was working again, but am unable to perform any actions. This is what I see in the logs with Proxy on or off:

[2025-01-30 15:57:46.721] [error] [LMSInternal][Client=LM Studio][Endpoint=quickSearchOne] Error in RPC handler: TypeError: fetch failed
    at node:internal/deps/undici/undici:13185:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _0xeb9a89 (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:1:706944)
    at async _0x3443ae.HuggingFaceHubProvider.search (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:46170)
    at async _0x4649ec.<computed>.quickSearchOne (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:63968)
    at async Object.handler (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:106:45665)

@yagil
Copy link
Member

yagil commented Feb 2, 2025

@mrtnebrle your issue is different. This should fix it for you: #294 (comment)

@mrtnebrle
Copy link

@mrtnebrle your issue is different. This should fix it for you: #294 (comment)

Fresh install, no ./cache, fresh copy to /Applications - model search returns results, but any click on a model to download results in the below ...

[2025-02-01 19:42:43.418] [error] [LMSInternal][Client=LM Studio][Endpoint=quickSearchOne] Error in RPC handler: TypeError: fetch failed
    at node:internal/deps/undici/undici:13185:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _0xeb9a89 (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:1:706944)
    at async _0x3443ae.HuggingFaceHubProvider.search (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:46170)
    at async _0x4649ec.<computed>.quickSearchOne (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:63968)
    at async Object.handler (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:106:45665)
[2025-02-01 19:42:43.421] [error] [LMSInternal][Client=LM Studio][Endpoint=quickSearchOne] Error in RPC handler: TypeError: fetch failed
    at node:internal/deps/undici/undici:13185:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _0xeb9a89 (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:1:706944)
    at async _0x3443ae.HuggingFaceHubProvider.search (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:46170)
    at async _0x4649ec.<computed>.quickSearchOne (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:63968)
    at async Object.handler (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:106:45665)
[2025-02-01 19:42:57.049] [error] [LMSInternal][Client=LM Studio][Endpoint=quickSearchOne] Error in RPC handler: TypeError: fetch failed
    at node:internal/deps/undici/undici:13185:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _0xeb9a89 (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:1:706944)
    at async _0x3443ae.HuggingFaceHubProvider.search (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:46170)
    at async _0x4649ec.<computed>.quickSearchOne (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:231:63968)
    at async Object.handler (/Applications/LM Studio.app/Contents/Resources/app/.webpack/main/index.js:106:45665)

@jalr4ever
Copy link

We added a new HF proxying feature in 0.3.9 Build 2 (available in beta here) that might solve this problem.

Try this:

  1. Download + install 0.3.9 b2 from here: https://lmstudio.ai/beta-releases, or switch to the beta channel and update in-app
  2. Go to Settings (the ⚙️ bottom right) and enable this:

Image

If you try it, please let me know if it worked or not

Holy crap this button is really quite hidden; why not include it in the chart settings in the top left corner? It works anyhow.

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

No branches or pull requests