Android app not connecting via VPN

I am trying to access to a WebDAV endpoint from the Android Joplin app (v 1.0.312), via VPN (namely Wireguard).

  • the WebDAV endpoint is a docker container running on Ubuntu 18.04
  • I can access it from the same phone via Chrome (after logging in I see the files)

The error on the app is:

01-22T16:16:22,10,"""TypeError: Network request failed value@[native code]""