Closed Bug 964870 Opened 10 years ago Closed 10 years ago

(Synth APK) - APK Factory fails on Accuweather manifest

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

29 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 29

People

(Reporter: aaronmt, Assigned: ozten)

Details

http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp

{
    "name": "AccuWeather",
    "description": "Weather at your fingertips - Local and international weather forecasts",
    "launch_path": "/?p=mozillamobile",
    "appcache_path": "/awx.appcache",
    "icons": {
        "32": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-32x32.png",
        "64": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-64x64.png",
        "128": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-128x128.png",        
        "106": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-106x106.png",
        "150": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-150x150a.png"
    },
    "developer": {
        "name": "AccuWeather, Inc.",
        "url": "http://www.accuweather.com"
    },
    "default_locale": "en",
    "permissions": {
		"geolocation": {
  			"description": "Used to retrieve weather data for user's current location"
  		}
	},
    "locales": {
        "ar": {
            "description": "توقعات حالة الطقس محليًا ودوليًا - حالة الطقس بين يديك"
        },
        "ca": {
            "description": "El temps a les vostres mans - Pronòstics meteorològics locals i internacionals"
        },
        "cs": {
            "description": "PoÄasí na dosah ruky - Místní a mezinárodní pÅ™edpovÄ›di poÄasí"
        },
        "da": {
            "description": "Vejret lige ved hånden - Lokale og internationale vejrudsigter"
        },
        "de": {
            "description": "Das Wetter auf einen Blick - Wetter lokal und international"
        },
        "el": {
            "description": "Ο καιÏός στα χέÏια σας - Τοπικές και διεθνείς Ï€Ïογνώσεις καιÏοÏ"
        },
        "en": {
            "description": "Weather at your fingertips - Local and international weather forecasts"
        },
        "es": {
            "description": "El tiempo al alcance de su mano - Previsión meteorológica local e internacional"
        },
        "es-ar": {
            "description": "El tiempo al alcance de su mano - Pronósticos del tiempo local e internacional"
        },
        "es-mx": {
            "description": "El tiempo en la punta de los dedos - Pronósticos del tiempo locales e internacionales"
        },
        "fi": {
            "description": "Sää käden ulottuvilla - Paikalliset ja maailmanlaajuiset sääennusteet"
        },
        "fr": {
            "description": "La météo à portée de votre doigt - Prévisions météorologiques locales et internationales"
        },
        "fr-ca": {
            "description": "La météo à portée de votre doigt - Prévisions météorologiques locales et internationales"
        },
        "he": {
            "description": "תחזיות מזג ×וויר מקומיות ×•×‘×™× ×œ×ומיות - מזג ×וויר בקצות ×צבעותיך"
        },
        "hi": {
            "description": "मौसम आपकी उंगलियों पर - सà¥à¤¥à¤¾à¤¨à¥€à¤¯ और अंतरà¥à¤°à¤¾à¤·à¥à¤Ÿà¥à¤°à¥€à¤¯ मौसम पूà¥à¤°à¥à¤µà¤¾à¤¨à¥à¤®à¤¾à¤¨"
        },
        "hu": {
            "description": "Időjárás érintésre - Helyi és nemzetközi időjárás-előrejelzések"
        },
        "id": {
            "description": "Cuaca di ujung jari Anda - Prakiraan cuaca lokal dan internasional"
        },
        "it": {
            "description": "Previsioni meteo sempre disponibili - Previsioni meteo locali e internazionali"
        },
        "ja": {
            "description": "指先ã§ã®å¤©æ°—äºˆå ± - 地域ãŠã‚ˆã³ä¸–ç•Œã®å¤©æ°—äºˆå ±"
        },
        "ko": {
            "description": "간편 예보 - 지역 ë° ì„¸ê³„ ë‚ ì”¨ 예보"
        },
        "nl": {
            "description": "Weer bij de hand - Lokale en internationale weersverwachtingen"
        },
        "no": {
            "description": "Været et par tastetrykk unna - Lokalt og internasjonalt værvarsel"
        },
        "pl": {
            "description": "Prognoza pogody w zasięgu ręki - Lokalne i międzynarodowe prognozy pogody"
        },
        "pt": {
            "description": "O tempo na ponta dos seus dedos - previsões locais e internacionais"
        },
        "pt-br": {
            "description": "O clima na ponta de seus dedos - Previsões de tempo locais e internacionais"
        },
        "ro": {
            "description": "Vremea la degetele voastre - Prognoze meteo internaţionale şi locale"
        },
        "ru": {
            "description": "Погода в любую минуту - МеÑтный и международный прогноз погоды"
        },
        "sk": {
            "description": "PoÄasie na dosah ruky - Lokálne predpovede poÄasia a predpovede poÄasia vo svete"
        },
        "sl": {
            "description": "Vreme na dosegu prstov - Lokalne in mednarodne vremenske napovedi"
        },
         "sv": {
            "description": "Vädret vid dina fingertoppar - Lokala och internationella väderprognoser"
        },
         "tr": {
            "description": "Hava durumu parmağınızın ucunda - Yerel ve uluslararası hava tahminleri"
        },
         "uk": {
            "description": "Погода на кінчиках ваших пальців - МіÑцеві та міжнародні прогнози погоди"
        },
         "zh": {
            "description": "气象资讯,尽在指尖 - 本地和国际天气预报"
        },
         "zh-cn": {
            "description": "气象资讯,尽在指尖 - 本地和国际天气预报"
        },
         "zh-hk": {
            "description": "彈指間掌æ¡å¤©æ°£è³‡è¨Š - 當地與世界天氣é 測"
        },
        "zh-tw": {
            "description": "彈指之間掌æ¡æ°£è±¡è³‡è¨Š - 當地與國際氣象é å ±"
        }
    }
}

