Time out server to server out

hello I have a problem when consuming the service to generate a token in java gives me the error of java.net.SocketTimeoutException: Read timed out, Could you help me? This is the part where I use the service.

 HttpURLConnection conn = null;

    try {
        URL url = new URL(urlZoom);
        conn = (HttpURLConnection) url.openConnection();
        conn.setRequestProperty("Authorization", "Basic ZWpQQXBnX3FTTlNCWUZ5RDlOSn");
        conn.setRequestMethod("POST");
        conn.setDoOutput(true);
        conn.setUseCaches(false);

        //String input = obj.toString();
        OutputStream os = conn.getOutputStream();
        //os.write(input.getBytes());
        //os.write(obj.toJSONString);
        os.flush();

Hi @estuardo.cacacho
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!
Are you still having this issue or were you able to troubleshoot it?

Cheers,
Elisa

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.