Enterprise Vault Search fails with Event 41520: Unable to contact the search API. Reason: The server rejected the upgrade request

book

Article ID: 100051978

calendar_today

Updated On:

Description

Error Messages

Client-side error:

Enterprise Vault Search
Unable to contact the Search API.
Wait and try again. If the problem persists, contact your Enterprise Vault administrator.

Server-side errors:

Log Name:      Veritas Enterprise Vault
Event ID:      41520
Level:         Error
Unable to contact the search API
Reason: The server rejected the upgrade request.

Log Name:      System
Event ID:      3
Task Category: Listener Adapter
Level:         Error
Description:An error occurred in the Activation Service 'NetTcpActivator' of the protocol 'net.tcp' while trying to listen for the site '1', thus the protocol is disabled for the site temporarily. See the exception message for more details.
 URL: WeakWildcard:net.tcp://host.contoso.com/
 Status: FailedToListen
 Exception: System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:808. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at System.ServiceModel.Channels.SocketConnectionListener.Listen()
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.SocketConnectionListener.Listen()
   at System.ServiceModel.Activation.TransportListener.Go(IConnectionListener connectionListener)
   at System.ServiceModel.Activation.TransportListener..ctor(IPEndPoint endPoint)
   at System.ServiceModel.Activation.TransportListener.Listen(IPEndPoint endPoint)
   at System.ServiceModel.Activation.RoutingTable.TcpStart(MessageQueue messageQueue, BaseUriWithWildcard path)
   at System.ServiceModel.Activation.MessageQueue.Register(BaseUriWithWildcard path)
   at System.ServiceModel.Activation.ListenerAdapter.RegisterBindings(IActivatedMessageQueue queue, Int32 siteId, String[] bindings, String path)
 Process Name: SMSvcHost
 Process ID: [PID]


The PowerShell command below can show the process name that is using port 808.

Get-NetTCPConnection -LocalPort 808 | select -ExpandProperty own* -First 1 | % { get-process -Id $_}

Cause

The Net TCP port sharing service's default port of 808 is assigned to another application.

Resolution

Change the port of the application identified with the PowerShell command above to a port other than 808  and restart IIS, Enterprise Vault Indexing Service, and net tcp port sharing service.

Issue/Introduction

Enterprise Vault Search fails with Event 41520: Unable to contact the search API. Reason: The server rejected the upgrade request