In our new SDL Web 8.5 installation, we're seeing random publish failures.
these failures appear to happen in the transport phase.
In our transport log we can see the following errors
2017-08-24 11:33:46,798 ERROR BaseHTTPSTransportConnector - Unable to execute File retrieval on destination: http://*****:8084/httpupload
org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
at org.apache.http.impl.conn.PoolingClientConnectionManager.leaseConnection(PoolingClientConnectionManager.java:230)
at org.apache.http.impl.conn.PoolingClientConnectionManager$1.getConnection(PoolingClientConnectionManager.java:199)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:424)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at com.tridion.transport.connection.connectors.BaseHTTPSTransportConnector.batchRetrieve(BaseHTTPSTransportConnector.java:299)
at com.tridion.transport.connection.connectors.DiscoveryServiceTransportConnector.batchRetrieve(DiscoveryServiceTransportConnector.java:130)
at com.tridion.transport.connection.connectors.TransportPoolConnector.batchRetrieve(TransportPoolConnector.java:85)
at com.tridion.transport.DestinationController.poll(DestinationController.java:264)
at com.tridion.transport.DestinationController.run(DestinationController.java:223)
at java.lang.Thread.run(Unknown Source)
From the error, it looks like the transport service can't get a connection from the pool.
I've been trying to play with the number of workers and number of threads for publishing and deploying, but to no avail. Does anyone know what might be causing these timeouts ?