edgex-go: API authority error: 401 Unauthorized

🐞 Bug Report

Affected Services

The issue is located in:

core services support-notifications support-scheduler device-virtual

Is this a regression?

The error happens since March 26

Description and Minimal Reproduction

🔥 Exception or Error

For example,

12:39:24 ❏ reading
12:39:24 ↳ 41 http://localhost:48080/api/v1/reading
12:39:24   GET https://kong:8443/coredata/api/v1/reading [401 Unauthorized, 242B, 184ms]
12:39:24   1. Status code is 200
12:39:24   ✓  Response time is less than 800ms

🌍 Your Environment

Deployment Environment: X86 and ARM EdgeX Version: Master

Anything else relevant? blackbox-testing on Jenkins: https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/DATABASE=mongo,node=centos7-blackbox-4c-2g/20/consoleFull

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@AnthonyMBonafide since there is no security for any microservice other than Vault, my starting assumptuion would be that Kong is returning the 401. The most likely cause is that the kong token being passed to Kong is invalid somehow.