riskgod edited a comment on issue #4138:
URL: https://github.com/apache/apisix/issues/4138#issuecomment-827414834


   > ```
   > core.log.warn("headers_map: ", core.json.encode(headers_map))
   > ```
   
   hey, after debug, the json is the same, but why shows the `{ message: 
'Invalid signed header sys_name,sys_event' }`
   here is the debug json
   ```
   2021/04/27 16:16:15 [warn] 48159#118191: *314 [lua] hmac-auth.lua:311: 
validate(): headers_map: {"sys_event":true,"sys_name":true}, client: 127.0.0.1, 
server: _, request: "POST /checkAddress HTTP/1.1", host: "127.0.0.1:9080"
   
   2021/04/27 16:16:15 [warn] 48159#118191: *314 [lua] hmac-auth.lua:314: 
validate(): signed_headers: ["sys_name,sys_event"], client: 127.0.0.1, server: 
_, request: "POST /checkAddress HTTP/1.1", host: "127.0.0.1:9080"
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to