You are here

"Unable to connect to PortableApps.com..." Error I started getting with 12.0 Beta 1

16 posts / 0 new
Last post
J0KE
Offline
Last seen: 3 months 4 weeks ago
Joined: 2011-09-07 10:57
"Unable to connect to PortableApps.com..." Error I started getting with 12.0 Beta 1

Hello.

After installing Platform 12.0 Beta 1, when I would "Check For Updates", I would get an error window that would pop up saying...

"Unable to connect to PortableApps.com to retrieve portable apps. Please try again later. [ URL Parts Error ]"

I'm not positive if I was getting this error every time I would check for updates after installing 12.0 Beta 1, but I know I have got this error every time I have tried checking for updates the last 10+ times I have tried.

I manually installed 12.0 Beta 2 hoping that this error might be fixed by updating to Beta 2, but I get the same error.

I apologize in advance if this issue is addressed in another thread I didn't see. I did look.

Thanks in advance for any feedback/help.

-J0KE

Tommis
Offline
Last seen: 11 years 7 months ago
Joined: 2012-12-28 22:19
"Unable to connect to PortableApps.com..." Error I started getti

I had same problem too. How to fix it:
1. go to folder X:\PortableApps\PortableApps.com\Data\
2. open „PortableAppsMenu.ini“ in notepad
3. find a string „ConnectionType=...“ (it will be at the very end)
4. change it (simply delete - type new) to „ConnectionType=Automatic“, make sure that „ProxyIP=127.0.0.1“ and „ProxyPort=8080“
5. save changes and try again.
Good luck!

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
After changing the file as

After changing the file as stated above I now get "InvalidFilePossibleNoConnectionOrFirewall" I am using a socks 5 proxy.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Automatic

The proper way to set it to automatic is within the Platform clicking Options and then selecting Proxy. When set to Automatic there, it should automatically detect the proxy settings set within the local machine (Internet Options in Control Panel, sometimes referred to as IE's settings). It should then work properly.

If it does not, you could try manually pointing it to your proxy's IP and port using a manual setup. That may work.

If it does not, then SOCKS5 may not be currently supported by the INETC download component used in the Platform's app store, updater and all PortableApps.com Installers (not to mention nearly all apps installers created with NSIS either local or portable).

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

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
Thanks for your fast

Thanks for your fast response. My school firewall blocks portable apps, so I ssh tunnel to home. The computer proxy settings are the schools so I want to override them. I'm trying to connect through the SSH tunnel on port 8080 and update the apps through the proxy.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Wget

Could you try using wget to do a manual download via the command line with your SSH tunnel to see if it works properly? The standard Windows build is over here: http://gnuwin32.sourceforge.net/packages/wget.htm

If it does work, I could build in a more limited mode that uses wget for downloads for when folks are stuck in such a situation (sans progress indicator of the download for now). Note that we are not encouraging using a school/corporate network for purposes that are against the rules. But there may be folks who wish to use an SSH tunnel while they move around and this would be a way to support them.

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

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
Unfortunately, the current

Unfortunately, the current Windows binary doesn't support defining a proxy. I'll have to try compiling the newer version from source.

I probably won't have time until the next week or so. I'll update this thread if I get it working.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Thought It Did

I thought proxy support was included now. It could be HTTP only and not SOCKS, though. Please let me know if you can get it working. If you can, we could use some help with the build. That way we can add some limited support for the platform.

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

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
You are right, there is proxy

You are right, there is proxy support but only for HTTP/HTTPS, not SOCKS4/5.

So I couldn't get wget to work as it needs tsocks. What I did get working very easily was curl (http://curl.haxx.se) with the --socks5 option through the command line. I test it out with a few sites and it works great. I'm not sure how to integrate it with portable apps though.

Curl and libcurl are licensed under a MIT/X derivate license so I don't think there will be a problem using them.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
That Could Work

curl could work. what is the full command line you used to get it working with your socks5 setup? i can probably hack something together with the command line version for now. it wouldn't have progress indication in the gui, but would at least work.

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

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
That is awesome. After

That is awesome. After setting up my SSH tunnel and SOCKS5 proxy, the command I used was

curl -o mygettext.html --socks5 127.0.0.1:8080 http://www.gnu.org/software/gettext/manual/gettext.html
John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Cool

That should be what I need to give it a shot in the platform. I should be able to land it in Beta 3, maybe 4.

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

moffa
Offline
Last seen: 9 years 4 months ago
Joined: 2013-01-09 14:37
A shameless bump to this.

A shameless bump to this.

jrezin
Offline
Last seen: 3 years 1 month ago
Joined: 2018-12-02 14:31
app updates via proxy

It seems this bug is hanging around a long time. This report is from 2012, and we are entering 2019 and no fix yet... The thing is, this is listed in the "PortableApps.com Platform Bug Report and Feature Tracker" as "Confirmed Coming In An Upcoming Release" for some time too... should we expect a fix anytime soon?

Also, the platform can update itself normally, the bug only affect app updates/downloads.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
SOCKS5?

Are you talking about asking for SOCKS5 support? If so, the only way to do it in the app store's current form is with CURL using the command line which will lose all progress and status in the UI.

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

jrezin
Offline
Last seen: 3 years 1 month ago
Joined: 2018-12-02 14:31
worth considering

mmm... maybe it is not ideal, but IMHO it is much better than an error.
Is it possible to fallback to this method if the standard one fails (maybe only if proxy is enabled if it is a concern...)? Or at least an option to enable this instead?

Log in or register to post comments