https://bugs.gpodder.org/show_bug.cgi?id=1004

           Summary: Device doesn't get registered
           Product: gPodder
           Version: 2.5+ (Git "master" branch)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


To reproduce:

1. sudo hostname foo          # (just to ensure that you get an ID that doesn't
exist in your account)
2. Delete ~/.config/gpodder
3. make test                  # in gpodder

I want to hook this device up against my already existing account so I choose:

4. Select 2. option: "Download my subscription...."
5. Select Enable synch.., enter username, enter password, keep default device
id
6. Press Ok


Expected behavior: 

New device gets registered and your subscriptions gets downloaded

Current behavior:

Device doesn't get registered. Here is IP traffic with server:

interface: eth1 (10.0.2.0/255.255.255.0)
filter: (ip or ip6) and ( port 80 )
##
T 83.169.37.6:80 -> 10.0.2.15:43629 [AS]
..
##
T 10.0.2.15:43629 -> 83.169.37.6:80 [AP]
GET /api/2/subscriptions/ghe2/foo.json?since=0 HTTP/1.1.
Accept-Encoding: identity.
Content-Length: 0.
Host: gpodder.net.
Content-Type: application/x-www-form-urlencoded.
Connection: close.
User-Agent: mygpoclient/1.4 (+http://thpinfo.com/2010/mygpoclient/) gPodder/2.5
(+http://gpodder.org/).
.

#
T 83.169.37.6:80 -> 10.0.2.15:43629 [A]
......
#
T 83.169.37.6:80 -> 10.0.2.15:43629 [AP]
HTTP/1.1 401 Unauthorized.
Connection: close.
Vary: Accept-Language, Cookie.
Content-Type: text/html; charset=utf-8.
WWW-Authenticate: Basic realm="".
Content-Language: en-us.
Content-Length: 0.
Date: Tue, 27 Apr 2010 21:58:42 GMT.
Server: lighttpd/1.4.19.
.

##
T 83.169.37.6:80 -> 10.0.2.15:43629 [AF]
......
###
T 83.169.37.6:80 -> 10.0.2.15:43630 [AS]
..
##
T 10.0.2.15:43630 -> 83.169.37.6:80 [AP]
GET /api/2/subscriptions/ghe2/foo.json?since=0 HTTP/1.1.
Accept-Encoding: identity.
Content-Length: 0.
Host: gpodder.net.
User-Agent: mygpoclient/1.4 (+http://thpinfo.com/2010/mygpoclient/) gPodder/2.5
(+http://gpodder.org/).
Connection: close.
Content-Type: application/x-www-form-urlencoded.
Authorization: Basic Z2hlMjp0ZXN0.
.

#
T 83.169.37.6:80 -> 10.0.2.15:43630 [A]
......
#
T 83.169.37.6:80 -> 10.0.2.15:43630 [AP]
HTTP/1.1 400 Bad Request.
Connection: close.
Transfer-Encoding: chunked.
Vary: Accept-Language, Cookie.
Content-Type: text/html; charset=utf-8.
Content-Language: en-us.
Set-Cookie: sessionid=efde168c670058367a98a685880344c2; expires=Tue,
11-May-2010 21:58:42 GMT; Max-Age=1209600; Path=/.
Date: Tue, 27 Apr 2010 21:58:42 GMT.
Server: lighttpd/1.4.19.
.
19.
device foo does not exist.

##
T 83.169.37.6:80 -> 10.0.2.15:43630 [AP]
0.
.
.
##
T 83.169.37.6:80 -> 10.0.2.15:43630 [AF]
......
##
T 83.169.37.6:80 -> 10.0.2.15:43629 [A]
......
###
T 83.169.37.6:80 -> 10.0.2.15:43631 [AS]
..
##
T 10.0.2.15:43631 -> 83.169.37.6:80 [AP]
GET /api/2/episodes/ghe2.json?since=0&device=foo HTTP/1.1.
Accept-Encoding: identity.
Content-Length: 0.
Host: gpodder.net.
User-Agent: mygpoclient/1.4 (+http://thpinfo.com/2010/mygpoclient/) gPodder/2.5
(+http://gpodder.org/).
Connection: close.
Cookie: sessionid=efde168c670058367a98a685880344c2.
Content-Type: application/x-www-form-urlencoded.
.

#
T 83.169.37.6:80 -> 10.0.2.15:43631 [A]
......
#
T 83.169.37.6:80 -> 10.0.2.15:43631 [AP]
HTTP/1.1 400 Bad Request.
Connection: close.
Vary: Accept-Language, Cookie.
Content-Type: text/html; charset=utf-8.
Content-Language: en-us.
Content-Length: 0.
Date: Tue, 27 Apr 2010 21:58:43 GMT.
Server: lighttpd/1.4.19.
.

...and so on

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to