Skip to main content
Solved

WebSockets for FME Server (cloud), WebSocketSender: Failed to perform handshake with remote host

  • September 29, 2017
  • 2 replies
  • 61 views

dfresh
Forum|alt.badge.img

hey folks,

https://fmeserver-eval-safe-software.fmecloud.com

when attempting to send sockets to the FME Cloud eval, it will continually fail for local host on port 7078, which makes sense, cause I am using the trail version on the cloud, anyways does anyone know of a way to connect to the sockets through FME cloud?

Thanks,

Doug

Best answer by gerhardatsafe

Hi @dfresh

For 2017+ FME Cloud instances, port 7078 is closed by default and the WebSocket is accessed via the secure WebSockets protocol wss:// on port 443, since we use NGINX as a reverse proxy. NGINX allows connections to be proxied to the right service based on the request path. We took advantage of this and enabled WebSocket connections on port 443 (default HTTPS port). For more details check out this blog.

For the FME Server Evaluation instance, for example, the correct WebSocket Server URL to use is this:

wss://fmeserver-eval-safe-software.fmecloud.com/websocket

Please let us know if this works for you!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • September 29, 2017

Hi @dfresh,

This is a great question about FME Cloud.

Unfortunately i dont have on this time access to FME Cloud to test. Can someone help?

Thanks,

Danilo


Forum|alt.badge.img
  • 288 replies
  • Best Answer
  • October 2, 2017

Hi @dfresh

For 2017+ FME Cloud instances, port 7078 is closed by default and the WebSocket is accessed via the secure WebSockets protocol wss:// on port 443, since we use NGINX as a reverse proxy. NGINX allows connections to be proxied to the right service based on the request path. We took advantage of this and enabled WebSocket connections on port 443 (default HTTPS port). For more details check out this blog.

For the FME Server Evaluation instance, for example, the correct WebSocket Server URL to use is this:

wss://fmeserver-eval-safe-software.fmecloud.com/websocket

Please let us know if this works for you!