App Error

Your application server has encountered an error
Server Log
AI AGENT DECISION: AI Agent Initialization - STARTED Executing (default): SELECT "id", "name", "slug", "description", "is_active", "color_hex", "sort_order", "category", "trigger_scope", "authority_level", "insight_provided", "best_gtm_use", "data_last_gathered_date", "created_at", "updated_at" FROM "topics" AS "Topic" WHERE "Topic"."is_active" = true ORDER BY COALESCE("data_last_gathered_date", '1970-01-01'::timestamp) ASC, "Topic"."id" ASC LIMIT 1; Executing (default): UPDATE "topics" SET "data_last_gathered_date"=$1,"updated_at"=$2 WHERE "id" = $3 --------------- Topic: Emerging technology threats to cyber vendors [SCHEDULER] Spawning worker thread: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js [WORKER] Worker started - loading dependencies [WORKER] Dependencies loaded - starting AI agent Gathering latest articles. (node:15407) Warning: Module type of file:///Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js is not specified and it doesn't parse as CommonJS. Reparsing as ES module because module syntax was detected. This incurs a performance overhead. To eliminate this warning, add "type": "module" to /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/package.json. (Use `node --trace-warnings ...` to show where the warning was created) AI AGENT DECISION: AI Agent Initialization - STARTED Executing (default): SELECT "id", "name", "slug", "description", "is_active", "color_hex", "sort_order", "category", "trigger_scope", "authority_level", "insight_provided", "best_gtm_use", "data_last_gathered_date", "created_at", "updated_at" FROM "topics" AS "Topic" WHERE "Topic"."is_active" = true ORDER BY COALESCE("data_last_gathered_date", '1970-01-01'::timestamp) ASC, "Topic"."id" ASC LIMIT 1; Executing (default): UPDATE "topics" SET "data_last_gathered_date"=$1,"updated_at"=$2 WHERE "id" = $3 --------------- Topic: Major cybersecurity conference themes [Token Usage] Prompt: 706, Tool: 1170, Cached: 0, Candidates: 2024, Thoughts: 2760, Total: 6660 [Cost] Input: $0.0006, Output: $0.0120, Total: $0.0125 BILLING INFO. See Gemini API cost at https://aistudio.google.com/usage?timeRange=last-28-days&tab=billing. Log in with empowerpeople.com accunt. Total cost so far: 0.0125228 Last few brackets: [ { start: 0, group: '[' }, { start: 3300, group: ']' } ] Output directory: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output Output directory ensured: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output Writing 5167 characters to: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output/articles_raw_json_before_adding_them_to_db.json ✓ File written successfully: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output/articles_raw_json_before_adding_them_to_db.json (5167 bytes) Articles found before de-duping: 4 seeking to resolve url https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEQm3P39cftqwz19vh6zqYjGSNsmep0BiOUMmhFM8REIiDMRv40e5BQJ_bWfX8GI690AIv32tZ-vPYNYzv_j__dpmOWLwY4XvkBIfMO1rCeN30mIHRB4NOeb3GSl0PT2kwiLX2_LrSZbwTMmH_aWTx_gREG9AkZAkFsIXwne0Ykhuz3P5rNuM3Jfnr8sr5I4hLeWMAn4MIoeBRzptr2z8Z1UP7wvIchMkoEoZyR4QhM3wu-hCvNLF0LegX3IGxyQ5ySdKoFY1iYPA== linkReturnsStatus200: Request successful! Status code: 200 url has been resolved https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEQm3P39cftqwz19vh6zqYjGSNsmep0BiOUMmhFM8REIiDMRv40e5BQJ_bWfX8GI690AIv32tZ-vPYNYzv_j__dpmOWLwY4XvkBIfMO1rCeN30mIHRB4NOeb3GSl0PT2kwiLX2_LrSZbwTMmH_aWTx_gREG9AkZAkFsIXwne0Ykhuz3P5rNuM3Jfnr8sr5I4hLeWMAn4MIoeBRzptr2z8Z1UP7wvIchMkoEoZyR4QhM3wu-hCvNLF0LegX3IGxyQ5ySdKoFY1iYPA== [SCHEDULER] Spawning worker thread: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js [WORKER] Worker started - loading dependencies [WORKER] Dependencies loaded - starting AI agent Gathering latest articles. (node:15407) Warning: Module type of file:///Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js is not specified and it doesn't parse as CommonJS. Reparsing as ES module because module syntax was detected. This incurs a performance overhead. To eliminate this warning, add "type": "module" to /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/package.json. (Use `node --trace-warnings ...` to show where the warning was created) AI AGENT DECISION: AI Agent Initialization - STARTED Executing (default): SELECT "id", "name", "slug", "description", "is_active", "color_hex", "sort_order", "category", "trigger_scope", "authority_level", "insight_provided", "best_gtm_use", "data_last_gathered_date", "created_at", "updated_at" FROM "topics" AS "Topic" WHERE "Topic"."is_active" = true ORDER BY COALESCE("data_last_gathered_date", '1970-01-01'::timestamp) ASC, "Topic"."id" ASC LIMIT 1; Executing (default): UPDATE "topics" SET "data_last_gathered_date"=$1,"updated_at"=$2 WHERE "id" = $3 Total cost so far: 0.0174728 --------------- Topic: Sector-specific cyber summits Seeking alternative URLs - testing URL with title: Week in review: Self-spreading npm malware hits developers, Cisco ... URL: https://www.helpnetsecurity.com/2026/03/01/week-in-review-self-spreading-npm-malware-hits-developers-cisco-sd-wan-0-day-exploited-since-2023/ --- seeking to resolve url https://www.helpnetsecurity.com/2026/03/01/week-in-review-self-spreading-npm-malware-hits-developers-cisco-sd-wan-0-day-exploited-since-2023/ linkReturnsStatus200: Request successful! Status code: 200 url has been resolved https://www.helpnetsecurity.com/2026/03/01/week-in-review-self-spreading-npm-malware-hits-developers-cisco-sd-wan-0-day-exploited-since-2023/ [Token Usage] Prompt: 658, Tool: 1789, Cached: 21, Candidates: 1301, Thoughts: 3150, Total: 6898 [Cost] Input: $0.0007, Output: $0.0111, Total: $0.0119 BILLING INFO. See Gemini API cost at https://aistudio.google.com/usage?timeRange=last-28-days&tab=billing. Log in with empowerpeople.com accunt. Total cost so far: 0.0118679 Last few brackets: [ { start: 0, group: '[' }, { start: 987, group: ']' } ] Output directory: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output Output directory ensured: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output Writing 4163 characters to: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output/articles_raw_json_before_adding_them_to_db.json ✓ File written successfully: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/output/articles_raw_json_before_adding_them_to_db.json (4167 bytes) Articles found before de-duping: 1 seeking to resolve url https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEDpe_xFazyzZpVCTFUxJA6GuFLRb0UN8GCNLsd1wMxTylIxoZQofN4Oam1I1WAqo1bw74i2vhRihIdIU05ySF00jHC_2pNuDThk3VRe-P9RT4rRLLQ2ew4jL6nMEwVayk6qYCP4fxuqIhxX88PNpYxo7xcBg== linkReturnsStatus200: Request successful! Status code: 200 url has been resolved https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEDpe_xFazyzZpVCTFUxJA6GuFLRb0UN8GCNLsd1wMxTylIxoZQofN4Oam1I1WAqo1bw74i2vhRihIdIU05ySF00jHC_2pNuDThk3VRe-P9RT4rRLLQ2ew4jL6nMEwVayk6qYCP4fxuqIhxX88PNpYxo7xcBg== Total cost so far: 0.021782799999999998 Seeking alternative URLs - testing URL with title: Digital News Center URL: https://digitalnews.center/ --- ***Couldn't find a url and/or a date for this one: Self-spreading npm malware hits developers seeking to resolve url https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEQm3P39cftqwz19vh6zqYjGSNsmep0BiOUMmhFM8REIiDMRv40e5BQJ_bWfX8GI690AIv32tZ-vPYNYzv_j__dpmOWLwY4XvkBIfMO1rCeN30mIHRB4NOeb3GSl0PT2kwiLX2_LrSZbwTMmH_aWTx_gREG9AkZAkFsIXwne0Ykhuz3P5rNuM3Jfnr8sr5I4hLeWMAn4MIoeBRzptr2z8Z1UP7wvIchMkoEoZyR4QhM3wu-hCvNLF0LegX3IGxyQ5ySdKoFY1iYPA== [SCHEDULER] Spawning worker thread: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js [SCHEDULER] Spawning worker thread: /Users/vr_2025/Documents/code/src/gitlab.com/VikR0001/ai_news_reports/server/jobs/news_gathering_worker.js Waiting for the debugger to disconnect... /Users/vr_2025/.meteor/packages/npm-mongo/.6.16.1.dbyulx473lo++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/cmap/connection_pool.js:253 connection.onError(new errors_1.PoolClearedOnNetworkError(this)); ^ PoolClearedOnNetworkError: Connection to 127.0.0.1:3001 interrupted due to server monitor timeout at ConnectionPool.interruptInUseConnections (/Users/vr_2025/.meteor/packages/npm-mongo/.6.16.1.dbyulx473lo++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/src/cmap/connection_pool.ts:486:28) at /Users/vr_2025/.meteor/packages/npm-mongo/.6.16.1.dbyulx473lo++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/src/cmap/connection_pool.ts:472:35 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) at listOnTimeout (node:internal/timers:549:9) at processTimers (node:internal/timers:523:7) { errorLabelSet: Set(1) { 'PoolRequstedRetry' }, beforeHandshake: false, address: '127.0.0.1:3001', [cause]: MongoNetworkTimeoutError: connection <monitor> to 127.0.0.1:3001 timed out at Timeout._onTimeout (/Users/vr_2025/.meteor/packages/npm-mongo/.6.16.1.dbyulx473lo++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/src/cmap/connection.ts:320:20) at listOnTimeout (node:internal/timers:588:17) at processTimers (node:internal/timers:523:7) { errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' }, beforeHandshake: false, [cause]: undefined } } Node.js v22.22.0 Exited with code: 1 Your application is crashing. Waiting for file change.
Fix the error in your code and save your files. Once your server is running without errors, then reload this page.