2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50176->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50178->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50180->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50182->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50184->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50186->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50188->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50190->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50192->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50194->127.0.0.1:8346: read: connection reset by peer.2016/06/22 12:18:43 transport: http2Client.notifyError got notified that the client transport was broken read tcp 127.0.0.1:50196->127.0.0.1:8346: read: connection reset by peer.
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/d20221be-7aec-4553-924c-3019f39519ad%40googlegroups.com.
Jun 27 08:05:47.684 kartinki INFO [web.go:63] Running on :8080 using 8 processes
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/06/27 11:05:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
package main import ( "fmt" "golang.org/x/net/context" "google.golang.org/cloud/datastore" "log" "time" ) func main() { ctx := context.Background() client, err := datastore.NewClient(ctx, "YOUR_PROJECT_ID") if err != nil { log.Fatal(err) } fmt.Println(client) time.Sleep(5 * time.Second) }
and it should wait five seconds and terminate without any error messages.
If that works for you, then we've shown that you can connect to the standalone emulator with the datastore client. There is probably something wrong with your configuration that is causing problems with your code. Are you sure that the DATASTORE_EMULATOR_HOST environment variable is set correctly?
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sdk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/ea065102-1a76-4ae6-ba1b-30569d038d93%40googlegroups.com.