$ curl -V http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp
curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 
pegasus:Desktop AaronMT$ curl -v http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp
* Adding handle: conn: 0x7fbe0a003a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbe0a003a00) send_pipe: 1, recv_pipe: 0
* About to connect() to dapk.net port 80 (#0)
*   Trying 50.16.201.4...
* Connected to dapk.net (50.16.201.4) port 80 (#0)
> GET /application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp HTTP/1.1
> User-Agent: curl/7.30.0
> Host: dapk.net
> Accept: */*
> 
* Empty reply from server
* Connection #0 to host dapk.net left intact
curl: (52) Empty reply from server
Dies during ant build, investigating.
Assignee: nobody → ozten.bugs
exec genKey CALLBACK error= { [Error: Command failed: ] killed: false, code: 1, signal: null } stdout= keytool error: java.io.IOException: Incorrect AVA format
java.io.IOException: Incorrect AVA format
	at sun.security.x509.AVA.readChar(AVA.java:564)
	at sun.security.x509.AVA.<init>(AVA.java:185)
	at sun.security.x509.AVA.<init>(AVA.java:145)
	at sun.security.x509.RDN.<init>(RDN.java:151)
	at sun.security.x509.X500Name.parseDN(X500Name.java:918)
	at sun.security.x509.X500Name.<init>(X500Name.java:165)
	at sun.security.x509.X500Name.<init>(X500Name.java:152)
	at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1544)
	at sun.security.tools.KeyTool.doCommands(KeyTool.java:969)
	at sun.security.tools.KeyTool.run(KeyTool.java:340)
	at sun.security.tools.KeyTool.main(KeyTool.java:333)
We needed to escape inputs to keygen.sh as x509 values.

Fixed in https://github.com/mozilla/apk-factory-service/commit/ba8adeda794d5c51cbf3cdede1493cba6879389e
and 62b0ff368e38908d9b4f7caa56a51cccce57f9ac

Fix is deployed on dapk.net.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.