Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    20

    "Authorization Failed" Error while installing on N72

    Hi,

    We have a J2ME app signed using Verisign certificate. We have been running it on various phones such as N72, N73, N95. We now made some upgrades and rebuilt the application and signed it. After that the installation goes through on the N73 and the N95, but on the N72 we get the message "Authorization Failed".

    What could be the reason?

    Thanks in advance for any help.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: "Authorization Failed" Error while installing on N72

    Have you successfully installed the previous versions on that specific N72 before?

    Was there an existing (earlier) version of that MIDlet on the phone (so was the install an upgrade)? What were the corresponding version numbers?

    Does the N72 in question have the corresponding Verisign certificate?

    Did you have SIM card on the phone? Were the time and date correct on the phone? Have you disable the on line certificate check on the phone in the Application Manager?

    Which APIs are you using in the MIDlet?

    This now for starters...

    Hartti
    Last edited by hartti; 2008-03-14 at 17:33. Reason: corrected a typo...

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    20

    Re: "Authorization Failed" Error while installing on N72

    Thanks for the reply. Please find my answers in blue below.

    Quote Originally Posted by hartti View Post
    Have you successfully installed the previous versions on that specific N72 before?

    Yes, we have been using the application extensively with the same Verisign certificate on the same N72.

    Was there an existing (earlier) version of that MIDlet on the phone (so was the install an upgrade)? What were the corresponding version numbers?

    There was an earlier version but we were not doing an upgrade. We were just testing the download independently before setting it up for auto upgrade. We tried even after removing the earlier version, we still get the authorisation failed message.

    Does the N72 in question have the corresponding Verisign certificate?

    Yes. Like I mentioned it has been installing and working just fine before the new version.

    Did you have SIM card on the phone? Were the time and date correct on the phone? Have you disable the on line certificate check on the phone in the Application Manager?

    Yes to all.

    Which APIs are you using in the MIDlet?

    We have not added new API's in the new version, we have been using PIM and file manager API's.

    This now for starters...

    Hartti

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: "Authorization Failed" Error while installing on N72

    Would it be possible to try to format the C-drive and restore factory settings?
    http://wiki.forum.nokia.com/index.php/Star-hash_codes

    Note that all the data on the phone will disappear... so proceed with caution...

    Hartti

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    20

    Re: "Authorization Failed" Error while installing on N72

    Before doing that, we rebuilt the J2ME application (without any changes) and tried re-installing. It installed fine on all the phones - N72, N95, N73.

    So it is quite a mystery what was giving the "Authorization failed" earlier. This has happened to us before also, and rebuilding the app often causes the problem to go away.

    But the strange part is that the app will download and install fine on certain phones and not do so on some particular phones. We have not been able to figure what may be the issue.

  6. #6
    Registered User
    Join Date
    Mar 2014
    Posts
    2

    Re: "Authorization Failed" Error while installing on N72

    I keep saying, someone please shoot James Gosling dead! Anyway, away from that, it seems that your "changes" might require extra API permissions. Please make sure to include ALL possible permissions but some should be marked as optional(This is a matter of trial and error depending on the phone). CAs(Code Authorities) will issue you with keystores containing 4 certificates. Get rid of the 4th in the JAD file by simply deleting it. This trips up older phone models.

    Below is a sample of signed and working JAD to guide you. Note the absence of a 4th certificate and the use of optional permissions. Also some phones are sensitive to spacing and line breaks, so by default '\n' should work fine but Windows might use '\r\n'. File encoding should be UTF-8 but you might want to drop down to ASCII if all else fails(especially for legacy devices).

    [QUOTE]
    MIDlet-1: MetaDataControlMIDlet, , MetaDataControlMIDlet
    MIDlet-2: RootMIDlet, , RootMIDlet
    MIDlet-Certificate-1-1: MIIEEDCCAvigAwIBAgIQfFf6YfgWywo3cTLbwbgOuzANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMVGhhd3RlLCBJbmMuMSQwIgYDVQQDExtUaGF3dGUgQ29kZSBTaWduaW5nIENBIC0gRzIwHhcNMTMwOTI1MDAwMDAwWhcNMTUwOTE2MjM1OTU5WjBmMQswCQYDVQQGEwJHSDEOMAwGA1UECBMFQWNjcmExEzARBgNVBAcUCkVhc3QtTGVnb24xGDAWBgNVBAoUD1NheWEgTW9iaWxlIEx0ZDEYMBYGA1UEAxQPU2F5YSBNb2JpbGUgTHR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9cKJ8rq8hvYH4K9Q9j0iTUijnUJ7mEpWbJTYVQ858Ln6yyJerwk8hKAi++tsdlMwLv3gmq3W/QrnEDmT8vexBtBjhWOJTxkaNp89vb9gfa3bCg4pOYsEYoOLrHglXBkt0dy/IEnkxpUaCihBf7S+rUaZo0Y+Q8/qqadRl8khkzhpDyONSXzT4QKogA3nC0nAh4wKh3DTgxeSzZax57+QESCAfRaDExH2Oksu+ULVpgckoq+7Kmw==
    MIDlet-Jar-Size: 9772
    MIDlet-Jar-URL: SoundByte.jar
    MIDlet-Name: SoundByte
    MIDlet-Permissions: javax.microedition.io.Connector.comm, javax.microedition.io.Connector.file.read, javax.microedition.io.Connector.file.write, javax.microedition.media.control.RecordControl
    MIDlet-Permissions-Opt: javax.microedition.content.ContentHandler
    MIDlet-Vendor: Vendor
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    Last edited by crazywiz; 2014-03-10 at 18:27. Reason: Forgot to remove 4th certificate from JAD file

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,806

    Re: "Authorization Failed" Error while installing on N72

    Your post is approved now, but it might disappear in the near future:
    - I do not really see how James Gosling is guilty about Java ME permissions, pre-verification or signing
    - Ddbhasin clearly stated that the permission set did not change
    - the entire thread happened 6 years ago
    - honestly said I tend to see 4 certificates in the posted JAD file, where I am supposed to note the absence of a 4th certificate

  8. #8
    Regular Contributor
    Join Date
    Apr 2012
    Location
    malaysia
    Posts
    265

    Re: "Authorization Failed" Error while installing on N72

    The solution reply might look weird as it eight years late but at least there is a solution.Although the solution may not be relevant anymore but the thread question could be considered answered.Actually i don't even understand what the reply is but looks like a solution to me.

  9. #9
    Super Contributor
    Join Date
    Mar 2003
    Posts
    4,110

    Re: "Authorization Failed" Error while installing on N72

    Because we have that thread at the top know, my I add my list of learned lessons …

    What’s interesting, crazywiz’s MIDlet is from Saya Mobile, signed with Thawte (original poster was about VeriSign), and back in 2008 there were no MIDlet-Certificate-1-4 issues. Furthermore, adding new code which requires permissions would create a bug at runtime rather than at installation time.

Similar Threads

  1. "Authorization failed" message displayed when installing jar file
    By capricious28 in forum Mobile Java General
    Replies: 10
    Last Post: 2014-07-04, 11:22
  2. Again "Authorization failed" - N95 OK, E60 - Fail
    By neil.young in forum Mobile Java General
    Replies: 11
    Last Post: 2008-03-11, 08:05
  3. "Authorization failed"
    By gamerrajan in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-02-15, 22:39
  4. Bluetooth L2CAP s60 "authorization failed" nokia 6630
    By aqibarain in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2007-10-19, 02:49
  5. "authorisation failed" while installing 6600
    By dccl_ghr in forum Mobile Java General
    Replies: 2
    Last Post: 2004-07-27, 13:39

Posting Permissions

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