Connection between core and cloud

Dear All,

I am a new user of spark. I got a basic question regarding the communication between cores and cloud. Based on my understanding, cloud is able to send REST requests to the core. We know that spark core is working behind the router and as long as I know, you cannot access devices behind the router as a server, unless you open a port in the router. Now my question is, how exactly cloud calls core functions? Is there anything that I missed here?

Thanks

The Core actually opens up a connection to the Cloud. It is fine in this case as the device behind the router is the initiator. Much like how your browser connects to an outside website. The connection is then just held open by both sides.

The issue is when the server wants to initiate, but that is not happening here.

1 Like