Skip to content

Security handshake failed - long queries ( > 2 secs) (nodejs client)  #1905

@pcostell

Description

@pcostell

From @vvzen on January 6, 2017 14:33

Using the google-cloud package, node v 6 and npm-4.0.5 on my local macOS machine (10.11.6).
When performing a query to the datastore sometimes the database would spit it out Security Handshake failed logs (more frequently just after rebooting my express server).
After some seconds (3-4), the query is finally resolved.
The errors all look like this:

E0106 15:08:31.210244000 123145321271296 handshake.c:128] Security handshake failed: {"created":"@1483711711.210211000","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1483711711.210204000","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_poll_posix.c","file_line":427}]}

Here's a screenshot (after running a query to check if a user existed) :
security_handshake_error

Copied from original issue: googleapis/google-cloud-datastore#156

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions