Hi there,
is there a node to retrieve data from a websocket?
The adress would be “wss:/MyServer/ws/longID”
I know it’s possible to create a Python workaround but before I start I just want to be sure that I haven’t missed something.
Andreas
Hi there,
is there a node to retrieve data from a websocket?
The adress would be “wss:/MyServer/ws/longID”
I know it’s possible to create a Python workaround but before I start I just want to be sure that I haven’t missed something.
Andreas
Hi @ActionAndi,
to my best knowledge neither the Web Interaction nodes from Knime (still labs / beta), nor the AF Utilities nor the very advances Selenium Nodes offer teh ability to connect to a WebSocket.
The tricky part is that WS(S) starts as a regular GET, asksing the server if WS(S) is supported and if yes, they switch over. hence, your are currently bound to custom python or java code.
Best, Mike
CTO @ DataNautics GmbH - Your KNIME-Experts
Contact: info@datanautics.gmbh // datanautics.gmbh // +49(0)170-325 713 9 // Linkedin
Daten Automatisierung für Finanz-, Produktion-, IT- und Marketing-Prozesse mit KNIME
Hey @ActionAndi,
what exactly are you trying to build? The bigger question to me is how the WS node would fit into a Workflow execution. Usually a node executes one job and outputs the result of this job. A WS you typically use more if you have a continuous communication flow or want to stream in data. It could fit very well the concept of streaming, but for that I would love to understand your use case.
Greetings,
Daniel
Hi @DanielBog ,
I created an App which communicates with my own API on a web server. If I query it the API sends two answers: one directly the other some time later. The latter on is send via a websocket.
Probably it’s not the most elegant way, but it works.
For testing purposes of the API I created a KNIME workflow. That’s why I asked.
But no worries: I created a standalone python script to do so.
Andreas
CTO @ DataNautics GmbH - Your KNIME-Experts
Contact: info@datanautics.gmbh // datanautics.gmbh // +49(0)176-620 085 63 // Linkedin
Daten Automatisierung für Finanz-, Produktion-, IT- und Marketing-Prozesse mit KNIME
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.