We have Rest web services on a glassfish4 (payara) server Our rest client is based on httpClient Lib As Authentication we use certificate and basic auth. The client work well getting and posting infos to WS But when we send a multipart post with file bigger than few bytes, parsing the request hang until a timeout
If we disable the certification auth, all is working
Thanks to payara blog, we address the problem: we needed to change a configuration in payara, "Max Save Post Size" in Network Config->Network Listener -> http-listener-2 (the one using ssl) - http tab