I have OpenVidu setup with AWS

after setup this, I got openVidu server Url and secret key. I am trying to create a session with a java solution. but it shows server time out Error.

With these two lines of information there is little we can do to help you. Please, be more specific.

1- i have set up openVidu on AWS by using this step (https://docs.openvidu.io/en/2.14.0/deployment/deploying-aws/)
2 -after i got openVidu server Url and secret key
3- I have created a demo with ‘js-Java’

public SessionController(@Value(“mysecretkey”) final String secret,

        @Value("myopenviduserverpath:4443") final String openviduUrl) {

    this.SECRET = secret;

    this.OPENVIDU_URL = openviduUrl;

    this.openVidu = new OpenVidu(OPENVIDU_URL, SECRET);

}

then I try creating a session

// Create a new OpenVidu Session

        final Session session = this.openVidu.createSession();

in this time I got an error message

detailMessage:“Connect to ${my openvidu path url} failed: Connection timed out: connect”

That means your OpenVidu URL is wrong.

but sir , this Url provide after OpenVidu setup in AWS EC2

How to check by OpenVidu Url and the secret key is correct or not

For AWS deployments there you have it: https://docs.openvidu.io/en/2.14.0/deployment/deploying-aws/#5-create-your-stack

The modification you have done in your code is not correct.

You should use the URL as a property of initialize with its value the variable:

this.OPENVIDU_URL = “https://domain/”;

I did all this step already done.