Skip to content

write unix @->@: write: broken pipe #1

@tmirmota

Description

@tmirmota

Hey Chris, awesome package as it let me successfully connect to my postgres db on Cloud SQL with GAE standard.

It's been running for a few days but just produced this error:

at panic (go/src/runtime/panic.go:489)
at main.checkErr (cloudsql.go:40)
at main.censusTracts (cloudsql.go:244)
at net/http.HandlerFunc.ServeHTTP (server.go:1942)
at net/http.(*ServeMux).ServeHTTP (server.go:2238)
at appengine_internal.executeRequestSafely (api_prod.go:296)
at appengine_internal.(*server).HandleRequest (api_prod.go:232)
at reflect.Value.call (value.go:434)

at main.checkErr (cloudsql.go:40)

func checkErr(err error) {
	if err != nil {
		panic(err)
	}
}

at main.censusTracts (cloudsql.go:244)

rows, err := db.Query(q, queries.Get("swlng"), queries.Get("swlat"), queries.Get("nelng"), queries.Get("nelat"))
checkErr(err)

Is the issue the connection or should I be retying the request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions