Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by oscar.miranda-cabrera@bakerhughes.com · Jun 24, 2020 at 06:47 AM · predix cloudredis

Anyone migrated to 'predix-cloud-cache-r2.0'? Redis connection fails upon starting Angular/Node application.

Redis connection fails upon starting Angular/Node application. A sample Go app was used by Support to connect to our newly created service instance and worked. Seems the issue may be with the Redis configurations, but unable to find proper documentation, if there are any updates, for predix-cloud-cache-r2.0 Redis configurations.

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

  • Sort: 
avatar image
0

Answer by oscar.miranda-cabrera@bakerhughes.com · Jul 06, 2020 at 07:26 AM

Solved by adding the following to the redisOptions configuration:

 no_ready_check: true,
 tls: { host: config.redis.host, port: config.redis.port }

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Shailendra.Sirohi@ge.com · Jul 02, 2020 at 07:10 PM

@oscar.miranda-cabrera@bakerhughes.com Predix Cloud Cache r2.0 mandates at-rest and in-transit encryption. As such you will have to enable ssl while creating connection. Also, redis engine supported are 4.0.10 and above. So the client library must support these redis engine versions.

You can find list of supported redis clients at https://redis.io/clients#nodejs

Further ssl/tls enablement will depend on the library you are using. For a popular node client, node-redis, using 'rediss://... for the protocol in a redis_url will enable a TLS socket connection. For more details on node-redis, refer to: https://github.com/NodeRedis/node-redis

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

99 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to configure redis for keyspace notifications? 1 Answer

Redis Setup and configuration 3 Answers

Redis simultaneous Read/Update operations failing 1 Answer

An error occurred when restarting the application 1 Answer

UAA authentication for custom predix websocket server 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests