Login/Register
  • Home
  • Community
  • Knowledge
  • Technical Docs
  • RWS Support Policy
  • Trados Studio Licensing Help
  • Login for Support
Back to Search Results

Tridion Docs: Unable to add account in Publication Manager: The underlying connection was closed

000019479 |9/14/2022 4:01 PM
Scope/Environment
Knowledge Center 2016, Tridion Docs 13 or Tridion Docs 14 Client Tools
Symptoms/Context
When trying to add a new account in the client tools you see the following error message in the add account dialog:
UnderlyingConnectionClosed.png
The following exception block is shown in the publication manager log file:
[...]
Error	Trisoft.InfoShare.Client.InfoShareWebClient.GetWebResponse		[]	
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
[...]

 
Resolution
Make a backup of Trisoft.PublicationManager.Host.exe.config and open it in a text editor.
Under the <runtime> section in the config file add the following line:
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>
so that it looks like:
[...]
	<runtime>
		<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>
[...]


 
Root Cause
Older versions of the client tools are compiled against older versions of the .net framework.
Around the time that these .net frameworks were current, the newer TLS versions were not in use yet.
Reference
Send Article Feedback
RWS Machine Translation Translation Software Language Services Content Management
All Contents Copyright © RWS.
COPYRIGHT PRIVACY POLICY COOKIE POLICY TERMS AND CONDITIONS