Having the same issue. I'm running ib-gateway in a docker container. Able to connect during initial hours of live session. But eventually it starts giving this error. Did you find any workaround?