question

Sukhbir Singh avatar image
Sukhbir Singh asked Sukhbir Singh commented

Application stuck when receiving data from InputStream of TCP Socket after TLSv1.2 integration in Clover Mini 2nd generation.

Hi @Clover_FAQ @Tim Suh

We are receiving the request from Socket in the following formate: (The request is in multiline)
{
"M_I": "12345678",
"T_P": "heart",
"Con": {"S_Num": "bdhaksdsdbk"}
}

When we read the data from scocket InputStream via following code:

Scanner scanner = new Scanner(inputStream).useDelimiter("\\Z");
String data = scanner.next();

Application is stuck on scanner.next() on Clover Mini 2nd generation device.
While its working fine on Clover Flex and Mobile device.


We have already checked it with BufferedReader same issue is happening.Please suggest.
Clover Minisemi-integrationsClover Flexclover developer communityClover Mobile
10 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

What's our target & maximum SDK versions?

0 Likes 0 ·

Hi @Bryanne Vega

Target SDK version is 25,

Maximum SDK is not defined.

Pease suggest.

0 Likes 0 ·

Any errrors, logs or additional details after X amount of time? No timeouts?

0 Likes 0 ·
Show more comments

Hi @Clover_FAQ

Is any suggetion on this?

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community