Client inactivity timeouts for HTTP API endpoints may cause the import to fail.
Some HTTP API endpoints respond quickly, while others may need to return or stream a sizable data set to the client over many thousands of connections. Additionally, some HTTP API endpoints may need to perform an operation that takes an amount of time proportional to the input. In these cases, the amount of time it takes to process the request can exceed certain timeouts in the Web server and the HTTP client.
Here is an example of importing a large JSON definitions file “cf-rabbitmq.json",
rabbitmqadmin -P 15672 -u admin -p password --request-timeout 360000 import ~/Downloads/cf-rabbitmq.json
References