GoogleCloudPlatform / nodejs-docs-samples

Node.js samples for Google Cloud Platform products.
https://cloud.google.com/nodejs
Apache License 2.0
2.8k stars 1.94k forks source link

Cannot get redis to work #1624

Closed ad-on-is closed 4 years ago

ad-on-is commented 4 years ago

I'm trying to access the redis memorystore within an appengine nodjs application. Trying several approaches, including the example provided here, throw different errors.

A more detailed description is on StackOverflow: https://stackoverflow.com/questions/60655129/google-cloud-memorystore-redis-etimedout-in-app-engine

Trying the example from here or my own example, with AppEngine Standard

When I include vpc_access_connector into the app.yaml, gcloud beta app build throws the following error. ERROR: (gcloud.beta.app.deploy) Error Response: [13] An internal error occurred.

Trying the example from here or my own example, with AppEngine Flex

When I include env: flex into app.yaml gcloud beta app build throws no error, but my nodejs-script throws an ETIMEDOUT error.

michaelawyu commented 4 years ago

The reporter has resolved this issue himself/herself (mismatched region).