On 20-Dec-2012, Thomas Perl wrote:
> This happens when there are no HTTP headers retrieved from the server
> (usually this happens when there's no Internet connection, hence
> "Offline"). Can you please check with Wireshark how the HTTP traffic
> looks like?

Thanks. I have used TCPDump to capture traffic during the request to update
a feed in gPodder; and, for comparison, during download of the same feed
URL in the Epiphany web browser.

    $ sudo tcpdump -i wlan0 -s 1500 -w 
~bignose/gpodder-download.20121221.tcpdump
    tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 1500 
bytes

    [… use gPodder to “Update podcast” …]
    ^C29 packets captured
    29 packets received by filter
    0 packets dropped by kernel
    [… close gPodder …]

    $ sudo tcpdump -i wlan0 -s 1500 -w 
~bignose/epiphany-download.20121221.tcpdump
    tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 1500 
bytes

    [… use Epiphany to download the same URL reported by gPodder for the feed …]
    ^C38 packets captured
    38 packets received by filter
    0 packets dropped by kernel
    [… close Epiphany …]

I then used Wireshark as instructed, to filter HTTP packets in each of
these dumps.


There are *no* HTTP packets in the TCPDump capture during the gPodder
session. The only traffic captured at all is from my IRC client; gPodder
appears to have generated no traffic.


The Epiphany session has two HTTP sessions; one for the feed, and one for
the site's favicon. The feed request has the following header:

=====
GET /radionational/feed/2888650/podcast.xml HTTP/1.1
Host: www.abc.net.au
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.22+ (KHTML, like 
Gecko) Chromium/17.0.963.56 Chrome/17.0.963.56 Safari/535.22+ Debian/unstable 
(3.4.2-2) Epiphany/3.4.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-au, en;q=0.90
Connection: Keep-Alive
=====

and the response has this header:

=====
HTTP/1.1 200 OK
Content-Type: application/rss+xml;charset=UTF-8
Content-Language: en-US
Content-Encoding: gzip
Content-Length: 12133
Expires: Thu, 20 Dec 2012 21:15:44 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Thu, 20 Dec 2012 21:15:44 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: ABCGuestID=184.84.221.13.280771356038144336; expires=Thu, 
20-Dec-2012 21:45:44 GMT; path=/; domain=abc.net.au

[… HTTP response body …]
=====

So the document is fetched fine, using Epiphany (which uses GNOME's network
and proxy settings). But gPodder doesn't even seem to be trying?

-- 
 \       “If trees could scream, would we be so cavalier about cutting |
  `\   them down? We might, if they screamed all the time, for no good |
_o__)                                            reason.” —Jack Handey |
Ben Finney <b...@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature

Reply via email to