Exception
While trying to learn about PeerChannel I came across Kevin Ransom's blog. When I try to run the example he posts herehttp://blogs.msdn.com/kevin_ransom/archive/2005/09/14/466534.aspx
I get a SocketException that says "Unknown error (0x2ced)"
Server stack trace:
at System.ServiceModel.AsyncResult.End(AsyncResult asyncResult)
at System.ServiceModel.Channels.PeerNodeImplementation.SimpleStateManager.OperationBase.End(IAsyncResult result)
at System.ServiceModel.Channels.PeerNodeImplementation.SimpleStateManager.EndOpen(IAsyncResult result)
at System.ServiceModel.Channels.PeerNodeImplementation.SimpleStateManager.Open(TimeSpan timeout)
at System.ServiceModel.Channels.PeerNodeImplementation.Open(TimeSpan timeout)
at System.ServiceModel.Channels.PeerDuplexChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Open()
at KevinRansomPeerChannel.HelloProxy..ctor(InstanceContext inputInstance, String configurationName) in d:\Projects\Apps\KevinRansomPeerChannel\Program.cs:line 20
at KevinRansomPeerChannel.Program.Main(String[] args) in d:\Projects\Apps\KevinRansomPeerChannel\Program.cs:line 43
I first got this on a Vista 5219 (x86) machine and decided to try moving it over to an XP SP2 machine to see if that made a difference. It did not.
Tony,
It may be that you are behind a nat, or your firewall is blocking PNRP traffic. Could you do a little diagnosis for me:
In a Command Window command window could you run these commands and send me the output:
Ipconfig /all
netsh int ipv6 show teredo
netsh p2p pnrp cloud show list
Thank you
Kevin
Hi,
I'm having the same problem. Any help would be great.
My ouputs are:
Ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : mymachine
Primary Dns Suffix . . . . . . . : subdomain.domain.net
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : subdomain.domain.net
domain.net
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8001/8003/8010 PCI
Gigabit Ethernet Controller
Physical Address. . . . . . . . . : 00-14-85-BB-6A-E9
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.20.2.189
Subnet Mask . . . . . . . . . . . : 255.0.0.0
IP Address. . . . . . . . . . . . : fe80::214:85ff:febb:6ae9%4
Default Gateway . . . . . . . . . : 10.1.1.2
DNS Servers . . . . . . . . . . . : 10.10.1.52
10.10.1.53
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : FF-FF-FF-FF-FF-FF-FF-FF
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : fe80::5445:5245:444f%5
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Automatic Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 0A-14-02-BD
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : fe80::5efe:10.20.2.189%2
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Disabled
netsh int ipv6 show teredo
Teredo Parameters
Type : client
Server Name : default
Client Refresh Interval : default
Client Port : default
State : offline
Error : client is in a managed network
netsh p2p pnrp cloud show list
Scope Id Addr State Name
-- -- -- - --
3 4 1 Virtual LinkLocal_{478AABC8-79E3-484B-97CD-923FB3