AppEngine Websocket error (AxiosError: Request failed with status code 404)

Hi,
my st app is inside a docker. Hosted in gCloud appEngine flex.
App works fine almost always.
But occasionnaly, and randomly, the following error appears

Connection error
Failed to process a Websocket message (AxiosError: Request failed with status code 404)

I’ve checked the logs of the app, and i’ve found the sterror below. Don’t know if they’re related or not

/logs/appengine.googleapis.com%2Fstderr
HTTP request for cached message could not be fulfilled. No such message

Any ideas how to fix this?
thanks

streamlit==1.26

hey hi ! this error may occur due to
It appears that you’re encountering an issue accessing logs from the appengine.googleapis.com/stderr endpoint in Google Cloud Platform App Engine. The error suggests the requested log message is not available or has been removed. Check the log retention policy, review deployment for errors, inspect logging configuration, ensure correct permissions, and consider checking logs via Google Cloud Console for troubleshooting.