Jump to content
Updated Privacy Statement

A protocol error occured while communicating with the Authentication Service


nick d

Recommended Posts

I'd like to provide a little more context to this issue, and to the resolution.  I worked with Citrix support on this issue for quite a while, even though I rebuilt the environment for my client, as I needed it resolved sooner that the support case would take.

 

The issue only occurs if you install storefront from the 7.8 complete installer.  If you download the Storefront 3.5 installer, you will not have this issue.

 

The storefront developer I spoke with stated that he believed it was an issue with how the all in one installer was packaged.  We confirmed this, by using the stand alone StoreFront 3.5 installer.

 

StoreFront 3.6 did come out on June 1st, however it's not packaged with the 7.8 installer, so it won't help in that instance.  I assume the stand alone installer of 3.6 will work just fine, as well.

 

If you have already installed StoreFront using the 7.8 installer, and you have this issue, there is a work around without having to rebuild your entire storefront configuration.  Install storefront 3.5 using the stand alone installer, to another server, and then join it to the first server.  This will copy over all of the configuration settings, and you can then remove the first server from the storefront group.  If you need to go back to the first server, you can simply uninstall storefront, reinstall with the stand alone installer, and join it to the storefront group.  Then remove the new server from the group and uninstall.

 

I had to do this with a client.  We had 2 servers installed with the 7.8 installer, so we staged another storefront server, using the stand alone installer, joined it to the group, then removed the other 2 servers, uninstalled, reinstalled joined, and then removed the new server.

 

Hope that helps someone else.

  • Like 1
Link to comment
Share on other sites

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

Also check the IIS website bindings for the site Storefront is using.

 

This issue was driving me bananas until I changed the bindings back to default.  Essentially the IIS website bindings need to be configured so that it's ...

 

...listening on all IP addresses on port 80 with no host headers, and all IP addresses on port 443 with no host headers.  Absolutely nothing else at all.

 

Essentially do not share the default website with anything else and do not customise the default site bindings.  If this was in any documentation I sure as hell missed it.

 

Don't know if this will solve anyone else's problem, but it solved it for me.  Most of my hair is now growing back...

Link to comment
Share on other sites

  • 4 months later...

Got the same issue in an installation where  StoreFront had been installed from the 7.8 installation media in a redundant deployment.

The workaround from Jeremy Holt didn't work in my case.

To resolve the issue, I had to reinstall StoreFront 3.5 to a 3rd server and configure a completely new deployment. Then I uninstalled StoreFront from my 2 StoreFront servers and reinstalled it from the standalone package. After joining the servers to the new deploymend I removed the 3rd server.

 

I double-checked with Citrix support before doing this, there is no other fix.

Link to comment
Share on other sites

I solved this issue with a change in the web.config file under the Roaming folder. I found out, that there is a path to /Citrix/Authentication under the <tokenManager> section on a storefront installation over the XenDesktop Controller installation wizard:

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218">
            <add id="79993481-fcc1-42e2-90bc-540f0491d106" location="http://citrix-xd.xyz.local/Citrix/Authentication/auth/v1/token"
              verifyId="47e2c2ae-3a84-4168-801f-36ea94dd7d0e" />
          </trustedIssuers>
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>
 
On a deployment with the standalone installer the <tokenManager> looked like this (no "add id" section)
    <tokenManager>
      <services>
        <clear />
        <service id="835f2d8a-3f1a-4374-b35e-f01bf2c3827e" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="f183351c-0b04-4a97-90b1-42938f02a63a" />
          <allowedAudiences>
            <add name="http-srvpvs01" audience="http://srvpvs01/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>

 

After i removed the "add id" section, the Receiver configuration works as desired

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218" />
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>
 

 

  • Like 8
Link to comment
Share on other sites

I solved this issue with a change in the web.config file under the Roaming folder. I found out, that there is a path to /Citrix/Authentication under the <tokenManager> section on a storefront installation over the XenDesktop Controller installation wizard:

 

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218">
            <add id="79993481-fcc1-42e2-90bc-540f0491d106" location="http://citrix-xd.xyz.local/Citrix/Authentication/auth/v1/token"
              verifyId="47e2c2ae-3a84-4168-801f-36ea94dd7d0e" />
          </trustedIssuers>
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>

 

 

 
On a deployment with the standalone installer the <tokenManager> looked like this (no "add id" section)

 

    <tokenManager>
      <services>
        <clear />
        <service id="835f2d8a-3f1a-4374-b35e-f01bf2c3827e" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="f183351c-0b04-4a97-90b1-42938f02a63a" />
          <allowedAudiences>
            <add name="http-srvpvs01" audience="http://srvpvs01/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>

 

 

 

After i removed the "add id" section, the Receiver configuration works as desired

 

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218" />
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>

 

 

 

 

  • Like 4
Link to comment
Share on other sites

I solved this issue with a change in the web.config file under the Roaming folder. I found out, that there is a path to /Citrix/Authentication under the <tokenManager> section on a storefront installation over the XenDesktop Controller installation wizard:

 

<tokenManager>

      <services>

        <clear />

        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">

          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />

          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218">

            <add id="79993481-fcc1-42e2-90bc-540f0491d106" location="http://citrix-xd.xyz.local/Citrix/Authentication/auth/v1/token"

              verifyId="47e2c2ae-3a84-4168-801f-36ea94dd7d0e" />

          </trustedIssuers>

          

 

