I have just installed the new version of wso2-iot(3.1.0).
I order to use it remotely, I have changed the IP from localhost to the IP address of my server with the script /scripts/change-ip.sh.
All seems to work well, but when I login into https://IP:9443/devicemgr, I got the message bellow :
An Error Occurred!
HTTP Status : 500
org.wso2.carbon.apimgt.integration.client.exception.APIMClientOAuthException: failed to retrieve oauth token using jwt
Has someone experienced the same problem ? Is there a solution ?
Thanks
I've tried to install wso2-iot on 3 servers :
- It works on a Debian 9.1 with openjdk version "1.8.0_141"
- I fails on a Debian 8.8 with openjdk version "1.8.0_141"
- It fails on a Debian 8.7 with java version "1.8.0_144"
One reason for the issue is not having the correct certificate in the IoT_Home/conf/identity/identity-providers/iot_default.xml. Please make sure to add that correctly. Reason for that could be that in the change-ip.sh script "sed -e" does not work on some linux os versions.