product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

Infinite loop between Adapater and Router when the cert given to the router is unavailable

Open suksw opened this issue 2 years ago • 0 comments

Description:

When

  • a cert file path or
  • a inline cert file

is provided to the router by the adapter

  • if the file cannot be found (not mounted or different name) or
  • the format is not supported (expected pem found der)

the adapter and router runs in a continuous loop. Following log is for the scenario when the inline cert is not in a supported format.

NOTE: Cert type checks already exists for interceptor and backend certs. Yet, there can be other scenarios that this could occur.

Screenshot from 2022-05-13 17-28-53

Steps to reproduce:

Affected Product Version:

Environment details (with versions):

  • OS:
  • Client:
  • Env (Docker/K8s):

Optional Fields

Related Issues:

Suggested Labels:

Suggested Assignees:

suksw avatar May 13 '22 12:05 suksw