Remote Docker Python interpreter from image exception: TooLongFrameException




After upgrading to 2016.3.1 version I am facing an issue with remote Python interpreter from Docker.

There is many records in event log contains following:

"Couldn't refresh skeletons for remote interpreter
io.netty.handler.codec.TooLongFrameException: object length exceeds 1048576: 1050597 bytes discarded"

Also when I am trying to add new remote Docker interpreter same issue occures: "io.netty.handler.codec.TooLongFrameException: object length exceeds 1048576: 1055589 bytes discarded"



Was resolved with deleting all docker containers/images. 

# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)

Had the issue too, just like that without upgrading or anything. I confirm that removing the image (not all images, just the one you need to run the container) solves the issue.


I found the cause of the issue (at least on my side). It happens when there are too many containers running/exited. I had a script going rogue and spawned over +1000 containers and from that moment it started to fail.


I cleaned up stopped containers and it fixed my issue; thanks @tonyvdv


Please sign in to leave a comment.