| View previous topic :: View next topic |
| Author |
Message |
nitrolinux
Joined: 17 Jun 2013 Posts: 4
|
Posted: Tue Jun 18, 2013 6:03 am Post subject: Is it possible? |
|
|
I can stream from my DSL connection at my business to the icecast 2 server. I can even stream from my 3G cell phone back to my icecast2 server. But I cannot steam from my cable connection which is a 6Mbps connection with a 500K upload back to the same icecast2 server. The icecast logs keep logging this:
WARN source/get_next_buffer Disconnecting source due to socket timeout
When the stream starts, within 5 to 6 seconds it dies. Has anyone every experienced this?
I am using ices to stream (version 2.0.1) Ubuntu 12.10, Icecast2 (2.3.2) running on a raspberry pi.
I have determine it has to be specific with my cable connection because it will run on every other type connection but this cable connection, which is a mom and pop operation here in my very rural town. Any help would be appreciated. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jun 18, 2013 10:38 am Post subject: |
|
|
I would check that that data is getting sent initially (tcpdump), if it drops the connection at the first hurdle then it sounds like the stream is not being sent rather than a starvation issue, although a connection is being made. Maybe the issue is that the source client not sending anything.
karl. |
|
| Back to top |
|
 |
nitrolinux
Joined: 17 Jun 2013 Posts: 4
|
Posted: Wed Jun 19, 2013 5:53 am Post subject: |
|
|
| karlH wrote: |
Maybe the issue is that the source client not sending anything.
|
Why would it work with a DSL connection with perfection and a 3G cellphone and a T1 where I work, but not with a cable connection? The source client seems to work everywhere but on the cable connection. What are some good open source networking tools to watch the connection? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jun 19, 2013 11:12 am Post subject: |
|
|
like I said tcpdump or even wireshark should suffice. As for possible cases as to why a source client could freeze up after connection, I'm not sure, the only time I've seen ices freeze up completely is when the next filename to pick from a scripted playlist sat there waiting for a response which never comes. Whether you have issues of transparent proxies is not something I would have knowledge of.
karl. |
|
| Back to top |
|
 |
nitrolinux
Joined: 17 Jun 2013 Posts: 4
|
Posted: Thu Jun 27, 2013 5:08 am Post subject: |
|
|
| karlH wrote: |
tcpdump
karl. |
Hey Karl, here is tcpdump. What does it mean?
192.168.1.40.44143 > 75.120.31.195.8009: Flags [.], cksum 0x32da (incorrect -> 0x60bf), seq 298:1746, ack 21, win 115, options [nop,nop,TS val 6047872 ecr 12763208], length 1448 |
|
| Back to top |
|
 |
nitrolinux
Joined: 17 Jun 2013 Posts: 4
|
Posted: Thu Jun 27, 2013 5:46 am Post subject: |
|
|
Here is tcpdump output from the ices side:
00:43:13.705091 IP miner717-OptiPlex-755.local.44313 > 75-120-31-195.dyn.centurytel.net.8009: Flags [.], seq 297:1745, ack 21, win 115, options [nop,nop,TS val 6593328 ecr 12993902], length 1448
Here is tcpdump output from icecast side:
00:43:19.381168 IP 192.168.1.150.8009 > 173.214.217.20.44313: Flags [F.], seq 20, ack 298, win 272, options [nop,nop,TS val 12998704 ecr 6580003,nop,nop,sack 1 {3194:3747}], length 0
This was what was happening while I tried to stream. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jun 27, 2013 10:39 am Post subject: |
|
|
Basic new connection for TCP is [S] from source to dest the [S.] returned from dest to src the a last [.] from src to dest, then normal communication occurs which for source connections involves packets for headers and the OK response from icecast, then the stream packets going to icecast.
The fact that you see none of these on the ices side would tend to indicate that to have a misconfiguration, maybe IP lookup or routing is wrong. Use -n to avoid the reverse name lookup as that can be slow and make sure you are listening on the correct network interface but assuming that is correct then you should at least see an outgoing connection attempt even if a firewall drops it.
karl. |
|
| Back to top |
|
 |
|