Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    557

    Plugin Repository Problems

    Hi, I've created a repository for hosting an applet that I've written. I'm hosting it on a Google Apps site. The repo is here <http://www.woodbine.me.uk/squeezebox/repo.xml>

    I can see the applet in the Applet installer list but it will not install. The url in the repo is correct as I can download the zip by putting it into my browser. The sha1 is correct (verified by numerous methods) but SqueezePlay seems to disagree (see log)- why?? When I host the exact same files on my local web server I have no problems at all, the sha1 checksums match and the applet installs. The log file is below (I've enabled debug-level logging for applet installer and net.http)
    Code:
    1275554384.413 INFO   applet.SetupAppletInstaller - SetupAppletInstallerApplet.lua:437 downloading: http://www.woodbine.me.uk/squeezebox/SqueezeIR_0.7.zip to: C:\Program Files\Squeezebox\SqueezePlay7.6\lua\applets/SqueezeIR/ sha1: 3ca8c0c4f900ca3f68406734bf663255e5b9bae0
    1275554384.414 DEBUG  net.http - :98 SocketHttp:__init(www.woodbine.me.uk, www.woodbine.me.uk, 80)
    1275554384.414 DEBUG  net.http - :139 SocketHttp {www.woodbine.me.uk} queuing RequestHttp {GET /squeezebox/SqueezeIR_0.7.zip} - 1 requests in queue
    1275554384.414 DEBUG  net.http - :193 SocketHttp {www.woodbine.me.uk}:t_sendDequeueIfIdle state=t_sendDequeue
    1275554384.414 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, nil)
    1275554384.414 DEBUG  net.http - :178 SocketHttp {www.woodbine.me.uk}:t_sendDequeue()
    1275554384.414 DEBUG  net.http - :183 SocketHttp {www.woodbine.me.uk} send processing RequestHttp {GET /squeezebox/SqueezeIR_0.7.zip}
    1275554384.414 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, t_sendResolve)
    1275554384.414 DEBUG  net.http - :204 SocketHttp {www.woodbine.me.uk}:t_sendResolve()
    1275554384.414 DEBUG  net.http - :222 SocketHttp {www.woodbine.me.uk} DNS loopup for www.woodbine.me.uk
    1275554384.422 DEBUG  net.http - :232 SocketHttp {www.woodbine.me.uk} IP=74.125.77.121
    1275554384.422 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, t_sendConnect)
    1275554384.422 DEBUG  net.http - :249 SocketHttp {www.woodbine.me.uk}:t_sendConnect()
    1275554384.423 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, t_sendRequest)
    1275554384.423 DEBUG  net.http - :341 SocketHttp {www.woodbine.me.uk}:t_sendRequest()
    1275554384.470 DEBUG  net.http - :370 SocketHttp {www.woodbine.me.uk}:t_sendRequest.pump()
    1275554384.470 DEBUG  net.http - :268 SocketHttp {www.woodbine.me.uk}:t_getSendHeaders()
    1275554384.470 DEBUG  net.http - :321 keep-open-non-blocking sink(149, nil, 0)
    1275554384.470 DEBUG  net.http - :326 keep-open-non-blocking sent - first is nil returning 149, nil
    1275554384.470 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, t_sendComplete)
    1275554384.470 DEBUG  net.http - :149 SocketHttp {www.woodbine.me.uk}:t_nextSendState(true, t_sendDequeue)
    1275554384.470 DEBUG  net.http - :178 SocketHttp {www.woodbine.me.uk}:t_sendDequeue()
    1275554384.470 DEBUG  net.http - :421 SocketHttp {www.woodbine.me.uk}:t_nextRecvState(true, nil)
    1275554384.470 DEBUG  net.http - :439 SocketHttp {www.woodbine.me.uk}:t_recvDequeue() queueLength=1
    1275554384.470 DEBUG  net.http - :446 SocketHttp {www.woodbine.me.uk} recv processing RequestHttp {GET /squeezebox/SqueezeIR_0.7.zip}
    1275554384.470 DEBUG  net.http - :421 SocketHttp {www.woodbine.me.uk}:t_nextRecvState(true, t_rcvHeaders)
    1275554384.470 DEBUG  net.http - :468 SocketHttp {www.woodbine.me.uk}:t_rcvHeaders()
    1275554384.623 DEBUG  net.http - :492 SocketHttp {www.woodbine.me.uk}:t_rcvHeaders.pump()
    1275554384.623 DEBUG  net.http - :421 SocketHttp {www.woodbine.me.uk}:t_nextRecvState(true, t_rcvResponse)
    1275554384.623 DEBUG  net.http - :800 SocketHttp {www.woodbine.me.uk}:t_rcvResponse.pump(jive-http-chunked, nil)
    1275554384.623 DEBUG  net.http - :644 SocketHttp.jive-http-chunked.source(2, nil)
    1275554384.623 DEBUG  net.http - :657 SocketHttp.jive-http-chunked.source - size: 251
    1275554384.623 DEBUG  net.http - :729 SocketHttp.jive-by-chunk.sink(nil, timeout)
    1275554384.623 DEBUG  net.http - :800 SocketHttp {www.woodbine.me.uk}:t_rcvResponse.pump(jive-http-chunked, nil)
    1275554384.623 DEBUG  net.http - :644 SocketHttp.jive-http-chunked.source(251, nil)
    1275554384.623 DEBUG  net.http - :670 SocketHttp.jive-http-chunked.source(251, nil, nil)
    1275554384.623 DEBUG  net.http - :729 SocketHttp.jive-by-chunk.sink(nil, timeout)
    1275554384.623 DEBUG  net.http - :800 SocketHttp {www.woodbine.me.uk}:t_rcvResponse.pump(jive-http-chunked, nil)
    1275554384.623 DEBUG  net.http - :644 SocketHttp.jive-http-chunked.source(0, nil)
    1275554384.623 DEBUG  net.http - :680 SocketHttp.jive-http-chunked.source 3 (0, nil, nil)
    1275554384.623 DEBUG  net.http - :729 SocketHttp.jive-by-chunk.sink(251, nil)
    1275554384.623 DEBUG  net.http - :739 SocketHttp.jive-by-chunk.sink: chunk bytes: 251
    1275554384.624 WARN   applet.SetupAppletInstaller - SetupAppletInstallerApplet.lua:461 sha1 missmatch expected: 3ca8c0c4f900ca3f68406734bf663255e5b9bae0 got: da39a3ee5e6b4b0d3255bfef95601890afd80709
    1275554384.624 INFO   squeezeplay.applets - :708 store settings: SetupAppletInstaller
    I've noticed a DNS lookup in the log, could this be the problem? Google Apps is a maze of DNS CNAME recorde and url forwarders, could this be confusing the applet installer?

    If Google Apps is an unsuitable site for hosting repos, can anyone suggest a free service that would work?

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,159

    Plugin Repository Problems

    > 1275554384.413 INFO applet.SetupAppletInstaller - SetupAppletInstallerApplet.lua:437 downloading: http://www.woodbine.me.uk/squeezebox/SqueezeIR_0.7.zip

    That's not the real url of your file. I'm not sure the Applet installer can handle redirects. Can't you just use the absolute url?

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    557
    Quote Originally Posted by mherger View Post
    That's not the real url of your file. I'm not sure the Applet installer can handle redirects.
    Thanks Michael, I suspected as much.
    Quote Originally Posted by mherger View Post
    Can't you just use the absolute url?
    Probably but I'm not sure how I would find it, any ideas?

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,159

    Plugin Repository Problems

    >> Can't you just use the absolute url?
    > Probably but I'm not sure how I would find it, any ideas?


    No idea - but didn't you install the redirect from the "friendly" url in the xml file to the google url?

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    557
    Quote Originally Posted by mherger View Post
    but didn't you install the redirect from the "friendly" url in the xml file to the google url?
    I think the friendly url is a redirect of another redirection done by Google. I've found this site http://unshort.me that is supposed to give the "true" url but that doesn't work either. My ISP doesn't give me any webspace so I think I'm going to have to look elsewhere. Thanks for your help.
    Last edited by indifference_engine; 2010-06-03 at 05:14.

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Posts
    8,285

    Plugin Repository Problems

    Have you tried hosting on google code - this is what several people do and this works. If you try to install my BBCRadio applet from the main repository this should load and its hosted on google code.

    Applet installer uses the standard http code in SqueezePlay - from a quick look this does not seem to support redirection, so is likely to be the problem (but I've only spent a couple of minutes looking where I would expect to see some!)

    Suggest you try Google code...



    ----- Original Message ----
    From: indifference_engine <indifference_engine.4bzabz1275564601 (AT) no-mx (DOT) forums.slimdevices.com>
    To: developers (AT) lists (DOT) slimdevices.com
    Sent: Thursday, 3 June, 2010 12:29:37
    Subject: Re: [Developers] Plugin Repository Problems


    mherger;552571but didn't you install the redirect from the "friendly" url in the xml file to the google url?[/QUOTE Wrote:
    >
    > I think the friendly url is a redirect of another redirection done by
    > Google. I've found this site http://unshort.me that is supposed to
    > give the "true" url but that doesn't work either. My ISP doesn't give
    > me any webspace so I think I'm going to have to look elsewhere. Thanks
    > for your help.



    --
    indifference_engine
    ------------------------------------------------------------------------
    indifference_engine's Profile: http://forums.slimdevices.com/member.php?userid=20698
    View this thread: http://forums.slimdevices.com/showthread.php?t=79380


  7. #7
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    557
    Thanks Triode. I've managed to persuade a friend to let me have his otherwise unused webspace so everything is working now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •