Skip to content

unknown SSL protocol #19

@blampe

Description

@blampe

Happens on a fresh checkout following all of the instructions in the documentation:

$ curl https://localhost:7000 -vvv
* Adding handle: conn: 0x7fa0d8804000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fa0d8804000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 7000 (#0)
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 7000 (#0)
* Unknown SSL protocol error in connection to localhost:-9800
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to localhost:-9800
$ python app.py
 * Running on http://127.0.0.1:7000/
127.0.0.1 - - [08/Sep/2014 10:46:46] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x00\xbf\x01\x00\x00\xbb\x03\x03T')
�O�xR�����<gZ�h/��AZ�XM���<^��$�#�" 400 -

The result is the same in-browser, HTTP and HTTPS. This caused a lot of confusion at a recent college hackathon :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions