...
In Section 2.1.1 you have also established a tunnel for forwarding logserver traffic. In order to send the the log requests from ecflow_ui to the local tunnel entrance, you need to add "127.0.0.1 logserver" alias in /etc/hosts on your laptop (replace "logserver" with an actual ECMWF logserver name).
In practice, using the Local Port Forwarding method we can only connect to a single ECMWF logserver. This is because:
...
However, to use the proxy, the client application (ecflow_ui) must be able to speak SOCKS protocol. We will show how to enable it for ecflow_ui.
...
Applications which want to use SOCKS proxy must speak SOCKS protocol. Some applications can be SOCKS-ified using a tool called proxychains. The tool intercepts the application's network traffic, adds a protocol layer and redirects traffic to the proxy. Luckily, the ecflow_ui.x executable can be SOCKS-ified this way.
...
- you can ask the ecFlow server administrator to add your laptop username to the server's whitelist, or
- you can create a new user account on your laptop, setting username to match the ECMWF username.
If you create a new user account for ecflow_ui but want to keep using your regular account, here is a handy script for running ecflow_ui as another user. It uses Dynamic Port Forwarding method, but can be easily adapted to use Local Port Forwarding.
...
- Job output not visible in some cases
- Sometimes ecflow_ui fails to fetch the job output, job script and .sub files from the logserver. Refreshing the tab usually fixes the issue. The initial error looks like: "Output directory: [1] Failed to fetch from logserver@9316 error: The remote host closed the connection. [2] No access to path on disk!"
- For some suites the ecflow_ui cannot retrieve job output, job script and .sub files no matter what. It happens when the log server at the centre doesn't have access to these files. ecflow_uis running at the centre have direct access to the files on disk so no problem, but remote ecflow_ui cannot access them.
- The timeline and server load functionality currently doesn't work
- UI unresponsive/freezing on MacOS - when running ecflow_ui as another user via sudo, the interface often freezes for a few seconds when closing a window, clicking on buttons etc. Seem to be a Qt issue on MacOS, according to Sandor
...