Hello, all. This is a really technical question but I’m hoping someone in the know can give me some insight.
I’m using the OptoMMP3 dll, version 126.96.36.199, to query an R2 about once a second. When it does this, it retrieves a block of data from the scratchpad. Any communications errors are logged to a text file.
This works the majority of the time, but there are some days in which communications fails. Looking back at the log, I notice two types of errors.
The first is a simple timeout, which makes since because the R2 is turned off during this time. The error message returned by the API is “BlockReadRequest; Timeout, no data was received. Either the remote host didn’t receive the request or a packet was dropped.”
The second error occurs when the R2 is on and should be communicating. The error message returned by the API is “An communication error occurred (BlockReadRequest). Check port status, may have automatically closed.::An existing connection was forcibly closed by the remote host”.
The R2 is not connected directly to the computer. It’s going back to a Cisco switch. This is at a customer’s location so I can’t say how the switch is configured. Recently, we connected the computer directly to the R2 and the errors seem to have been resolved.
To me, it seems the Cisco switch is interfering with comm, but I don’t know how. Can someone explain what might be happening and what that second error actually means?