Skip to content

Pastebin upload error #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dhamaniasad opened this issue Dec 15, 2014 · 6 comments
Closed

Pastebin upload error #430

dhamaniasad opened this issue Dec 15, 2014 · 6 comments

Comments

@dhamaniasad
Copy link

When trying to use the F8 key to upload to bpaste, this error is shown:

Upload failed: hostname 'bpaste.net' doesn't match either of '*.qabana.nl', 'qabana.nl'

I installed bpython from the master branch.

@sebastinas
Copy link
Contributor

I can't reproduce the issue. Is it still an issue for you? Also CCing @ikanobori.

@dhamaniasad
Copy link
Author

I can't reproduce the issue. Is it still an issue for you? Also CCing @ikanobori.

Yes, the issue persits. I'm on OS X, in case that matters.

@thomasballinger
Copy link
Member

I can reproduce

@thomasballinger
Copy link
Member

@ikanobori
Copy link
Contributor

SNI on Mac OS X has been broken in Python for a while (a year at least?) on
Python 2.7 (not sure about 3.x). I get mails about it every now and then.

My solution is pretty final in that I will not remove SSL from bpaste.net.

Regards,

Simon

On 23 December 2014 at 00:10, Thomas Ballinger notifications@github.com
wrote:

Looks like
http://docs.python-requests.org/en/latest/community/faq/#what-are-hostname-doesn-t-match-errors


Reply to this email directly or view it on GitHub
#430 (comment).

@ikanobori
Copy link
Contributor

Sorry, I wasn't finished typing that mail. AFAIK when you install pyOpenSSL
and/or another SSL/TLS library I forgot SNI will work on OS X as well (when
you use the requests library).

Sorry for the double mail.

Simon

On 23 December 2014 at 14:56, Simon de Vlieger simon@ikanobori.jp wrote:

SNI on Mac OS X has been broken in Python for a while (a year at least?)
on Python 2.7 (not sure about 3.x). I get mails about it every now and then.

My solution is pretty final in that I will not remove SSL from bpaste.net.

Regards,

Simon

On 23 December 2014 at 00:10, Thomas Ballinger notifications@github.com
wrote:

Looks like
http://docs.python-requests.org/en/latest/community/faq/#what-are-hostname-doesn-t-match-errors


Reply to this email directly or view it on GitHub
#430 (comment).

sebastinas added a commit that referenced this issue Dec 23, 2014
This is only required for Python 2.X on Mac OS X.

Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants