[GH-ISSUE #2114] [BUG]: agent failed to get page links from vpc network #1376

Closed
opened 2026-02-22 18:24:30 -05:00 by yindo · 1 comment
Owner

Originally created by @shaozhijian2008 on GitHub (Aug 14, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2114

How are you running AnythingLLM?

Not listed

What happened?

AnythingLLM was deployed in k3s environment and works well thanks for this manifest.

When come to using agent with web-scraping tool,it's ok with normal website, but it's error with vpc network website.
this vpc website can be access inside AnythingLLM pod exec with curl tool.

error msg is like this:
[collector] error: Failed to get page links from http://xx.xx.xx/. TimeoutError: Navigation timeout of 180000 ms exceeded
at new Deferred (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:23:34)
at Deferred.create (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:65:16)
at new LifecycleWatcher (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:72:46)
at CdpFrame.goto (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:138:29)
at CdpFrame. (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:104:27)
at CdpPage.goto (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:568:43)
at PuppeteerWebBaseLoader._scrape (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:49:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PuppeteerWebBaseLoader.load (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:74:22)
at async getPageLinks (/app/collector/utils/extensions/WebsiteDepth/index.js:51:18)

Are there known steps to reproduce?

No response

Originally created by @shaozhijian2008 on GitHub (Aug 14, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2114 ### How are you running AnythingLLM? Not listed ### What happened? AnythingLLM was deployed in k3s environment and works well thanks for this [manifest](https://github.com/Mintplex-Labs/anything-llm/blob/master/cloud-deployments/k8/manifest.yaml). When come to using agent with `web-scraping` tool,it's ok with normal website, but it's error with vpc network website. this vpc website can be access inside AnythingLLM pod exec with curl tool. error msg is like this: [collector] error: Failed to get page links from http://xx.xx.xx/. TimeoutError: Navigation timeout of 180000 ms exceeded at new Deferred (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:23:34) at Deferred.create (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:65:16) at new LifecycleWatcher (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:72:46) at CdpFrame.goto (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:138:29) at CdpFrame.<anonymous> (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:104:27) at CdpPage.goto (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:568:43) at PuppeteerWebBaseLoader._scrape (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:49:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async PuppeteerWebBaseLoader.load (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:74:22) at async getPageLinks (/app/collector/utils/extensions/WebsiteDepth/index.js:51:18) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:24:30 -05:00
yindo closed this issue 2026-02-22 18:24:30 -05:00
Author
Owner

@shaozhijian2008 commented on GitHub (Aug 14, 2024):

using web-scraping tool run into another err with self sign website:
[collector] error: getPageContent failed to be fetched by puppeteer - falling back to fetch! Error: net::ERR_CERT_AUTHORITY_INVALID at https://xx.xx.xx/pages/6ec6c0/

@shaozhijian2008 commented on GitHub (Aug 14, 2024): using `web-scraping` tool run into another err with self sign website: [collector] error: getPageContent failed to be fetched by puppeteer - falling back to fetch! Error: net::ERR_CERT_AUTHORITY_INVALID at https://xx.xx.xx/pages/6ec6c0/
yindo changed title from [BUG]: agent failed to get page links from vpc network to [GH-ISSUE #2114] [BUG]: agent failed to get page links from vpc network 2026-06-05 14:40:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1376