-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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]: Web-browsing did not return information because fetch failed #3134
Comments
Since we are using If it does, it means the web search provider you have set in the agent tool isn't correct or has the wrong key. |
yeah, both Google and DuckDuckGo didn't work. After I changed the search engine to DuckDuckGo, web-browsing still didn't work properly, but there was a slight change in the errors reported:
but fetch failed reappeared in LMStudio's logs.
|
My network status is able to search on edge and Chrome using Google and DuckDuckGo, and the Google API seems to work properly on curl as well. |
So in the first dump of logs from LMStudio we can see this:
Which is this line in the tool: Which aligns with this AnythingLLM log
Since we get Worth also asking if you are on Proxmox on Windows. No idea why but that setup seems to give infinite problems in various areas of the app when it comes to requests. This would make sense why a browser client or cURL might work but Will add that now and we can debug further once that is in the desktop app. Look for 1.7.4 release |
Yes, I use a VPN and can access Google or DuckDuckGo properly only when I turn on the VPN. but after my testing, AnythingLLM and LMStudio report the same error whether the VPN is turned on or off. Some posts indicate that maybe code network does not go through a VPN. I also found that my VPN (in Global mode) request logs are not showing anything when using web-browsing (while web-scraping is working properly, the request logs show successfully connected sites). So I suspect that the VPN is not actually working for web-browsing. Thanks for the update. I'll keep debugging. |
Ah that most definitely is the root cause then. We simply use |
How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
After I send:
my agent return:
I checked AnythingLLM's logs:
And I don't know what
typeError: fetch failed
and the part after that means in there. I've read https://docs.anythingllm.com/fetch-failed-on-upload and followed the three steps in the article to check, but I'm not sure if this has anything to do with the above reported error.I checked LMStudio's logs:
This seems to indicate that web-browsing is not returning any information. I use Google Search Engine API, and I've tested it on other scenarios on my computer and it does work.
After I changed the search engine to DuckDuckGo, web-browsing still didn't work properly, but there was a slight change in the errors reported:
fecth failed
in AnythingLLM's logs disappeared.but
fetch failed
reappeared in LMStudio's logs.I'm not quite sure how to trace AnythingLLM's fetch failed error, and I don't know why my search engine didn't work with AnythingLLM. Any help appreciated!
Are there known steps to reproduce?
I set LMStudio:llama3.1-8b-instruct-q8_0 as workspace agent LLM provider, and I only turn on Generate & save files to browser and Web Search skills. Letting agent use the web-browsing tool will reproduce this. The rest of the agent functionality is fine.
The text was updated successfully, but these errors were encountered: