HTTP Code : 604 Missing reservation
Symptoms:
java.io.IOException: Server returned HTTP response code: 604 ...
Calling node receives a network service code 604 is unable to push or pull data.
Explanation:
This error occurs during a push to a destination node. Push requests involve a two step process. The first is to obtain a reservation from the destination node that it is able to service the request at this time before data is transmitted. Once a reservation has been made between the caller and the destination a second action can be made to push the payload of data.
This error code will most commonly appear when a load balancer is misconfigured. Although there are different ways to configure a load balancer with SymmetricDS if the first request above is sent to server 1 behind the load balancer and then the second request to send the payload of data is sent to server 2 the missing reservation will occur because server 2 is not expecting this payload.
Solutions:
- Configure load balancer with sticky sessions.
- Read section 2.3 of the documentation to ensure clustering and your load balancer are setup properly.
Additional Read:
https://www.jumpmind.com/data/documentation/