I finally opened a ticket to the Citrix Technology Preview about the selfservice IPv4/6 problem because I think I got the right technical details.
selfservice
hanging and never returning Apps can translate to :
Citrix attempts to make a HTTPS request over IPv4, when supposed to do it in IPv6, and it does not return a HTTP response. On the other hand, the same HTTP request in IPv6 receives very well the response 200 OK
Attaching a Wireshark TCP sniffer on my machine revealed that the following HTTP request is never receiving a response from the NetScaler gateway, it is attemting 3 times, 10 minutes each, so the timeout is very long 30min.
The following HTTP request, converted to curl, fails and is never getting a response, and will work if you remove -4, or change -4 to -6.
curl 'https://<NetScalerGateway>/Citrix/<NetScalerEndpoint>/auth/v1/token' \
-4 \
-H 'User-Agent: CitrixReceiver' \
-H 'Content-Type: application/vnd.citrix.requesttoken+xml' \
-H 'Accept: application/vnd.citrix.requesttokenresponse+xml, application/vnd.citrix.requesttokenchoices+xml' \
-H 'Authorization: CitrixAuth <redacted>' \
-H 'Cookie: NSC_AAAC=<redacted>;' \
-H 'X-Citrix-Gateway: <NetScalerGateway>' \
-d '<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<requesttoken xmlns="http://citrix.com/delivery-services/1-0/auth/requesttoken">
<redacted>
</requesttoken>
' \
-v
But the request gets a response if I remove -4 or change it to -6
The issue is, in my opinion, related to the recent changes they have made to bring the IPv6 support on Linux since 2305 because this is the first version I notice the issue.
I think they forgot old codes to update for IPv6 support, because the problem is not necessarily seen from one internet service provider to another but is a blocker issue to run selfservice when it happens.
Pinned Comments
buzo commented on 2021-06-26 12:42 (UTC) (edited on 2023-02-02 09:00 (UTC) by buzo)
If you cannot build because of a missing tar ball or a failed sha256 checksum validation, then the package is most likely outdated and they have removed the old version already. In this case, please click on “Flag package out-of-date”.
evanator commented on 2020-07-02 06:46 (UTC)
Found a fix for "authentication service could not be contacted"
Edit the config file under /home/username/.ICAClient\WFClient.ini and add a new line SSLCiphers=ALL save file and run "killall AuthManagerDaemon ServiceRecord selfservice storebrowse"
Relaunch Citrix and you should be fine