Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5953677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:51:38+00:00 2026-05-22T17:51:38+00:00

I get a timeout when using a SOAP client on a production server: System.Net.WebException:

  • 0

I get a timeout when using a SOAP client on a production server:

System.Net.WebException: The request timed out
  at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x00000] in <filename unknown>:0 

When trying to ping the other endpoint from that computer, it works, even telnet-ing to port 80 works, so it’s not a connectivity problem (I think).

The same code works fine on another computer, it’s just the production one that experiences this problem. Any ideeas how to approach troubleshooting this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:51:38+00:00Added an answer on May 22, 2026 at 5:51 pm

    Ok, finally troubleshooted this and 16 non-stop hours later this is what I came up. It’s strange enough and convoluted and weird,that it warrants a post here for posterity:

    Step 1:

    Create a web project referencing a class library that references npgsql.dll (which in turn references Mono.Security.dll ). Add a webservice reference in the web project and use it in some page.

    SOAP client now works fine

    Step 2: (and this took 10 hours to isolate)

    Add a Class1.cs in the referenced class library and make that class uses a class from npgsql.dll, then use that class in your web project, but use someplace where the code IS NEVER USED.

    SOAP client now crashes with timeout

    How could code that was never called change the behaviour of the SOAP client was beyond me for the better part of 16 hours?

    Answer

    When referencing a class from npgsql.dll (even if the code was never called), the npgsl.dll and Mono.Security.dll were copied into the bin folder.

    And through some unkown reason, the Mono.Security.dll prevens the SOAP client from making uncertified connections.

    Simply deleting the Mono.Security.dll from the bin folder fixed the problem immediately.

    I have no ideea why Mono.Security.dll is needed, or what it does that messes up the SOAP, or how come I can delete it from the bin folder and have everything running just as well.

    Well, and that is the story of the weirdest bug I’ve seen in a looong time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Amazon WS SDK for .net and trying to get S3ObjectMetaData Info
I am using poplib to get email from the POP3 server. But this error
When trying to call Close or Dispose on an SqlDataReader i get a timeout
Say we've got a class like public class Doer { public int Timeout {get;set;}
I want to get hold of the mouse position in a timeout callback. As
I can't seem to get the correct Unix epoch time out of this PHP
I don't get it. I want to check if the time out of the
We get the following error; The request was aborted: Could not create SSL/TLS secure
I'm using YAHOO.util.Connect.asyncRequest to get data from database, here is the code : function
I can't get jQuery working at all with IE7. I'm using the jQuery Cycle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.