UBC VPN and License Connectivity
Patchworks license checks use SPS_LICENSE_SERVER in
<user>@<server> form. Example placeholder:
<sps_user>@auth.spatial.ca
<sps_user> is a template token, not a literal username.
Known-good FEMIC/Patchworks operation on UBC institutional Windows workstations
assumes Patchworks is already installed locally and the real
SPS_LICENSE_SERVER value is already set in global system configuration. In
that normal Windows path, FEMIC should inherit the system environment instead
of injecting a replacement runtime value.
Primary Topology
Use host-level UBC myVPN connectivity and run FEMIC/Patchworks commands from the same Linux environment while the VPN session is active.
CLI OpenConnect Pattern
Based on the uploaded UBC GNU/Linux myVPN guide:
sudo openconnect myvpn.ubc.ca
Then provide credentials at prompt:
CWL username
CWL password
Optional MFA suffix patterns when needed (for example
@appor@phone)
Keep the terminal open while connected.
Diagnostic Steps
Confirm VPN tunnel is active (host networking).
Run Patchworks preflight:
PYTHONPATH=src python -m femic patchworks preflight --config config/patchworks.runtime.yaml
If preflight fails, verify:
SPS_LICENSE_SERVERis in<user>@<server>formatSPSHOMEis set to the Patchworks install path visible to WineCorrect VPN profile/pool and MFA suffix
Failure Signatures
wine64/wine not found on PATH: install Wine runtime in the execution environment.Java runtime unavailable inside Wine context: install/configure Windows Java runtime available to Wine.License value must use '<username>@<server>' format: fixpatchworks.license_valueor exported env var content.Missing Patchworks install home: setpatchworks.spshomein runtime config or exportSPSHOME.
License Reachability Ownership
FEMIC preflight validates environment/config only. Patchworks itself performs license-server communication at launch time.
Fallback Path
In-container OpenConnect can be used only where container runtime permits
/dev/net/tun and required capabilities. Host VPN passthrough remains the
recommended default.