cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

IoT Gateway 500 Internal Server Error when using Basic Authentication method

DD_10420206
2-Explorer

IoT Gateway 500 Internal Server Error when using Basic Authentication method

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

 

ACCEPTED SOLUTION

Accepted Solutions

@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

View solution in original post

2 REPLIES 2

@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

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

Announcements


Top Tags