Twython Connection reset by peer


#1

I am developing automation system with Twitter but I stucked in error “Connection reset by peer”.
How can I solve this problem?

twitter = Twython(
twitter_token = ‘key’,
twitter_secret = ‘key’,
oauth_token = ‘key’,
oauth_token_secret = ‘key’
)

        twitter.updateStatusWithMedia("Image File Location", status="test")

error image :