Hi all, after adding some additional slots to our domain, we began to occasionally see the following error when a request is sent to the action server:
Failed to run custom action '{{FORM_NAME}}'. Couldn't connect to the server at 'http://localhost:5055/webhook'. Is the server running? Error: [Errno None] Can not write request body for http://localhost:5055/webhook
This does not occur on every request, only a small portion of them. Our tracker store is configured with
max_events: 60
to limit the size of the tracker when storing in DynamoDB, but we just recently began to see this error on requests to the action server. I did not see other posts indicating anyone had ran into a similar problem, so I was hoping to get some insight as to what might be going wrong here. Is it likely that adding additional slots made the tracker too large when sent in the request body to the action server?
Thanks in advance for the help!
rasa: 3.6.12
rasa-sdk: 3.6.2
1 Like
Forgot to mention, we tried adding the COMPRESS_ACTION_SERVER_REQUEST=True
environment variable but it did not remediate the issue.
Additional follow up info: this error also coincided with an upgrade of rasa from 3.5.3 to 3.6.12 and rasa-sdk from 3.5.1 to 3.6.2. We looked over the change logs and do not see anything that would clearly cause this error.
Same problem here. Got any new insights?
Problem does not seem to have anything to do with the actual size. Randomly happens for 0.2% of all messages