You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/27 09:03:13 UTC

[GitHub] [apisix] Firstsawyou commented on issue #4139: request help: { message: 'Invalid signed header sys_name,sys_event' }

Firstsawyou commented on issue #4139:
URL: https://github.com/apache/apisix/issues/4139#issuecomment-827444501


   According to the following information of  https://github.com/apache/apisix/issues/4138:
   > 
   > 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: {"timestamp":true,"app_id":true,"Date":true,"sys_event":true,"sign":true,"version":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: ["Date","app_id","sys_name,sys_event","sign","timestamp","version"], client: 127.0.0.1, server: _, request: "POST /checkAddress HTTP/1.1", host: "127.0.0.1:9080"
   > ```
   
   
   
   > { message: 'Invalid signed header sys_name,sys_event' }
   
   This is one header, not two headers. But they are two headers in headers_map.
   


-- 
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:
users@infra.apache.org