Coder Social home page Coder Social logo

Comments (17)

Manishearth avatar Manishearth commented on September 23, 2024

@ProgramFOX @hichris1234 Any idea why this happens?

from chatexchange.

thomas-daniels avatar thomas-daniels commented on September 23, 2024

@Manishearth All I know is that the 2.6 branch came out with a security fix (perhaps other changes too, but not aware of them). Any chance you make a HTTP request at some point where HTTPS is expected?

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

This works fine for me. I tried a virtualenv with requests 2.6.2 and it worked.(Ubuntu, python2.7)

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

Can someone repro?

from chatexchange.

csnardi avatar csnardi commented on September 23, 2024

Possibly a Windows only thing? ProgramFOX and Andy are using Windows, I believe.

from chatexchange.

thomas-daniels avatar thomas-daniels commented on September 23, 2024

@Manishearth No, same error in a virtualenv.

@hichris1234 I'm testing this on a Ubuntu 14.04 LTS AWS instance.

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

Hmm. Perhaps I screwed up the virtualenv

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

Nope. Still works. Hmm.

from chatexchange.

thomas-daniels avatar thomas-daniels commented on September 23, 2024

Are there any HTTPS- or SSL-related packages you have installed that might be necessary for this?

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

I used a clean venv.

from chatexchange.

AWegnerGitHub avatar AWegnerGitHub commented on September 23, 2024

I also used a clean venv to get that stack trace in the original problem.

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

@AWegnerGitHub How did you install the new requests module? By tweaking the setup file?

from chatexchange.

AWegnerGitHub avatar AWegnerGitHub commented on September 23, 2024

pip install requests installed 2.6.2. When I figured out that was the issue, I reverted to 2.5.3 using pip install requests==2.5.3. I selected that version because that is what SmokeDetector uses (based on this )

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

Okay.

Setup.py specifies a different version btw, though when you submodule ChatExchange that doesn't get checked.

Hm.

from chatexchange.

thomas-daniels avatar thomas-daniels commented on September 23, 2024

Good news! ChatExchange works fine again with the newest version, 2.7.0.

from chatexchange.

Manishearth avatar Manishearth commented on September 23, 2024

O.o

from chatexchange.

csnardi avatar csnardi commented on September 23, 2024

Release notes from 2.7.0:

  • Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer encoding and response framing.

from chatexchange.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.