Too many hops

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

Too many hops

Post by abatie »

We have a weird problem on one of our 8.7.11 OS mailstores, where any action on an account there gets:

# zmprov ga <some account on the server>
ERROR: service.TOO_MANY_HOPS (mountpoint or proxy loop detected)

I did a gs on this server and one that's working, did a diff, and found nothing unexpectedly different - everything that is different should be (name, create time, key info, etc).

Addenda: This is only happening on the admin server, not any of the other servers.
abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

Re: Too many hops

Post by abatie »

As the accounts on the affected server were pre-production, we deleted them, removed the server from the cluster, uninstalled and reinstalled zimbra. That seems to have fixed the problem, though it would be nice to know what caused it...
abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

Re: Too many hops

Post by abatie »

This problem has recurred, on the same server. Any pointers as to what might be causing this would be helpful, as we can't keep reinstalling once we get real users on it...
abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

Re: Too many hops

Post by abatie »

In playing with zmsoap on the admin machine, to see if there are some clues:

A request to find the server the account is on:

Code: Select all

/home/alan/zurbad.gair:
<GetAccountInfoRequest xmlns="urn:zimbraAdmin">
      <account by="name">user@domain</account>
</GetAccountInfoRequest>
result:

Code: Select all

zmsoap -z -f /home/alan/zurbad.gair
<GetAccountInfoResponse xmlns="urn:zimbraAdmin">
  <name>user@domain</name>
  <a n="zimbraId">2ed8bb87-c5d5-4e95-9200-92fcbebe4cca</a>
  <a n="zimbraMailHost">zmail04-store09.peak.org</a>
  <cos name="account-cos" id="afcfdfca-decb-46a3-8e88-187de2b14932"/>
  <soapURL>https://zmail04-store09.peak.org:8443/service/soap/</soapURL>
  <adminSoapURL>https://zmail04-store09.peak.org:7071/service/admin/soap/</adminSoapURL>
  <publicMailURL>https://zmail04-store09.peak.org:8443</publicMailURL>
</GetAccountInfoResponse>
Then do an account request directly to the server the account is on:

Code: Select all

/home/alan/zurbad.gar:
<GetAccountRequest applyCos="1" xmlns="urn:zimbraAdmin">
      <account by="name">user@domain</account>
</GetAccountRequest>

Code: Select all

zmsoap -z -f /home/alan/zurbad.gar -u https://zmail04-store09.peak.org:7071/service/admin/soap/
ERROR: service.TOO_MANY_HOPS (mountpoint or proxy loop detected)
However doing the same command locally on store09 works:

Code: Select all

zmsoap -z -f /home/alan/zurbad.gar 
<GetAccountResponse xmlns="urn:zimbraAdmin">
  <account name="user@domain" id="2ed8bb87-c5d5-4e95-9200-92fcbebe4cca">
    <a n="zimbraDeviceLockWhenInactive">FALSE</a>
    <a n="zimbraPrefFileSharingApplication">briefcase</a>
    <a n="zimbraDataSourceTotalQuota">0</a>
    ...
Post Reply