Score:0

openconnect fails with "No SSO handler"

jp flag

Previously I could connect to my office Windows machine remotely from Ubuntu using:

sudo openvpn --mktun --dev tun1
sudo ifconfig tun1 up
sudo openconnect ${VPN_SERVER_ADDRESS} --authgroup=${VPN_AUTH_GROUP} --interface=tun1

...I would then use Remmina to establish the connection to my machine. When I was finished with Remmina, I would then shutdown with:

sudo ifconfig tun1 down
sudo openvpn --rmtun --dev tun1

A few days ago, this stopped working. After the call to openconnect, the last 3 messages I get are:

Please complete the authentication process in the AnyConnect Login window.
No SSO handler
Failed to complete authentication

The "AnyConnect Login window" mentioned (or any other window) does not appear. How can I provide a suitable SSO handler, or otherwise get past the problem? I have tried adding --external-browser=firefox (or --external-browser=/usr/bin/firefox, and also with chromium), but this makes no difference. I would like to use an open source solution, and I'm using Ubuntu 23.04.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.