[Bug 1458535] [NEW] ubuntu-device-flash constantly fails with 'EOF' or 'HTTP request on broken connection'

Launchpad Bug Tracker 1458535 at bugs.launchpad.net
Mon May 25 13:14:22 UTC 2015


You have been subscribed to a private bug by Caio Begotti (caio1982):

Btw it's possible this bug is related to
https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-
touch/+bug/1336809 but since it contains company info and logs with
unreleased product names I kept this one private. Feel free to make it
public though.

Using the official image server with a BQ phone:
https://pastebin.canonical.com/131926/

    2015/05/25 08:25:23 Device is |krillin|
    2015/05/25 08:25:24 Flashing version 22 from ubuntu-touch/stable/bq-aquaris.en channel and server https://system-image.ubuntu.com to device krillin
    2015/05/25 08:25:30 Get https://system-image.ubuntu.com/gpg/image-signing.tar.xz.asc: EOF

Using the internal image server for development with an Meizu phone:
https://pastebin.canonical.com/131848/

    2015/05/21 23:07:23 Device is |arale|
    2015/05/21 23:07:24 Flashing version 6 from ubuntu-touch/rc-proposed/meizu channel and server https://sis.capomastro.canonical.com to device arale
    2015/05/21 23:07:31 Get https://sis.capomastro.canonical.com/gpg/image-master.tar.xz: http: can't write HTTP request on broken connection
    2015/05/21 23:07:35 Device is |arale|
    2015/05/21 23:07:36 Flashing version 6 from ubuntu-touch/rc-proposed/meizu channel and server https://sis.capomastro.canonical.com to device arale
    2015/05/21 23:07:43 Get https://sis.capomastro.canonical.com/gpg/image-master.tar.xz: EOF

As you can see I have to wrap the u-d-f call around an until; do; done
loop otherwise I waste a lot of time due to this bug. Since the company
VPN is now officially supported, I figure u-d-f should behave when it's
in use too. This is my primary scenario as I always have the VPN set up
because the internal image server sits behind it, but I believe this
affects u-d-f even when VPN is down... I just saw the same issue
happening when both UK and US endpoints of it are not active.

On two occasions I had the until; do; done loop running for over 1h
until it finally worked! My connection is pretty good too (a 60Mbps
fiber) so it's likely to be a u-d-f bug. The funny thing though is that
I have only seen this bug to happen when downloading the GPG files, not
actual images tarballs.

I've tried u-d-f from both the Phablet PPA and also, as you can see
below, from Snappy. I confirmed both of them shows this bad behavior on
Trusty. I reverted to using the Snappy one after filing this bug btw:

$ apt-cache policy ubuntu-device-flash
ubuntu-device-flash:
  Installed: 0.20snappy7-0ubuntu1.2
  Candidate: 0.20snappy7-0ubuntu1.2
  Version table:
 *** 0.20snappy7-0ubuntu1.2 0
        500 http://ppa.launchpad.net/snappy-dev/beta/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     0.16-0ubuntu1 0
        500 http://ppa.launchpad.net/phablet-team/tools/ubuntu/ trusty/main amd64 Packages
     0.2+14.04.20140416.2-0ubuntu1 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

$ lsb_release -rd
Description:	Ubuntu 14.04.2 LTS
Release:	14.04

** Affects: goget-ubuntu-touch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ubuntu-device-flash constantly fails with 'EOF' or 'HTTP request on broken connection'
https://bugs.launchpad.net/bugs/1458535
You received this bug notification because you are a member of Ubuntu Phablet Team, which is subscribed to the bug report.



More information about the Ubuntu-reviews mailing list