BallAerospace / COSMOS Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DART stream server docs #1080
Comments
The example documentation is here: https://cosmosrb.com/docs/dart_api/ |
Thank for the response. Yes, I've read the mentioned docs and still don't see an actual example of a request to the stream server, only the decomm server example is there. Dart was running and data had been ingested at the time I attempted to request the stream, and requests to the decomm server were successful. I'd appreciate any further guidance with the below questions.
|
The stream server is a completely different interface which is described here; https://cosmosrb.com/docs/dart_api/#dart-stream-server. Note the port is 8779 by default. The best way to figure it out would be to look at the spec: https://github.com/BallAerospace/COSMOS/blob/master/lib/cosmos/dart/spec/dart/dart_tcpip_server_interface_spec.rb#L82 Or check out how we use it internally in COSMOS DataViewer: https://github.com/BallAerospace/COSMOS/blob/master/lib/cosmos/tools/data_viewer/data_viewer.rb#L519 |
We seem to be talking in circles here. As I've mentioned in the original question I'm running this off of the default demo project, and the config for that is
^ your docs are wrong - that's me trying to help you out I'm trying as best I can to break this down in to simple questions, but none are addressed directly. I'd be very willing to pay for support if that's the only way to avoid digging through source code for clues. With dart and tml server running, data being ingested, should I be able to establish a websocket connection with the server with the like below or is there something I am missing?
|
You're right. We have the defaults backwards in the code but the config overrides that. I'll update the code and documentation. Thanks! The streaming interface was provided as an internal interface for our existing tools. This is why we stream packets out using our self-defined PREIDENTIFIED stream format. If you want to try to hook up some other system to this interface I'm afraid digging through the source is probably the only way forward. That's why I pointed you to the code examples because I assumed you're trying to interface Ruby code and can use our internal libraries. If you'd like to setup a support contract please contact us at cosmos@ball.com. |
I'm having trouble understanding the request flow for receiving data from the Dart stream server. The docs are a bit sparse and don't provide any examples.
FYI - the ports for Dart services in the docs are opposite of what comes installed by default.
I'm unable to establish a socket connection to ws://{host}:8777 and POST http://{host}:8777 with body gets no response.
Am I missing something?
The text was updated successfully, but these errors were encountered: