EarthScope / ringserver

Apache License 2.0
30 stars 17 forks source link

When querying streams or stream IDs, ringserver only shows one stream #30

Open Guillaume-Savaton-ESEO opened 3 years ago

Guillaume-Savaton-ESEO commented 3 years ago

I have compiled and set up ringserver 2020.075 for a home-made seismic interrogator. The interrogator is based on an ARM 32-bit embedded computer that runs a customized Linux distribution based on the Yocto project.

The server is configured to scan a directory of miniSEED files generated with libmseed 2.19. These files contains data from 4 channels.

When queried for the list of provided streams, using one of the methods below, the server always returns only one stream:

However, slinktook -p server:18000 reports data packets for all 4 channels.

Is it a configuration problem, or do you think my miniSEED files are ill-formed? I can provide some samples if needed.

Here is the content of the ringserver.conf file:

RingDirectory /media/data/ringserver
ListenPort 5000 HTTP
DataLinkPort 16000
SeedLinkPort 18000
ServerID "Loki"
TransferLogDirectory /media/data/log/
TransferLogRX 0
MSeedScan /media/data/record StateFile=/media/data/ringserver/ringserver.state Match=.*mseed$ InitCurrentState=y
HTTPHeader "Access-Control-Allow-Origin: *"
chad-earthscope commented 3 years ago

Hi @Guillaume-Savaton-ESEO,

Well, that is quite strange and, for the moment, I cannot imagine how that is possible.

Yes, please send me some examples of the data. For more privacy, if you wish, you can send a pointer to a download to my email address on this page: https://www.iris.edu/hq/staff#trabant

yensoon2 commented 3 years ago

Hi @chad-iris and @Guillaume-Savaton-ESEO,

I also can reproduce this issue, i.e. ringserver 2020.075 on my platform always returns only one stream.

The cause and proposed fix for this issue is described in pull request #29.

chad-earthscope commented 3 years ago

Thanks for connecting these issues @yensoon2. In the next month or two I'll be working on ringserver again and will incorporate this fix in a release.