You are here

Portable Apps Updater can‘t download any app from time to time

11 posts / 0 new
Last post
goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
Portable Apps Updater can‘t download any app from time to time

I guess it come from some network parameters
suggestion:
Add options about network error-controling such as ’timeout‘ ,’number of retry‘ ,’pause between connection‘ and so on

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
60 seconds

The PA.c Updater uses Windows' internet component settings for timeouts. By default, these are set to 60 seconds. They are contained within the registry key: HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings

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

goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
i tried but didnot work.

i tried but didnot work.
okey , perhaps not the cause
Windows' internet component ? Could it be because of Internet Explorer?
so i tried IE mode in Edge and IE mode stop redirection to real url .
Could this be the problem?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Redirection

If you manually turned off automatic redirection within Internet Settings, it'll break everything.

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

UpdateInformer
Offline
Last seen: 5 hours 11 min ago
Joined: 2013-07-15 09:27
yeah, i got sometime also

yeah, i got sometime also very low reaction times e.g. in firefox after re/start and even time out
UPDATE meant sys or app restart. anyone idea whats that and how to fix? seem same like this
i wonder how to fix this
thx

i help were i can. maybe you can help me too. threads in account/track.
if you don't want to help don't post crap!

goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
The root cause appears to be

The root cause appears to be something other than this. I did some digging to look for answer.
portableappsUpdater might use InetC and InetC uses WinINet
I can't confirm whether iwr also uses WinINet under the hood. In fact, it seems that iwr doesn't handle HTTP redirection from Cloudflare(sourceforge.net) as it should. But I tesed iwr with Apache httpd and there were no issues.
curl.exe had no issues with both cloudfare and my Apache httpd
i geuss portableapps might concerned libcurl plugin of nullsoft is unofficial

goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
i think i have found it

based on useragent , cloudflare determines and responds with http redirction or not.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Change Anything?

Have you changed anything on your local PC or are you running anything that could affect the useragent or redirection of the Windows internet components? It works without issue by default on Windows 7 and later. It will also temporarily change settings that will interfere like having modern security protocols disabled or WarnOnZoneCrossing

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

goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
example:

curl -k -L "https://portableapps.com/redirect/?s=p&a=balenaEtcherPortable&d=sfpa&wv=..." -A "curl" --output FILE .......................download successfully

curl -k -L "https://portableapps.com/redirect/?s=p&a=balenaEtcherPortable&d=sfpa&wv=..." -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" --output FILE .............. download failed

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform

The platform doesn't use those user agents. The platform's useragent isn't blocked by SourceForge/CloudFlare. I'm asking if you did anything to alter your local PC configuration that would affect this.

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

goodjob
Offline
Last seen: 1 week 1 day ago
Joined: 2016-07-20 04:55
i tested in virtualbox again

i tested in virtualbox again to avoid accidental interference
same result
desktop ,laptop ,all of them react the same way
If you're not experiencing this issue, then some ISP problem cannot be ruled out.

Log in or register to post comments