I had the same issue with the latest version of IB Gateway recently. I would recommend you to make sure that you are using a stable version.