E10.2.400.2 cert errors

I have an open call with Epicor for this, however, was wondering if anyone here had any pointers/thoughts?

I get the following error when I try to deploy EDD

Validating Deployment Data.

Installer has detected SSL/TLS vulnerability, Please review install logs for details.

Deployment of Data Discovery started.
Installation of Epicor Data Discovery Started.
ERROR: Failed to fetch token - (System.Net.Http.HttpRequestException): An error occurred while sending the request.

MORE

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Security.IceAuthScheme.<GetAuthenticationScheme>d__5.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.System\Security\IceAuthScheme.cs:line 214
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Security.IceAuthScheme.<GetToken>d__0.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.System\Security\IceAuthScheme.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Utils.InstallerService.<GetToken>d__28.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.Utils\InstallerService.cs:line 289

Failed to fetch token: Inner Exception - (System.Net.WebException): The underlying connection was closed: An unexpected error occurred on a send.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

Failed to fetch token: Inner Exception: Inner Exception - (System.IO.IOException): Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

Failed to fetch token: Inner Exception: Inner Exception: Inner Exception - (System.Net.Sockets.SocketException): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)

Failed to fetch installation ID for normh at https://TEST-ERP10.hli.local/testE102400/. Failed to create bearer token for normh at https://TEST-ERP10.hli.local/testE102400/. An error occurred while sending the request.
Failed to deploy Epicor Data Discovery


Deployment of Data Discovery Failed.
Errors:

Failed to fetch token - (System.Net.Http.HttpRequestException): An error occurred while sending the request.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Security.IceAuthScheme.<GetAuthenticationScheme>d__5.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.System\Security\IceAuthScheme.cs:line 214
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Security.IceAuthScheme.<GetToken>d__0.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.System\Security\IceAuthScheme.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Epicor.BI.DataDiscovery.Utils.InstallerService.<GetToken>d__28.MoveNext() in F:\TFSAgent\_work\37\s\Epicor.BI.DataDiscovery.Utils\InstallerService.cs:line 289

Failed to fetch token: Inner Exception - (System.Net.WebException): The underlying connection was closed: An unexpected error occurred on a send.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

Failed to fetch token: Inner Exception: Inner Exception - (System.IO.IOException): Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

Failed to fetch token: Inner Exception: Inner Exception: Inner Exception - (System.Net.Sockets.SocketException): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)

Failed to fetch installation ID for normh at https://TEST-ERP10.hli.local/testE102400/. Failed to create bearer token for normh at https://TEST-ERP10.hli.local/testE102400/. An error occurred while sending the request.
Failed to deploy Epicor Data Discovery

I can browse to https://TEST-ERP10.hli.local/testE102400/api/help without any security/cert warnings.

I’m also getting the following error when trying to launch the Active Home Page, not sure if it’s related or not.

Unable to log in to the Active Home Page. Please verify that the HomePageUrl is accessible and that it uses the fully qualified domain name format.
The underlying connection was closed: An unexpected error occurred on a send.

I’m able to bypass this by adding <SkipHomeUrlValidation value=“True” /> to the sysconfig file, but that’s only a workaround, but according to KB0051678 the causes is around network security and certs.

You have to go to your IIS Management Console I forget where your bindings are, you probably have an ip address explicitly specified in the bindings for https… change it to * and you should be good. Had the same issue a while back.

3 Likes

@hkeric.wci, I owe you a drink! :tropical_drink:/:beer: I was pulling my hair out, trying to solve this last night.

That worked! Well, it made both error messages go away, however, the EDD Deploy seems to be stuck at Installation of Epicor Data Discovery Started.… I’ll try to be patient I guess…

1 Like

Okay, it’s been an hour now, still stuck at this screen and looks like nothings happening…

Try again - all I can say make sure you delete anything it already created such as a Folder, Application or Seperate App Poll etc… also if I recall I did restart IIS after that binding change.

If I recall you also have to Create the Database and then you install EDD into that Database but you must make sure the SA has rights to manage that new database… unless they fixed it where Admin Console Creates the DB for you.

When it comes to the IP Address being explicitly defined. That may have been done by the Admin Console, which it didnt do in 10.2.100 I have seen it in 10.2.300 hence we had issues as well, makes me think Epicor defines it and then EDD doesn’t like that. Its misleading error because I know of Admins who went and modified their registry assuming its an TLS Issue, Enabling / Disabling Cryptography settings via Internet Options disabling TLS 1.0 etc…

1 Like

Finally got EDD to work, had to use the uninstall option in the Deploy window, delete the db, and anything in iis related to it and reinstall!

Thanks again for the help!

Thanks Haso - this just saved me on my HCM upgrade as well… our consultant set the IP to a specific one and it hosed SSRS reports and local login.

1 Like