Skip to content

crypto/tls: handshake failure with secure.quantserve.com #10039

Description

@martende

Code produces:
2015/02/28 23:47:34 Get https://secure.quantserve.com/quant.js: remote error: handshake failure
but all browsers open it.

package main

import (
    "fmt"
    "io/ioutil"
    "log"
    "net/http"
)

func main() {
    res, err := http.Get("https://secure.quantserve.com/quant.js")
    if err != nil {
        log.Fatal(err)
    }
    robots, err := ioutil.ReadAll(res.Body)
    res.Body.Close()
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("%s", robots)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions