Skip to main content

I am trying to have this demo https://community.safe.com/s/article/live-spatial-dashboard working on my FME Server, but I am not sure what is the right port to use in the web socket sender, I have my FME Server in another server from my network so I access it through the hostname and a specific port, but I have tried to use the same host name to get this Demo working and I can't have it correctly. I am using (ws:<hostname>:7078) in the websocket sender, and originally it was (ws:localhost:7078/websockets), my browser is giving me a connection error.

websocket errorWhen I run the workspace in FME Server I don't get an error, it keeps running.

Thanks

 

I have a series of blog posts about connecting a weather station to FME Server that might help you out. https://imapping.wordpress.com/

Parts 3 and 4 cover using web sockets.

https://imapping.wordpress.com/2021/03/09/connecting-a-weather-station-to-fme-pt-iii/

https://imapping.wordpress.com/2021/03/26/connecting-a-weather-station-to-fme-pt-iv/


The first thing I would be looking at is if port 7078 is open on any firewalls between your machine and the FME Server.


The first thing I would be looking at is if port 7078 is open on any firewalls between your machine and the FME Server.

You should be able to test this by going to the topic monitoring section of the FME Server web UI (/fmeserver/#/notifications/topics/monitoring) and using developer tools in your browser to look for web socket traffic.


I have a series of blog posts about connecting a weather station to FME Server that might help you out. https://imapping.wordpress.com/

Parts 3 and 4 cover using web sockets.

https://imapping.wordpress.com/2021/03/09/connecting-a-weather-station-to-fme-pt-iii/

https://imapping.wordpress.com/2021/03/26/connecting-a-weather-station-to-fme-pt-iv/

Thanks @Gary Nicholson​ I will definitively check those blogs, they seem really interesting, and regarding the port, I have fixed that, just how you sugested on the other comment, thanks for that too. Now it seems like the js code in the demo is a little outdated, so the map is receiving the data but is not able to show the markers, I will study a bit the documentation of Mapbox and try to fix it. I will let you know if I have any other question or comment about your work.


Reply