You are here

Proxy Authentication PA.c Platform Updater/App Directory Quick Test

18 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 22 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Proxy Authentication PA.c Platform Updater/App Directory Quick Test

This is a quick test to try out a couple methods of fixing the proxy authentication issue with the PortableApps.com Platform 2.0 Pre-Release 2.1 release. Please try this two separate replacement files to see if they work. You'll need to download them and rename them to PortableAppsUpdater.exe and replace your existing file in your PortableApps\PortableApps.com directory to try them out. Keep a copy of your existing one to switch back to.

Updated Method: Download The Test Fix - This should resolve the issue fully and only show the banner during startup when required to show the login. It should also resolve the issue of a blank updater page showing. If this does not work for you, please move on to the others...

Download Current inetc Test - This one will leave any files you download behind in Temporary Internet Files on the local PC but will work with both the standard updater/app directory and the check for apps on startup silently feature (except for prompting for password, of course).

Download Banner Test - This one will show a duplicate banner in updater/app directory mode and show a banner in check for updates on platform startup feature (when it shouldn't).

To check the check for updates on startup feature, first enable check for updates on startup in the Options window on the Advanced tab. Then, you can take an installed app like 7-Zip Portable and edit it's appinfo.ini file in the 7-ZipPortable\App\AppInfo directory. Change the line PackageVersion=9.20.0.1 to PackageVersion=9.20.0.0 which will make the updater think there is a new version. Then exit the platform (no need to eject) and then start it again with Start.exe.

Please give this a try if you use a proxy that requires authentication and report back your findings for both updater replacements and for both the updater/app directory and the automatic update check on startup in this thread.

Thank you!

ADDED: Also, if proxy users could post the exact error message they see when they run the standard 2.0 Pre-Release 2.1 updater from the menu (not the automated startup which should produce no error). It should be an error like "Unable to connect to PortableApps.com to retrieve portable apps. Please try again later." in your language followed by an error code within brackets. It's the exact error code within brackets we're interested in. Does everyone get [Proxy Error (407)]? And does it come up just about instantly after running or is there a delay (if so, could you time it)?

georgekaplan
Offline
Last seen: 11 years 2 months ago
Joined: 2011-07-20 03:21
"Download Banner Test" works for me!

"Download Current inetc Test" did not work with my proxy but "Download Banner Test" works!

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 22 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Both?

Did it work for both the startup one and the manually launched one? Also, what was the exact error you saw in the official version? And does the error come up just about instantly after running or is there a delay (if so, could you time it)?

Sometimes, the impossible can become possible, if you're awesome!

georgekaplan
Offline
Last seen: 11 years 2 months ago
Joined: 2011-07-20 03:21
Sorry, I was so excited with

Sorry, I was so excited with the autoupdater working again... Blum

- Yes works for both (startup and manual).
- The error was 407 (I thought we all were having the same error message... sorry again)
- There isn't delay.

And thank you very much for PA.c!

NoKurth
Offline
Last seen: 2 years 6 months ago
Joined: 2011-08-03 06:44
Download Current inetc Test -

Download Current inetc Test - don't work
Download Banner Test - works fine

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 22 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Both? Error?

Did it work for both the automatic upgrade check on startup as well as the manual updater/app directory launch from Manage Apps for you? Also, what was the exact error you got in the original updater in the 2.0 PR 2.1 platform release? And does the error come up just about instantly after running or is there a delay (if so, could you time it)?

Sometimes, the impossible can become possible, if you're awesome!

RaphaelRB
Offline
Last seen: 5 days 6 hours ago
Joined: 2011-07-20 11:10
Feedback

Without any fix
"Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]"

With "Current inetc Test" fix
Same message: "Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]"

With "Banner Test" fix
It worked fine. Asked for proxy authentication, downloaded Google Chrome Portable and installed it.
I didn't see any "duplicate banner in updater/app directory" or maybe I didn't understand what this expression means. It worked the same way as "Beta 5" did.

PS: "To check the check for updates" reminds me a song called "cheek to cheek". Biggrin

RaphaelRB - Brazil

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 22 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
How Long For Error?

How long after you run the updater/app directory directly til you see the Proxy Error (407) message? If not right away, could you please time it?

Sometimes, the impossible can become possible, if you're awesome!

RaphaelRB
Offline
Last seen: 5 days 6 hours ago
Joined: 2011-07-20 11:10
More feedback

Right away means less than 2 seconds? Biggrin
The error was as soon as I choose "Manage Apps" and "Check For Updates".
All I wrote above was using this way of updating.

I also tried using Automatic Update and running PortableAppsUpdater directly from PortapleApps folder.

  1. Without any fix
  • Automatic Update: it opens a blank window showing no updates (its not the dialog telling there's no updates, but the "update available" with nothing listed
  • "Manage Apps" and "Check For Updates": a message and [Proxy Error (407)], then the same blank window
  • Running PortableAppsUpdater: a message and [Proxy Error (407)], then the same blank window
  • With CurrentINETC fix
    • Automatic Update: it opens a blank window showing no updates (its not the dialog telling there's no updates, but the "update available" with nothing listed
    • "Manage Apps" and "Check For Updates": a message and [Proxy Error (407)], then the same blank window
    • Running PortableAppsUpdater: a message and [Proxy Error (407)], then the same blank window
  • With Banner fix
    • Automatic Update: asks for proxy authentication and shows update window with updates avaiable (if any) or, if all apps are already updated, shows nothing
    • "Manage Apps" and "Check For Updates": asks for proxy authentication and shows update window with updates avaiable (if any) or, if all apps are already updated, shows a dialog telling "All portable apps are up to date"
    • Running PortableAppsUpdater: asks for proxy authentication and shows update window with updates avaiable (if any) or, if all apps are already updated, shows a dialog telling "All portable apps are up to date"

    Important observation: when I cancel proxy authentication, it shows a dialog "Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Cancelled]" (and its okay), but then shows the update window with blank listing. IMHO when Updater isn't able to connect, it must not show that window.
    And perhaps it gives a clue to what's happening, don't it?

    RaphaelRB - Brazil

    youngheart80
    Offline
    Last seen: 1 year 4 months ago
    Joined: 2006-11-02 12:44
    Tests

    Here are my results of the updater.

    Pre-Release 2.1 - Baseline; I hadn't used the "check for updates at startup" feature and wanted to make sure it was also having problems.

    • Manual Update
    • Result: Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]
    • Time: 5 sec
    • Check for updates at Startup
    • Result: No error showed at all, no proxy request window, and no apps showed as needing updated.
    • Time: Approximately 2 secs after platform finished loading, updater window appeared with no apps listed.

    Current INECT - Essentially the same results at Pre-Release 2.1; seemed slightly faster as noted below.

    • Manual Update
    • Result: Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]
    • Time: 2 sec - slightly faster than Pre-release 2.1
    • Check for updates at Startup
    • Result: No error showed at all, no proxy request window, and no apps showed as needing updated.
    • Time: Approximately 2 secs after platform finished loading, updater window appeared with no apps listed.

    Banner - Everything appeared to work as described in the OP.

    • Manual Update
    • Result: Proxy request window shows, works properly, connected to website and recognized all needed updates.
    • Time: 2 sec or less
    • Check for updates at Startup
    • Result: Proxy request window shows, works properly, connected to website and recognized all needed updates
    • Time: 2 sec or less

    ----------

    I thought I'd try out the "Get More Apps" feature as well since it should be requesting a proxy authentication if I go looking for more apps. I'm guessing it uses the same .exe, just processes differently. Still, wanted to check it out.

    Pre-Release 2.1 - Baseline

    • Get More Apps
    • Result: Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]
    • Time: 5 sec

    Current INECT - Same results as PR 2.1

    • Get More Apps
    • Result: Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [Proxy Error (407)]
    • Time: 2 sec - slightly faster than Pre-release 2.1

    Banner - Appears to work normally

    • Get More Apps
    • Result: Proxy request window shows, works properly, connected to website and listed all available apps
    • Time: 2 sec or less
    Pyromaniac
    Pyromaniac's picture
    Offline
    Last seen: 9 years 8 months ago
    Developer
    Joined: 2008-09-30 19:18
    Confirmed

    Current: No go (error 407 for this as well as in PAM 2.0 PR 2.1)
    Double Banner: Yes sir!

    John T. Haller
    John T. Haller's picture
    Online
    Last seen: 6 min 22 sec ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    Test Fix Added

    I've added a test fix that should properly display the banner and then the proxy authentication if it encounters such a proxy but should remain silent when run on startup when it encounters a standard direct connection or a proxy that requires no password. Please try this out on both authentication proxy connections, direct and no connection computers to ensure proper functionality.

    This could be released officially as soon as tomorrow (Thursday) so the more people we get on it the better. Thanks!

    Sometimes, the impossible can become possible, if you're awesome!

    pickles
    Offline
    Last seen: 13 years 4 months ago
    Joined: 2011-08-04 05:12
    Test Fix - Works

    I have just successfully tested your latest update behind a proxy, using a manual update and an on startup. I'll try and get time to test a direct connection later tonight.

    I hadn't updated any apps since PR1 was released due to the error, thanks for all the hard work.

    Update: Just got home and tried it without a proxy and both manual and on start up work perfectly.

    youngheart80
    Offline
    Last seen: 1 year 4 months ago
    Joined: 2006-11-02 12:44
    Test Fix Results

    All works as expected.

    Manual update shows proxy request window and finds apps needing update.

    Check for updates on startup shows proxy request and finds apps.

    Direct connection (w/o proxy) also works properly on both manual update and check at start up.

    Yay!

    Thanks John for getting this worked out.

    RaphaelRB
    Offline
    Last seen: 5 days 6 hours ago
    Joined: 2011-07-20 11:10
    Very good

    I've tried with proxy that requires authentication and proxy that don't require. It works very well.

    I won't be able to test in a direct connection until Saturday.

    Reading other replies, I can assume that it also works in a direct connection.

    Thank you very much!

    RaphaelRB - Brazil

    techi67
    Offline
    Last seen: 13 years 4 months ago
    Joined: 2011-07-21 08:43
    Update method works fine

    Hi John,

    the Test fix posted under "Update Method" works fine for me.
    I tested both the manualupdate and the add apps feature.

    Also, the autoupdate on startup work as it should from my point of view. Smile

    Regards and many thanks for the fix!

    Chris

    Pyromaniac
    Pyromaniac's picture
    Offline
    Last seen: 9 years 8 months ago
    Developer
    Joined: 2008-09-30 19:18
    Suggestion

    I was thinking, maybe instead of having two banners when proxy authentication is needed, why not have the second one that comes up in the window say "proxy authentication needed" or something, so that it don't seem too redundant.

    John T. Haller
    John T. Haller's picture
    Online
    Last seen: 6 min 22 sec ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    One Then The Other

    It's ok as the old one is destroyed first and then the new one displayed.

    Sometimes, the impossible can become possible, if you're awesome!

    Log in or register to post comments