infoxicator / react-native-star-prnt

React-Native bridge to communicate with Star Micronics Bluetooth/LAN Printers
MIT License
67 stars 65 forks source link

Occasional error: "read failed, socket might closed or timeout, read ret: -1" #71

Open stephengladney opened 3 years ago

stephengladney commented 3 years ago

Occasionally, when executing the print() method, we receive the following error:

read failed, socket might closed or timeout, read ret: -1

Sometimes simply retrying the job will succeed. Curious if there's any insight into this error and/or advice on how to avoid it.