PDA

View Full Version : RTMP_Connect0, failed to connect socket. 10060 (Unknown error)


bmk_cbrxx
11-12-2012, 09:21 AM
Had another thread with this same question, but it seems to have disappeared.

My problem is that I have two computers on the same network, both Windows 7 64 bit, running same version of flash and latest version of rtmpdump. Works on one computer (laptop) but not on the other (desktop).

Here's the output, using an example URL I found on this forum.

Working example:

C:\Users\Brian\Downloads\Utilities\RTMPDump>echo %DATE% %TIME%
12/11/2012 10:43:37.39

C:\Users\Brian\Downloads\Utilities\RTMPDump>cd v*

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>rtmpdump -r "rtmp://188.122.91.29/app" -a "app" -f "WIN 11,4,402,287" -W "http://188.122.91.7/player-licensed.swf" -p "http://www.fcast.tv/embed.php?live=colorstvlive1&vw=600&vh=430" -y "color" -o "color.flv"
RTMPDump v2.4-49-g6ed7d74
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Sun Nov 11 09:31:55 2012
INFO: videodevice XSplitBroadcaster
INFO: framerate 25.00
INFO: width 512.00
INFO: height 288.00
INFO: videocodecid avc1
INFO: avclevel 21.00
INFO: avcprofile 100.00
INFO: videodatarate 390.63
INFO: videokeyframe_frequency0.12
INFO: audiodevice VHAudioCustom
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audioinputvolume 100.00
INFO: audiocodecid mp4a
INFO: audiodatarate 93.75
INFO: bufferSize 600k
INFO: maxBitrate 500k
INFO: xsplitBroadcasterVersion1.3.0.47
INFO: xsplitCoreVersion 1.1.1209.0601 Version 1.1
INFO: xsplitGameSourceVersion1.1.1.8
INFO: xsplitMediaLibVersion 2.0.0.143
522.827 kB / 9.50 sec
Caught signal: 2, cleaning up, just a second...
541.161 kB / 9.58 sec
Download may be incomplete (downloaded about 0.00%), try resuming

And here's the non-working example:

Y:\Temp\XBMC-Portable\RTMPDump\v2.4-49-g6ed7d74>echo %DATE% %TIME%
12/11/2012 10:49:31.85

Y:\Temp\XBMC-Portable\RTMPDump\v2.4-49-g6ed7d74>rtmpdump -z -V -r "rtmp://188.122.91.29/app" -a "app" -f "WIN 11,4,402,287" -W "http://188.122.91.7/player-licensed.swf" -p "http://www.fcast.tv/embed.php?live=colorstvlive1&vw=600&vh=430" -y "color" -o "color.flv"
RTMPDump v2.4-49-g6ed7d74
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : 188.122.91.29
DEBUG: Parsed app : app
DEBUG: Protocol : RTMP
DEBUG: Hostname : 188.122.91.29
DEBUG: Port : 1935
DEBUG: Playpath : color
DEBUG: tcUrl : rtmp://188.122.91.29:1935/app
DEBUG: swfUrl : http://188.122.91.7/player-licensed.swf
DEBUG: pageUrl : http://www.fcast.tv/embed.php?live=colorstvlive1&vw=600&vh=430
DEBUG: app : app
DEBUG: flashVer : WIN 11,4,402,287
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 80 11 2c c4 b9 6d 80 29 1f 29 f6 11 32 91 3d 60
DEBUG: c8 06 29 61 ed eb fb 13 f4 3b 8d f1 65 67 a4 2d
DEBUG: SWFSize : 178639
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
DEBUG: Closing connection.



What is causing the RTMP_Connect0 error message? I've even tried running in "Safe Mode" to minimize the number of programs that could be causing problems, but I get the exact same error. I've also tried forwarding ports on the router. I'm really running out of ideas.

hyc
11-13-2012, 02:48 AM
Google "winsock error 10060".

bmk_cbrxx
11-13-2012, 10:54 AM
Thanks for the suggestion. I just tried that, and most of the comments suggested that the problem was that the server I was trying to contact was unreachable. However, I can reach all the servers:

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>rtmpdump -r "rtmp://188.122.91.29/app" -a "app" -f "WIN 11,4,402,287" -W "http://188.122.91.7/player-licensed.swf" -p "http://www.fcast.tv/embed.php?live=colorstvlive1&vw=600&vh=430" -y "color" -o "color.flv"
RTMPDump v2.4-49-g6ed7d74
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>tracert 188.122.91.29

Tracing route to RTD026.net100tb.com [188.122.91.29]
over a maximum of 30 hops:

1 <1 ms 1 ms <1 ms unknown [192.168.1.1]
2 33 ms 33 ms 32 ms 10.115.135.1
3 32 ms 33 ms 33 ms 108-61-59-25ch.openskytelcom.net [108.61.59.25]
4 31 ms 33 ms 35 ms ethernet16-1-br1.nbg1.choopa.net [108.61.2.9]
5 35 ms 35 ms 35 ms ae7.ar1.nyc3.us.nlayer.net [69.31.34.61]
6 37 ms 33 ms 35 ms te7-4.ar7.NYC1.gblx.net [69.31.94.225]
7 115 ms 111 ms 112 ms interactive-3d-b-v.xe-3-2-2.ar9.ams2.gblx.net [64.215.183.226]
8 111 ms 120 ms 110 ms 30ge-1-1.br2.smartdc.i3d.net [188.122.95.92]
9 112 ms 108 ms 111 ms RTD026.net100tb.com [188.122.91.29]

