2013-12-11, 03:09 AM
Hello,
I am using XBMC for android on a Galaxy S3 phone with a NextPVR server.
When on my local network, the client works perfectly.
When coming through my firewall from the Internet, the client attaches to the server fine (channel guide updates, next scheduled recording shows correctly). But, when I request to watch a live channel, the XBMC client shows "working" and hangs forever.
A sniff of the traffic between client and server shows this:
- Initial TCP handshake is fine
- Client makes this request: GET /live?channel=2&client=XBMC-43f82ab1acfb4b62b7a120488cca4dbc HTTP/1.0
- Server ACKs
- Client then sends: Connection: close
- Server responds: HTTP/1.1 403 ForbiddenServer: NextPVR Connection: Close
- About 3.5 minutes later the server RSTs the TCP connection
- About 50 seconds later, the client opens new TCP connection and sends: GET /service? method=recording.list&filter=pending&sid=43f82ab1acfb4b62b7a120488cca4dbc HTTP/1.1
Range: bytes=0-
User-Agent: XBMC/12.2 Git:20130502-32b1a5e (Linux; Android; 3.0.31-1152558 armv7l; http://www.xbmc.org)
Host: x.x.x.x:8866
Accept: */*
Connection: keep-alive
- Server reply: HTTP/1.1 200 OK
Server: WinTVExtender
Connection: Close
Content-Length: 110
Content-Type: application/xml
- Client: ACK
- Server: <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="8" msg="Invalid Session" />
</rsp>
- Client: ACK
- Client: FIN
- Server: ACK
So, not sure what it is that either the client or the server is having an issue with. The firewall is a straight-through, one-to-one NAT.
Is there a setting either on the client or on the server that needs to be set saying "allow streaming to foreign IP addresses"?
Any help to debug this would be greatly appreciated.
Thanks.
Bryan Hunt
I am using XBMC for android on a Galaxy S3 phone with a NextPVR server.
When on my local network, the client works perfectly.
When coming through my firewall from the Internet, the client attaches to the server fine (channel guide updates, next scheduled recording shows correctly). But, when I request to watch a live channel, the XBMC client shows "working" and hangs forever.
A sniff of the traffic between client and server shows this:
- Initial TCP handshake is fine
- Client makes this request: GET /live?channel=2&client=XBMC-43f82ab1acfb4b62b7a120488cca4dbc HTTP/1.0
- Server ACKs
- Client then sends: Connection: close
- Server responds: HTTP/1.1 403 ForbiddenServer: NextPVR Connection: Close
- About 3.5 minutes later the server RSTs the TCP connection
- About 50 seconds later, the client opens new TCP connection and sends: GET /service? method=recording.list&filter=pending&sid=43f82ab1acfb4b62b7a120488cca4dbc HTTP/1.1
Range: bytes=0-
User-Agent: XBMC/12.2 Git:20130502-32b1a5e (Linux; Android; 3.0.31-1152558 armv7l; http://www.xbmc.org)
Host: x.x.x.x:8866
Accept: */*
Connection: keep-alive
- Server reply: HTTP/1.1 200 OK
Server: WinTVExtender
Connection: Close
Content-Length: 110
Content-Type: application/xml
- Client: ACK
- Server: <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="8" msg="Invalid Session" />
</rsp>
- Client: ACK
- Client: FIN
- Server: ACK
So, not sure what it is that either the client or the server is having an issue with. The firewall is a straight-through, one-to-one NAT.
Is there a setting either on the client or on the server that needs to be set saying "allow streaming to foreign IP addresses"?
Any help to debug this would be greatly appreciated.
Thanks.
Bryan Hunt