Project

General

Profile

Bug #20054

Updated by Nicolas CHARLES over 2 years ago

using the token from the example 
 <pre> 
 [root@server share]# curl -k -H "X-API-Token: 5YJnb4EenqDHzwx0U0eTPWWhgjTJ8mkk" -H "Content-Type: application/json" -X PUT 'https://localhost/rudder/api/latest/createnode' -d@/tmp/json.json 
 [root@server share]# echo $? 
 0 
 </pre> 

 but the webapp log say 
 <pre> 
 [2021-10-04 19:50:01+0000] WARN    application - REST authentication failed from IP '127.0.0.1|X-Forwarded-For:::1'. Error was: Inconsistency: No registered token '5YJnb4EenqDHzwx0U0eTPWWhgjTJ8mkk' 
 </pre>

Back