Cannot Login - No Process on the other end of the pipe

  • The following error is received whenever attempting to remote connect to the machine and connect to the SQL instance. I can successfully connect to the database from my local machine.

    "A connection was successfully established with the server, but then an error occurred during the login process.(provider: SSL Provider, error:0- No process is on the other end of the pipe.)

    (Microsoft SQL Server. Error 233)"

    I've perused some articles about this error and so far haven't found any reason for this error to present. Named Pipes are enabled, TCP/IP is enabled, Shared Memory is enabled, VIA is disabled.

    Right before this error was received I enabled some trace flags on three instances and then rolled that change back and still received the error. Another machine where the trace flags were applied does not throw this error.

    Any help would be appreciated.

    :exclamationmark: UPDATE: I was able to resolve this issue by making the following changes in the registry. :exclamationmark:

    Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128

    Enabled TLS 1.0 Server Protocol

    Once these were enabled I rebooted and successfully connected to SQL Server Management Studio on the local machine.

    Hope this helps someone else!

  • theresa.ravens (8/16/2016)


    The following error is received whenever attempting to remote connect to the machine and connect to the SQL instance. I can successfully connect to the database from my local machine.

    I'm having a hard time understanding this. You get an error attempting to connect remotely but you can connect from your local PC. So you can't connect to your instance running locally from other PCs or you connect from something else on your PC to the database? Or you can connect from your PC but from somewhere else they can't?

    Protocols, SPNs are fine, pinging is fine? Not a browser or firewall issue in any of the pieces?

    It may just be me being thick as I'm not clear on where the issue is but you can try querying the connectivity ring buffer and look for errors in there. When it was first introduced, it was meant for troubleshooting connectivity errors.

    SELECT CAST(record AS XML)

    FROM sys.dm_os_ring_buffers

    WHERE ring_buffer_type = 'RING_BUFFER_CONNECTIVITY'

    Sue

  • I asked for this to be posted so let me explain more.

    If an RDP connection is made to the server hosting the SQL instance then we get the error mentioned. If we are on our own laptops and open SSMS, then we can connect to the remote database engine just fine.

  • That error sounds like the instance of SQL you're trying to connect to isn't running (via named pipes). Double-check the server names/instance names and make sure you're trying to connect to the correct server

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Named pipes is enabled.

  • The error is thrown by the named pipes provider. Are the same protocols enabled on all the clients in the scenarios?

    The order also matters. On the client computers, try putting the order of protocols with TCP/IP before named pipes.

    Then also try connecting using the IP address - that might help you narrow down the protocol issues.

    Sue

  • Sue_H (8/17/2016)


    The error is thrown by the named pipes provider. Are the same protocols enabled on all the clients in the scenarios?

    The order also matters. On the client computers, try putting the order of protocols with TCP/IP before named pipes.

    Then also try connecting using the IP address - that might help you narrow down the protocol issues.

    Sue

    Thanks Sue. The error is from TLS Provider, not Named Pipes. Theresa made changes to the registry and the problem was resolved. I will have her post the solution shortly.

  • Interesting...and no errors in the connectivity ring buffers in dm_os_ring_buffers. New twist on security maybe.

    I would guess this might be the updates for TLS1.2 and then needing to update the registry protocols to enable it. One of a few issues that has come up from that release. Not fun trying to figure out what needs updating where on that one.

    Sue

  • I was able to resolve this issue by making the following changes in the registry.

    Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128

    Enabled TLS 1.0 Server Protocol

    Once these were enabled I rebooted and successfully connected to SQL Server Management Studio on the local machine.

    Hope this helps someone else!

  • Sue_H (8/17/2016)


    Interesting...and no errors in the connectivity ring buffers in dm_os_ring_buffers. New twist on security maybe.

    Probably failing too early in the connection process, before it got to a point of being able to be logged by SQL.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Guess I was incorrectly thinking that the error "A connection was successfully established with the server, but then an error occurred during the login process" with another SQL Server error thrown at the end would end up in the ring buffer. Seems that other errors in the login process where the connection fails end up in the ring buffers.

    Sue

  • travens - Tuesday, August 16, 2016 3:05 PM

    The following error is received whenever attempting to remote connect to the machine and connect to the SQL instance. I can successfully connect to the database from my local machine. "A connection was successfully established with the server, but then an error occurred during the login process.(provider: SSL Provider, error:0- No process is on the other end of the pipe.)(Microsoft SQL Server. Error 233)"I've perused some articles about this error and so far haven't found any reason for this error to present. Named Pipes are enabled, TCP/IP is enabled, Shared Memory is enabled, VIA is disabled. Right before this error was received I enabled some trace flags on three instances and then rolled that change back and still received the error. Another machine where the trace flags were applied does not throw this error. Any help would be appreciated.:exclamationmark: UPDATE: I was able to resolve this issue by making the following changes in the registry. :exclamationmark:Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128Enabled TLS 1.0 Server ProtocolOnce these were enabled I rebooted and successfully connected to SQL Server Management Studio on the local machine.Hope this helps someone else!

    I tried the same solution. I Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128 Enabled TLS 1.0 Server Protocol, restarted the server, but still the same error. Now while keeping these enabled I also tried to enable TLS 1.1 and 1.2 along with them and disabled SSL 2.0, but still no result.
    Can anyone suggest what else I can try or do?
    Can anyone provide the full security changes to go into registry or anywhere else in the system?
    Thank you in advance.
    [Note: We can't even log in using Windows Authentication, locally or remotely]

  • somdip - Friday, May 19, 2017 5:04 AM

    travens - Tuesday, August 16, 2016 3:05 PM

    The following error is received whenever attempting to remote connect to the machine and connect to the SQL instance. I can successfully connect to the database from my local machine. "A connection was successfully established with the server, but then an error occurred during the login process.(provider: SSL Provider, error:0- No process is on the other end of the pipe.)(Microsoft SQL Server. Error 233)"I've perused some articles about this error and so far haven't found any reason for this error to present. Named Pipes are enabled, TCP/IP is enabled, Shared Memory is enabled, VIA is disabled. Right before this error was received I enabled some trace flags on three instances and then rolled that change back and still received the error. Another machine where the trace flags were applied does not throw this error. Any help would be appreciated.:exclamationmark: UPDATE: I was able to resolve this issue by making the following changes in the registry. :exclamationmark:Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128Enabled TLS 1.0 Server ProtocolOnce these were enabled I rebooted and successfully connected to SQL Server Management Studio on the local machine.Hope this helps someone else!

    I tried the same solution. I Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128 Enabled TLS 1.0 Server Protocol, restarted the server, but still the same error. Now while keeping these enabled I also tried to enable TLS 1.1 and 1.2 along with them and disabled SSL 2.0, but still no result.
    Can anyone suggest what else I can try or do?
    Can anyone provide the full security changes to go into registry or anywhere else in the system?
    Thank you in advance.
    [Note: We can't even log in using Windows Authentication, locally or remotely]

    Use this tool to enable\disable TLS, etc

    https://www.nartac.com/Products/IISCrypto

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Perry Whittle - Friday, May 19, 2017 6:07 AM

    somdip - Friday, May 19, 2017 5:04 AM

    travens - Tuesday, August 16, 2016 3:05 PM

    The following error is received whenever attempting to remote connect to the machine and connect to the SQL instance. I can successfully connect to the database from my local machine. "A connection was successfully established with the server, but then an error occurred during the login process.(provider: SSL Provider, error:0- No process is on the other end of the pipe.)(Microsoft SQL Server. Error 233)"I've perused some articles about this error and so far haven't found any reason for this error to present. Named Pipes are enabled, TCP/IP is enabled, Shared Memory is enabled, VIA is disabled. Right before this error was received I enabled some trace flags on three instances and then rolled that change back and still received the error. Another machine where the trace flags were applied does not throw this error. Any help would be appreciated.:exclamationmark: UPDATE: I was able to resolve this issue by making the following changes in the registry. :exclamationmark:Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128Enabled TLS 1.0 Server ProtocolOnce these were enabled I rebooted and successfully connected to SQL Server Management Studio on the local machine.Hope this helps someone else!

    I tried the same solution. I Enabled Ciphers RC4 128/128, RC4 50/128, RC4 56/128 Enabled TLS 1.0 Server Protocol, restarted the server, but still the same error. Now while keeping these enabled I also tried to enable TLS 1.1 and 1.2 along with them and disabled SSL 2.0, but still no result.
    Can anyone suggest what else I can try or do?
    Can anyone provide the full security changes to go into registry or anywhere else in the system?
    Thank you in advance.
    [Note: We can't even log in using Windows Authentication, locally or remotely]

    Use this tool to enable\disable TLS, etc

    https://www.nartac.com/Products/IISCrypto

    Thanks a ton. Took a bit of tinkering but now it works!
    In case if anyone is interested then the full solution is available here:
    http://stackoverflow.com/questions/44067698/how-to-solve-microsoft-sql-server-error-233-provider-ssl-provider-solved/44071306#44071306

Viewing 14 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic. Login to reply