botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 84 forks source link

Intermittent Timeout Issue from API Call #1707

Closed nathanc91 closed 1 year ago

nathanc91 commented 1 year ago

Describe the bug When I make an API call to the Botpress using http://{mydomain}/api/v1/bots/{botID}/converse/{uniqueID}, the Botpress will time out irregularly. Normally this happens at the first API call.

To Reproduce It is difficult to reproduce at the specific situation. It happens at random interval.

Expected behavior When API is called, I expect to receive the response back from Botpress without being timed out.

Error Message If applicable, add screenshots to help explain your problem. 12/14/2022 14:29:17.817 HTTP [{botID}] [Error, Request timed out.] STACK TRACE Error: Request timed out. at Timeout._onTimeout (C:\snapshot\botpress\packages\bp\dist\core\converse\converse-service.js) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)

Environment (please complete the following information):

davidvitora commented 1 year ago

@nathanc91 increase your timeout at the botpress.config.json file:

image