Can't set Deluge as Sonarr download client

Had to upgrade Deluge and since then I’m having trouble setting it as the download client in Sonarr.

Getting variety of error messages whenever I “Test” in Sonarr including:
Unknown exception: Unable to write data to the transport connection: The socket has been shut down.
and
Unknown exception: The request was aborted: The request was canceled.: 'http://192.168.0.11:8112/json'
and
Unble to test connection: Error getting response stream (ReadDoneAsync2): ReceiveFailure: 'http://192.168.0.11:8112/json'

No clue what the issue is - could it be something with the newer version of Deluge (v2.0.3-2-201906121747-ubuntu18.04.1)

Not entirely helpful but I have no problem using Sonarr: 3.0.3.928-ls44 and the latest Deluge (same as you).

Maye share your compose or run command and a bit more about your setup.