On a deployment with the standalone installer the <tokenManager> looked like this (no "add id" section)

    <tokenManager>

      <services>

        <clear />

        <service id="835f2d8a-3f1a-4374-b35e-f01bf2c3827e" displayName="Roaming Consumer">

          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />

          <trustedIssuers decipherId="f183351c-0b04-4a97-90b1-42938f02a63a" />

          

 

After I removed the "add id" section, the Receiver configuration works as desired

 

<tokenManager>

      <services>

        <clear />

        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">

          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />

          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218" />
  • Like 2
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...

 

I solved this issue with a change in the web.config file under the Roaming folder. I found out, that there is a path to /Citrix/Authentication under the <tokenManager> section on a storefront installation over the XenDesktop Controller installation wizard:

 

 

 

That worked like magic...!

 

After removing the line the Citrix App started working right away...

 

Thx for sharing!

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...
  • 2 weeks later...

I did remove <add id> within a StoreFront 3.8 environment facing this problem today and it worked. On first try, I did not read carefully, as the change should be made within the web.config file in the Roaming folder (not in the folder of a specific store). After the removal of the <add id> section (on bothe StoreFront servers), it started to work instantaneously. No restart of services or else needed. 

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

This may be fixed with Storefront 3.11:

When you select a configured Site during the setup of XenDesktop, a default store might be created in StoreFront that uses the default Authentication Service. If you remove this store, users of Citrix Receiver for Windows cannot add any other stores and the following error message might appear:

"A protocol error occurred while communicating with the Authentication Service."

[#LC6664]

 

http://docs.citrix.com/en-us/storefront/3-11/about/fixed-issues.html

--

Marco Hofmann

https://www.meinekleinefarm.net

Link to comment
Share on other sites

I have figured out what the problem is. (No thanks to Citrix support). Its a bug. Just waiting to get a fix from them. The issue is that if you delete the default store that is created when you install Storefront, it breaks authentication. If you edit the default store or leave it as is and add your own store, everything works fine. Once you delete the default store, Authentication is broken. You can fix this by uninstalling Storefront and reinstalling it but I want a fix as I have already customized this store. I figured this out by installing a new Storefront server that worked fine until I deleted that default store called "Store Service"

 

Nick

Nick did you ever get an answer for this? 

 

This might be a faster compared to uninstalling storefront:

  1. "$Env:PROGRAMFILES\Citrix\Receiver StoreFront\Scripts\ImportModules.ps1"
  2. Run the Clear-DSConfiguration command, which resets the server to default settings.

ref: https://docs.citrix.com/en-us/storefront/3/sf-install-standard/dws-deploy-join.html

 

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Thankfully there are smarter people then citrix support out there.  Just saved me hours of freaking work by editing the web.config file.

Why is it that customers can figure this out but the idiots who create the software can't....

Same situation here.

 

Troubleshot for a few hours and came across this.

 

XenDesktop 7.14.1, StoreFront 3.11 and Receiver for Windows 4.8

Link to comment
Share on other sites

  • 3 months later...
  • 3 weeks later...
  • 2 months later...
  • 6 months later...

Hi,

 

this issue is not resolved in newer versions. I just installed components from XA&XD 7.15.2000 LTSR dvd (SF is version is 3.12.2000.8), and this same problem exists.

I also tried this remove "add id" section trick with no help.

 

ONLY removing/reinstalling SF completely fixed it.

 

Thank you.

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 2 months later...
On 10/25/2016 at 10:27 AM, Markus Fumasoli1709152661 said:

I solved this issue with a change in the web.config file under the Roaming folder. I found out, that there is a path to /Citrix/Authentication under the <tokenManager> section on a storefront installation over the XenDesktop Controller installation wizard:

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218">
            <add id="79993481-fcc1-42e2-90bc-540f0491d106" location="http://citrix-xd.xyz.local/Citrix/Authentication/auth/v1/token"
              verifyId="47e2c2ae-3a84-4168-801f-36ea94dd7d0e" />
          </trustedIssuers>
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>
 
On a deployment with the standalone installer the <tokenManager> looked like this (no "add id" section)
    <tokenManager>
      <services>
        <clear />
        <service id="835f2d8a-3f1a-4374-b35e-f01bf2c3827e" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="f183351c-0b04-4a97-90b1-42938f02a63a" />
          <allowedAudiences>
            <add name="http-srvpvs01" audience="http://srvpvs01/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>

 

After i removed the "add id" section, the Receiver configuration works as desired

 

<tokenManager>
      <services>
        <clear />
        <service id="eb2f00ee-f116-4868-b630-c92ec645adde" displayName="Roaming Consumer">
          <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
          <trustedIssuers decipherId="39d87e3b-0f49-4316-92bf-3a7e4d8ee218" />
          <allowedAudiences>
            <add name="http-citrix-xd.xyz.local" audience="http://citrix-xd.xyz.local/" />
          </allowedAudiences>
        </service>
      </services>
    </tokenManager>
 

 

I can confirm that this worked in our environment as well. After reming out the add id section the protocol error was remediated.

 

Thanks so much for this fix.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...