locked
WCF Callback Hangs RRS feed

  • Question

  • I have read a ton of entries about this kind of problem, have followed all the suggestions but still have no joy.  When I run my client and server on the same computer, it works.  I have a set of normal services running under port 8000 and a callback service running under port 8001.  NETSTAT shows the channels connecting, with the callback running on port 80.  I have set the security to None.  When I move the server to a remote Internet server the normal services work, but the client hangs on its first (oneway) invocation of the service that hooks up to the callback.  I have unblocked all the ports on both ends.  No joy.

    Any new suggestions???

    .NET 4.0  Windows 7  Client, Windows 2008 R2 Server.

    Thanks.


    I worked around this by changing to another design strategy.
    Thursday, April 28, 2011 4:49 PM

Answers

  • Hello, do you mean your service has a duplex contract, but the client callback is never invoked? Since you're using HTTP, can you try to use Fiddler to monitor the requests? Also try to enable WCF tracing on both client and service to see if you'll be able to get any information.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Windows Azure Technical Forum Support Team Blog
    • Marked as answer by Yi-Lun Luo Thursday, May 5, 2011 9:18 AM
    Tuesday, May 3, 2011 1:22 AM
  • Can you try this

    netsh http add urlacl url=http://+:80/ user=<User>


    -Vital
    • Marked as answer by Yi-Lun Luo Thursday, May 5, 2011 9:18 AM
    Tuesday, May 3, 2011 10:33 AM

All replies

  • I should add that no exceptions are thrown on either end and no system events are cast on either end.  UGH!
    Thursday, April 28, 2011 4:50 PM
  • When running the client without "Run as administrator" I get the following exception thrown which shows an address structure I would expect.

    HTTP could not register URL http://+:80/Temporary_Listen_Addresses/a1e53e7a-ffc9-4967-972d-ec9476ea6f96/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

     

    However when I look at a the App_tracelog.sys file, it showesthe following and this is what the server sees.   

    Related Activity Name Listen at 'http://win7development/Temporary_Listen_Addresses/a1e53e7a-ffc9-4967-972d-ec9476ea6f96/33d1aefe-163a-48d5-97e9-975af44e7b82'.

    How can this address work?


    David A Schramm
    Friday, April 29, 2011 4:59 PM
  • Hello, do you mean your service has a duplex contract, but the client callback is never invoked? Since you're using HTTP, can you try to use Fiddler to monitor the requests? Also try to enable WCF tracing on both client and service to see if you'll be able to get any information.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Windows Azure Technical Forum Support Team Blog
    • Marked as answer by Yi-Lun Luo Thursday, May 5, 2011 9:18 AM
    Tuesday, May 3, 2011 1:22 AM
  • Can you try this

    netsh http add urlacl url=http://+:80/ user=<User>


    -Vital
    • Marked as answer by Yi-Lun Luo Thursday, May 5, 2011 9:18 AM
    Tuesday, May 3, 2011 10:33 AM