“error_code”:500,“message”:“IO Error trying to forward REST request: java.net.ConnectException: Connection refused”
An error is reported by executing the following command.
curl -u debezium:4a3s4d02234 http://debezium-001.optics.net:8083/connectors/mysql-optics-prod/restart -X POST
The error message is shown below.
{“error_code”:500, “message”: “IO Error trying to forward REST request: java. ConnectException: Connection refused”}
Solution: make sure the following parameters are set correctly.
rest.host.name=debezium-001.optics.netrest.port=8083
Read More:
- Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: [How to Solve]
- [Solved] kafka startup Error: java.net.ConnectException: Connection refused
- [Solved] AmqpConnectException: java.net.ConnectException: Connection refused: connect
- [Solved] SpringBoot integration with Redis error: java.net.ConnectException: Connection refused: no further information
- [Solved] Error running query: MetaException(message:Got exception: java.net.ConnectException Call From XXXX
- [Solved] failed to req API:localhost:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException
- [Solved] Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no furthe
- [SpringBoot] Maven Error: Connection refused to host: 127.0.0.1
- ROS Start Gazebo Error (First time): Err] [REST.cc:205] Error in REST request
- [Solved] AndroidStudio Error: Connect to 127.0.0.1:10887 [/127.0.0.1] failed: Connection refused…
- [Solved] Ubuntu 20.04 LTS Install k8s Error: The connection to the server localhost:8080 was refused
- [Solved] java.lang.reflect.InaccessibleObjectException: Unable to make protected java.net.http.HttpRequest()…
- Gazebo Error: Error in REST request [How to Solve]
- Springcloud configuration center client 3355 startup Error: error on get request for“ http://localhost:8761/eureka/apps/ “: Connection
- Caused by: java.net.SocketException: Software caused connection abort: socket write error
- zabbix-Get value from agent failed: cannot connect to [[127.0.0.1]:10050]: [111] Connection refused
- Axios request failed, get the status code and error information, how to encapsulate the function dealing with the public error code
- [Solved] IO Error: The Network Adapter could not establish the connection
- Hive ERROR Failed with exception java.io.IOException:java.lang.IllegalArgumentException
- [Solved] Response Export error on submit request on future invoke, java.lang.OutOfMemoryError: Java heap space