Errno socket error

Bug #1646499 reported by Dean Maniatis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pastebinit
New
Undecided
Unassigned

Bug Description

OS: ubuntu xenial
version: pastebinit v1.5
apt package info: 1.5-1

When running pastebinit behind proxy server i get the following error:

$echo hello | pastebinit -u deanman -b paste.ubuntu.com --verbose
POSTing to: https://paste.ubuntu.com/
Params: content=hello%0A&poster=deanman&syntax=text
Failed to contact the server: [Errno socket error] EOF occurred in violation of protocol (_ssl.c:645)

$ env | grep proxy
no_proxy=localhost,127.0.0.0/8,::1
https_proxy=https://<company>:8080/
http_proxy=http://<company>:8080/
ftp_proxy=ftp://<company>:8080/

$ curl google.com #works

Revision history for this message
Dean Maniatis (dean-maniatis) wrote :

If i change site seems to be working:

$ echo hello | pastebinit -u deanman -b pastebin.com --verbose
POSTing to: http://pastebin.com/api/api_post.php
Params: api_paste_format=text&submit=submit&api_paste_private=0&api_paste_email=&api_dev_key=253ce2f0a45140ee0a44ca99aa49260&api_paste_subdomain=&api_option=paste&api_paste_name=deanman&api_paste_expire_date=1M&api_paste_code=hello%0A
http://pastebin.com/AqULT4Lx

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.