Skip to main content
1-Visitor
September 29, 2023
Solved

IoT Gateway 500 Internal Server Error when using Basic Authentication method

  • September 29, 2023
  • 1 reply
  • 1532 views

I am trying to read a tag using IoT Gateway.
I am using POSTMAN as testing tool
GET http://143.28.91.145:39320/iotgateway/read?ids=LPDASTTT.UPack_To_FDM_Alex.PO_Download.Init.ProductID.DATA/8 with no authentication gives me proper result,
but
GET http://143.28.91.145:39320/iotgateway/read?ids=LPDASTTT.UPack_To_FDM_Alex.PO_Download.Init.ProductID.DATA/8 with basic authentication and username Administrator and password (my Administrator password for KepserverEX) returns 500 internal server error. The version of kepserver is 6.11

 

Best answer by cmorehead

@DD_10420206,

 

What version of JAVA are you using? I have seen in previous instances where newer versions of JAVA other than version 8 have yielded the exact error in which you have encountered in the same scenario. 

 

Thanks,

*Chris

1 reply

cmorehead13-AquamarineAnswer
13-Aquamarine
October 5, 2023

@DD_10420206,

 

What version of JAVA are you using? I have seen in previous instances where newer versions of JAVA other than version 8 have yielded the exact error in which you have encountered in the same scenario. 

 

Thanks,

*Chris

1-Visitor
October 9, 2023

Good guess, I solved it by installing other JRE. I was using Coretto JRE 8 which apparently didn't work with 6.11 - the curious thing is that it was working fine with older version. We can mark this as solved