Universalis
Universalis copied to clipboard
Frequently reporting SSL errors
As shown in the screenshot, when I call the item price API, about 40% of requests will report an error; My call frequency is relatively low, below 25 req/s. I don't know why, but I hope to get an answer. Here is my code:
HttpResponse response = HttpUtil.createGet(hqUrl) .setSSLSocketFactory(SSLContextBuilder.create().setProtocol("TLSv1.2").build().getSocketFactory()) .timeout(30000) .execute()