[GH-ISSUE #228] Currently Sync is Working but "Server has disconnected. Please refresh the page and restart the process." issue After Some Time #67

Open
opened 2026-02-27 04:59:00 +03:00 by kerem · 0 comments
Owner

Originally created by @appysrinath on GitHub (Oct 5, 2025).
Original GitHub issue: https://github.com/guyzyl/whatsapp-contact-sync/issues/228

Currently Sync is Working but
"Server has disconnected. Please refresh the page and restart the process." After Some Time

and Following cmd window error

in server cmd window
[nodemon] restarting due to changes...
[nodemon] starting ts-node .
Listening on port 8080
[nodemon] restarting due to changes...
[nodemon] starting ts-node .
Listening on port 8080

in Web cmd window

VITE v6.3.5 ready in 2563 ms

➜ Local: http://localhost:4000/
➜ Network: use --host to expose
➜ press h + enter to show help
/*! 🌼 daisyUI 5.0.35 */

A PostCSS plugin did not pass the from option to postcss.parse. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue.
5:52:51 pm [vite] ws proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20)
5:52:51 pm [vite] ws proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) (x2)

Image

after sometime i got the following errors

Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
at CDPSessionImpl.send (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\Connection.ts:379:9)
at ExecutionContext._ExecutionContext_evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:274:44)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async ExecutionContext.evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12)
at async Client.getProfilePicUrl (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:1503:28)
[nodemon] app crashed - waiting for file changes before starting...

Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:363:11)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async ExecutionContext._ExecutionContext_evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:292:7)
at async ExecutionContext.evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12)
at async Client.getWWebVersion (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:878:16)
at async Client.inject (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:101:25)
at async D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:356:13
[nodemon] app crashed - waiting for file changes before starting...
[nodemon] restarting due to changes...
[nodemon] starting ts-node .
Listening on port 8080
[nodemon] restarting due to changes...
[nodemon] starting ts-node .

Originally created by @appysrinath on GitHub (Oct 5, 2025). Original GitHub issue: https://github.com/guyzyl/whatsapp-contact-sync/issues/228 Currently Sync is Working but "Server has disconnected. Please refresh the page and restart the process." After Some Time and Following cmd window error in server cmd window [nodemon] restarting due to changes... [nodemon] starting `ts-node .` Listening on port 8080 [nodemon] restarting due to changes... [nodemon] starting `ts-node .` Listening on port 8080 in Web cmd window VITE v6.3.5 ready in 2563 ms ➜ Local: http://localhost:4000/ ➜ Network: use --host to expose ➜ press h + enter to show help /*! 🌼 daisyUI 5.0.35 */ A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue. 5:52:51 pm [vite] ws proxy error: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:216:20) 5:52:51 pm [vite] ws proxy error: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:216:20) (x2) <img width="440" height="301" alt="Image" src="https://github.com/user-attachments/assets/66071083-2d2d-46cd-a7cf-98f895f1f843" /> after sometime i got the following errors Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. at CDPSessionImpl.send (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\Connection.ts:379:9) at ExecutionContext._ExecutionContext_evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:274:44) at processTicksAndRejections (node:internal/process/task_queues:105:5) at async ExecutionContext.evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12) at async Client.getProfilePicUrl (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:1503:28) [nodemon] app crashed - waiting for file changes before starting... Error: Execution context was destroyed, most likely because of a navigation. at rewriteError (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:363:11) at processTicksAndRejections (node:internal/process/task_queues:105:5) at async ExecutionContext._ExecutionContext_evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:292:7) at async ExecutionContext.evaluate (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12) at async Client.getWWebVersion (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:878:16) at async Client.inject (D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:101:25) at async D:\PROJECTS\whatsapp-contact-sync-main\server\node_modules\whatsapp-web.js\src\Client.js:356:13 [nodemon] app crashed - waiting for file changes before starting... [nodemon] restarting due to changes... [nodemon] starting `ts-node .` Listening on port 8080 [nodemon] restarting due to changes... [nodemon] starting `ts-node .`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#67
No description provided.