This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net/url" | |
"os" | |
) | |
// The URL library parse function https://golang.org/pkg/net/url/#Parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The above works great on a Mac, but on an EC2 instance, not so much. | |
keratin_auth_1 | ~*~ Keratin AuthN v1.10.3 ~*~ | |
keratin_auth_1 | data.NewDB: dial tcp: lookup db: device or resource busy | |
docker_keratin_auth_1 exited with code 0 | |
The result was repeated with both mysql and posrgres docker containers as the target; | |
as well as an independent Postgres RDS instance. | |
In short: we can reproduce reliably in the cloud. | |
This seemed to point to something in the keratin container. We thought maybe the go |