none
Error while connecting to SOAP webservice RRS feed

  • Question

  • L.S.

    The connection to the SOAP webservice on https://dgp2.procesinfrastructuur.nl/wus/2.0/aanleverservice/1.2 is working on every systeem but not on Windows 2008 Server 32bit (so R2 is not available).

    The error returned is:

    An error occurred while receiving the HTTP response to https://dgp2.procesinfrastructuur.nl/wus/2.0/aanleverservice/1.2. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

    For all other systems to work, we had to add: Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12 (actualy 3072 because app. is using .Net 4.0).

    The error is in relation with the hardcoded security protocol to Tls12.

    How to resolve this issue on Windows 2008 32bit?

    Thanks in advance for any help!

    Best Regards,

    Aart

    Friday, April 21, 2017 5:00 PM

All replies

  • >>For all other systems to work, we had to add: Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12 (actualy 3072 because app. is using .Net 4.0).

    It seems you need Tls12 to make your service work. If so, I am afraid you need to migrate Windows Server 2008 to Windows Server 2008 R2. Tls12 is not supported in Windows Server 2008.

    Reference: https://blogs.msdn.microsoft.com/kaushal/2011/10/02/support-for-ssltls-protocols-on-windows/

    If you could not migrate to 2008 R2, are you able to change SOAP WebService? You will need to use TLS 1.0 in Web Service side for another option.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, April 24, 2017 2:46 AM
  • Hello Edward,

    Thanks for your reply.

    The dutch government soap service needs indeed TLS1.2. As I understand is TLS 1.2 supported in the .NET Framework 4.5.

    We can't upgrade to R2 because it is a 32bit machine. Or is Windows Server 2008R2 also abailable in 32bit?

    Is there an other way te resolve this?

    Best Regards,

    Aart

    Monday, April 24, 2017 12:59 PM
  • >> is Windows Server 2008R2 also abailable in 32bit?

    No, Windows Server 2008 R2 ships with a 64-bit SKU only.

    >> Is there an other way te resolve this?

    I am afraid you need to migrate Windows Server 2008 to the OS which is 32 bit and support TLS 1.2.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, April 25, 2017 1:48 AM