qy-liuhuo opened a new issue, #11110:
URL: https://github.com/apache/inlong/issues/11110

   ### What happened
   
   There are some problems with `HttpClientExample` and `TcpClientExample` in 
org.apache.inlong.sdk.dataproxy.example package,The error message is as follows:
   
   ```
   ERROR org.apache.inlong.sdk.dataproxy.config.ProxyConfigManager - Connect 
Manager error, message: Unsupported or unrecognized SSL message, url is 
https://127.0.0.1:8083/inlong/manager/openapi/dataproxy/getIpList/mysql_2_ck
   ```
   
   
   
   
   
   ### What you expected to happen
   
   
   The `isLocalVisit` variable is incorrectly passed to the `requestByHttp` 
field of ProxyClientConfig, which causes the manager to be requested using 
https, which in turn causes the manager to fail to connect successfully.
   
   
   The wrong program is as follows:
   
   ```java
   dataProxyConfig = new ProxyClientConfig(localIP, isLocalVisit, 
inLongManagerAddr,
                       Integer.valueOf(inLongManagerPort), inlongGroupId, 
"admin", "inlong");
   ```
   
   
   
   
   ### How to reproduce
   
   Just run the HttpClientExample or the TcpClientExample
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong SDK
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to