I have a B4j TCP app running on my server which runs great and I receive data (2 Bytes) from remote devices on a given port.
However, at least once a day I receive the following on the port:
This creates the following error:
How can I prevent this?
However, at least once a day I receive the following on the port:
B4X:
User-Agent: Hello from Palo Alto Networks, find out more about our scans in https://docs-cortex.paloaltonetworks.com/r/1/Cortex-Xpanse/Scanning-activity
Accept-Encoding: gzip
B4X:
(StringIndexOutOfBoundsException) java.lang.StringIndexOutOfBoundsException: Range [-1, 0) out of bounds for length 219