waha icon indicating copy to clipboard operation
waha copied to clipboard

[Question] NOWEB timeout sendText

Open francescolovecchio opened this issue 2 months ago • 5 comments

Hi, I'm experiencing timeout during sending messages (api/sendText).

reqId=418 reqId=418 req={"id":418,"method":"POST","url":"/api/startTyping","query":{},"params":{"path":["api","startTyping"]}} reqId=418 reqId=418 req={"id":418,"method":"POST","url":"/api/startTyping","query":{},"params":{"path":["api","startTyping"]}} res={"statusCode":201} reqId=418 reqId=418 req={"id":418,"method":"POST","url":"/api/startTyping","query":{},"params":{"path":["api","startTyping"]}} reqId=418 reqId=418 req={"id":418,"method":"POST","url":"/api/startTyping","query":{},"params":{"path":["api","startTyping"]}} res={"statusCode":201} responseTime=3 [15:30:22.622] INFO (1): request completed reqId=419 reqId=419 req={"id":419,"method":"POST","url":"/api/stopTyping","query":{},"params":{"path":["api","stopTyping"]}} reqId=419 reqId=419 req={"id":419,"method":"POST","url":"/api/stopTyping","query":{},"params":{"path":["api","stopTyping"]}} res={"statusCode":201} reqId=419 reqId=419 req={"id":419,"method":"POST","url":"/api/stopTyping","query":{},"params":{"path":["api","stopTyping"]}} reqId=419 reqId=419 req={"id":419,"method":"POST","url":"/api/stopTyping","query":{},"params":{"path":["api","stopTyping"]}} res={"statusCode":201} responseTime=2 [15:30:22.639] INFO (1): request completed reqId=410 reqId=410 req={"id":410,"method":"POST","url":"/api/sendText","query":{},"params":{"path":["api","sendText"]}} reqId=410 reqId=410 req={"id":410,"method":"POST","url":"/api/sendText","query":{},"params":{"path":["api","sendText"]}} res={"statusCode":null} reqId=410 reqId=410 req={"id":410,"method":"POST","url":"/api/sendText","query":{},"params":{"path":["api","sendText"]}} reqId=410 reqId=410 req={"id":410,"method":"POST","url":"/api/sendText","query":{},"params":{"path":["api","sendText"]}} res={"statusCode":null} responseTime=60001 [15:30:23.607] INFO (1): request aborted

504 Gateway Time-out

I opened #1521 without any feedback and I'm a patron.

Regards

patron:PLUS

francescolovecchio avatar Oct 23 '25 18:10 francescolovecchio

Probably the issue is about the sqlite size. Is it any way to set a retention for the chats or optimize the size of the sessions?

167M p_110 62M p_156 215M p_203 13M p_211 377M p_216 78M p_237 12M p_241 120K p_251 672M p_258 27M p_268 35M p_273 2.2M p_281 120K p_286 32M p_29 83M p_292 17M p_310 30M p_320 29M p_325 16M p_347 109M p_349 120K p_356 760M p_371 120K p_372 16M p_382 9.8M p_386 120K p_410 48M p_413 120K p_416 88M p_43 7.8M p_471 156M p_479 120K p_490 26M p_491 120K p_493 120K p_494 6.4M p_498 7.0M p_500 420K p_505 14M p_506 120K p_507 120K p_61 120K p_80 394M p_84 120K p_88 99M p_95 26M p_eventi_207 23M p_eventi_209 185M p_eventi_1 12M p_1 120K s_29 165M s_1 36K waha.sqlite3 32K waha.sqlite3-shm 4.0M waha.sqlite3-wal 4.0G total

patron:PLUS

francescolovecchio avatar Oct 23 '25 19:10 francescolovecchio

Hi! Do you send to DM or groups? What version do you use, latest one?

patron:PRO

devlikepro avatar Nov 05 '25 08:11 devlikepro

Hi, no, I sent here on GitHub.

Yes, I'm using the latest version. I solved changing the instance name but it isn't always possible

patron:PLUS

francescolovecchio avatar Nov 05 '25 10:11 francescolovecchio

Do you send to DM or groups?

I meant in WhatsApp - you're sending text to 1:1 chats or groups?

yeah, may be we need to add some cleanup tool, but for now logout and scan qr is the best way to solve it

patron:PRO

devlikepro avatar Nov 05 '25 11:11 devlikepro

I'm sending 1:1.

now logout and scan qr is the best way to solve it -> This not worked, I had to change the session name

patron:PLUS

francescolovecchio avatar Nov 05 '25 12:11 francescolovecchio