Different versions of Opal in a network

Hello,

I am working on a project with multiple servers that have different versions of Opal and I have the following issue:

One of the servers has Opal version 5.5.1. With DSOpal 1.4.0, DSI 1.7.1 and opalr 3.4.2, I can restore my saved workspace but then I get this error message with all DataSHIELD functions:

“[Client error: (403) Forbidden] XSRF token validation failed”.

When I upgrade the three packages to the latest versions (DSOpal 1.5.0, DSI 1.8.0, opalr 3.5.2), I can restore the workspace and do the analysis.

A second server has Opal version 4.4.12. With DSOpal 1.4.0, DSI 1.7.1 and opalr 3.4.2, I can restore my workspace and do the analysis with this server, but with the latest versions of the three packages I get a warning message and the workspace is not restored:

In .datashield.workspace_restore(o, name) :
  server: Workspaces are not available for opal 4.4.12 (4.5.0 or higher is required)

Is there a way to solve this without asking the data managers to change their Opals?

Thanks

Hi,

If the “workspace restore” feature is not available on the opal server there is nothing you can do except asking for an Opal application upgrade. Opal 4.4 is four years old, and a lot has gone since that time, including many security and performance updates. Upgrading to Opal 4.7 is not a problem. Opal 5+ requires a bit more work since the java runtime needs to be upgraded as well (java 8 to 21).

Best regards
Yannick

Thanks Yannick. I will ask them then to do an upgrade.