Trace complete.

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>tracert 188.122.91.7

Tracing route to RTD014.net100tb.com [188.122.91.7]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms unknown [192.168.1.1]
2 33 ms 31 ms 41 ms 10.115.135.1
3 33 ms 33 ms 35 ms 108-61-59-25ch.openskytelcom.net [108.61.59.25]
4 32 ms 37 ms 35 ms ethernet13-4-br1.pnj1.choopa.net [108.61.93.201]
5 36 ms 34 ms 39 ms ae7.ar2.nyc3.us.nlayer.net [69.31.34.77]
6 33 ms 35 ms 35 ms te6-2.ar7.NYC1.gblx.net [69.31.94.73]
7 112 ms 112 ms 111 ms interactive-3d-b-v.xe-3-2-2.ar9.ams2.gblx.net [64.215.183.226]
8 112 ms 110 ms 116 ms 40ge-1-2.br3.smartdc.i3d.net [188.122.95.93]
9 108 ms 111 ms 110 ms RTD014.net100tb.com [188.122.91.7]

Trace complete.

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>tracert www.fcast.tv

Tracing route to www.fcast.tv [82.192.95.130]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms unknown [192.168.1.1]
2 34 ms 33 ms 33 ms 10.115.135.1
3 31 ms 33 ms 31 ms 108-61-59-25ch.openskytelcom.net [108.61.59.25]
4 37 ms 34 ms 39 ms ethernet13-4-br1.pnj1.choopa.net [108.61.93.201]
5 * * * Request timed out.
6 40 ms 39 ms 40 ms te1-4.msc2.hdcs.leaseweb.net [217.20.125.18]
7 55 ms 44 ms 43 ms xe-0-0-0.ms1.iad.leaseweb.net [217.20.125.17]
8 134 ms 132 ms 131 ms te0-1-0-6.crs.evo.leaseweb.net [85.17.100.184]
9 122 ms 121 ms 121 ms 85.17.100.13
10 131 ms 128 ms 158 ms 85.17.31.241
11 125 ms 127 ms 127 ms hosted-by.Hostplate.com [82.192.95.130]

Trace complete.

KSV
11-13-2012, 11:04 AM
most probably a firewall is blocking outgoing connection on port 1935. check for firewall on your PC and router.

bmk_cbrxx
11-13-2012, 12:42 PM
I've completely turned off the firewall on the Desktop:

C:\Users\Brian\Downloads\Utilities\RTMPDump\v2.4-49-g6ed7d74>netsh advfirewall show allprofiles

Domain Profile Settings:
----------------------------------------------------------------------
State OFF
Firewall Policy BlockInbound,AllowOutbound
LocalFirewallRules N/A (GPO-store only)
LocalConSecRules N/A (GPO-store only)
InboundUserNotification Enable
RemoteManagement Disable
UnicastResponseToMulticast Enable

Logging:
LogAllowedConnections Disable
LogDroppedConnections Disable
FileName C:\Windows\system32\LogFiles\Firewall\pfirewall.lo g
MaxFileSize 4096


Private Profile Settings:
----------------------------------------------------------------------
State OFF
Firewall Policy BlockInbound,AllowOutbound
LocalFirewallRules N/A (GPO-store only)
LocalConSecRules N/A (GPO-store only)
InboundUserNotification Enable
RemoteManagement Disable
UnicastResponseToMulticast Enable

Logging:
LogAllowedConnections Disable
LogDroppedConnections Disable
FileName C:\Windows\system32\LogFiles\Firewall\pfirewall.lo g
MaxFileSize 4096


Public Profile Settings:
----------------------------------------------------------------------
State OFF
Firewall Policy BlockInbound,AllowOutbound
LocalFirewallRules N/A (GPO-store only)
LocalConSecRules N/A (GPO-store only)
InboundUserNotification Enable
RemoteManagement Disable
UnicastResponseToMulticast Enable

Logging:
LogAllowedConnections Disable
LogDroppedConnections Disable
FileName %systemroot%\system32\LogFiles\Firewall\pfirewall. log
MaxFileSize 4096

Ok.



I've opened the ports on the router, but even if I hadn't, that wouldn't explain how the laptop (running through the same router) would be able to connect when the desktop couldn't.

(I really appreciate these thoughts and recommendations, I'm really stumped as to why it's blocked on one computer and working on the other.)

bmk_cbrxx
11-13-2012, 01:38 PM
Opened ports on router, too:

Tomato v1.28.9054 MIPSR2-beta K26 USB vpn3.6
root@unknown:/tmp/home/root# iptables -L INPUT -v
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
16 2324 ACCEPT all -- tun11 any anywhere anywhere
0 0 DROP all -- br0 any anywhere CPE20cf30ce2603-CM0026f3094255.cpe.net.cable.rogers.com
0 0 logdrop all -- any any anywhere anywhere state INVALID
6219 4361K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
158 22033 ACCEPT all -- br0 any anywhere anywhere
2 139 ACCEPT all -- lo any anywhere anywhere
0 0 ACCEPT udp -- any any anywhere anywhere udp spt:bootps dpt:bootpc
4 1740 logdrop all -- any any anywhere anywhere
0 0 ACCEPT udp -- any any anywhere anywhere state NEW udp dpt:1935
0 0 ACCEPT tcp -- any any anywhere anywhere state NEW tcp dpt:1935
root@unknown:/tmp/home/root#



Still no joy.