Used to get this error in PyCharm. This was usually resolved by stopping all service instances and running only one.