crotwell / seisFile

A library for reading and writing seismic file formats in java.
GNU Lesser General Public License v3.0
27 stars 20 forks source link

Connection reset #15

Closed andreabono closed 4 years ago

andreabono commented 4 years ago

Working with earthworm wave servers I often get a "connection reset" exception.
Did I forget something? Maybe an earthbeat is needed? Can you please help me?

crotwell commented 4 years ago

I expect that the wave server is closing the connection due to inactivity, but I don't run a earthworm wave server any more so I can't test here. I don't know that it has an inactivity timeout on the connection, but it wouldn't surprise me.

Catching the exception, reconnecting and then resending the request is probably the only way to deal with this.