Hi Alireza,

This could be happening due to not having correct certificates related to
your virtual private server.

Please follow these steps to get rid of the issue.


   1. Run the IoT_Home/scripts/change-ip.sh scripts file to change the
   configurations and IP/hostname of the server. (Make sure to give either IP
   of the server or the hostname if you have configured a one)
   2. If your VPS has a machine name please add it into the /etc/hosts file
   as follows
   127.0.0.1 machine-name

if above does not solve the issue enable the debug logs send us the log
files.

Please follow these steps to enable debug logs.

Go to the IOT_HOME/conf/log4j.properties file.
Uncomment the following
#log4j.logger.org.apache.synapse.transport.http.wire=DEBUG
#log4j.logger.feign=DEBUG

Comment the following
log4j.category.org.apache.synapse=WARN

Then restart the IoT server and try to login to the devicemgt application.
After the error happens, please send
IoT_HOME/repository/logs/wso2carbon.log file.

Thanks
Geeth

On Sun, Nov 19, 2017 at 2:25 PM, Alireza Najjari <[email protected]
> wrote:

> hi, I am a student.
> I want to run wso2 on vps, but I encountered the error below and can not
> fix it. Help me please.
> *HTTP Status : 500*
>
> org.wso2.carbon.apimgt.integration.client.exception.APIMClientOAuthException:
> failed to retrieve oauth token using jwt
>
>


-- 
*Geeth Munasinghe*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: [email protected]
phone:(+94) 777911226

<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to