Customer may encounter issues when attempting to configure the REST API feature on an MX104, specifically when trying to connect to the automation server. The following error logs are observed on the server:
root@DCOPAAFLOWVH01 -10 curl -kv -u 'networkautomation: https://192.168.0.53:3443/rpc/get-interface-information
Trying 192.168.0.53...
TCP NODELAY set
connect to 192.168.0.53 port 3443 failed: Connection refused
Failed to connect to 192.168.0.53 port 3443: Connection refused
Closing connection 0
url: (7) Failed to connect to 192.168.0.53 port 3443: Connection refused
The MX104 device is not listed as a supported model for the Junos REST API, and its compatibility with the REST API is not explicitly mentioned in the available documentation.
MX104 does not support REST API feature. MX104 is not explicitly listed as a supported device for the Junos REST API, it is recommended to check the official Juniper documentation for the most up-to-date information on API support. The list of supported devices and their corresponding Junos OS versions is detailed in the feature explorer. If the MX104 is not supported, alternative methods such as using CLI or other supported management tools might be necessary.
For further details on REST API support and device compatibility, refer to the following link:
Juniper REST API Support