Hi All,
I too was having the issue where i couldn't connect to the deluge webui port 8112 if i had vpn set to true.
looking at the logs in debug mode, everything seemed fine, but it was hanging trying to get an ip address from my vpn provider.
after banging my head against the wall for some time, i noticed that the default port for my vpn provider was 1194, and NOT 1198 which is default in the docker config.
After setting the vpn port to 1194 the app works like a charm. Hopefully this helps others with the same issue. Many thanks Binhex for an awesome package and all your work in helping others.