Fail to run Hello World on OpenBSD 6.5


Hi, I tried your simple example on OpenBSD 6.5, but something seems wrong.

Likely this is OpenBSD dependent, but maybe you have an idea what to look for?

$ uname -a
OpenBSD 6.5 GENERIC.MP#3 amd64
$ go version
go version go1.12.1 openbsd/amd64
$ go run server.go                                                                                                                                  
   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.1.5
High performance, minimalist Go web framework
⇨ http server started on
{"time":"2019-05-26T20:59:40.666144966+02:00","level":"FATAL","prefix":"echo","file":"server.go","line":"17","messag    e":"set tcp> protocol not available"}
exit status 1

I am able to run a simple webserver example on OpenBSD using just http.

The same example is also running fine on OSX.

$ uname -a
Darwin Peters-Mac-mini.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64
$ go version
go version go1.12.5 darwin/amd64

Any tips on what to look for?


I think this is issue could be the same as seen on another go web framework, aero.


OpenBSD and other does not support user defined TCP timeout …