Author
Topic: Online Package Manager (Read 191418 times)

When behind a firewall, I get "Cannot download package list. Error message: Unexpected response status code: 407" and GUI says "No packages to show". For OPM I use the same proxy settings as in browser and I have checked proxy IP address, port, username and password many times, so I don't get it why proxy does not let OPM authenticate. From browser I can access without problems both http://packages.lazarus-ide.org and https://packages.lazarus-ide.org and download packages by hand. Was there a known bug with proxy access fixed in some newer version? That seams to be my best chance right now.

That Lazarus was made with fpcupdeluxe (FPC and LAZ trunks on May 17th) that had OPM working and updating on original pc with internet access without proxy, and now copied to the same dir on target pc but behind proxy.

What kind of proxy do you have? I ran a few test and unfortunately socks protocol is not supported/implemented in fpc(SOCKS4, SOCKS4a, SOCKS5), however HTTP proxy works well, I tested with and without password.

According to IE it's http proxy. Now I am puzzled. It must be something on my side but I don't know what...

Firewall maybe? Try to add Lazarus to the whitelist.

"Windows Firewall is using your domain settings". Although it seams that domain policy has changed recently, adding exceptions is allowed. Unfortunatelly it didn't help. I give up. Thanks for your effort.

@avraYou can still use OPM if you have a http server installed on your local computer, where no proxy is needed. If yes, please do the following:1. Download the main repository from here: https://packages.lazarus-ide.org/opm.zip (182 Mb)2. Extract the zip to a folder, "packages" for example3. Start the local server4. Start OPM, go to Options-->Genereal-->Remote repository, click the "..." button, then add the following address: http://localhost/packages/ Close the dialog, select the local server, then click "OK"

Every time I update the main repository, I will also update the opm.zip file. Each time you wish to get the latest packages, you have to download and extract opm.zip. Still much better then installing manually 10-15 packages.

I was just opening OPM from today's Laz trunk / fpc 3.02 and get the error "Cannot download package list. Error messge: 'Connect to packages.lazarus-ide.org:80 failed'. Trying to do the same with Laz 1.8RC4 works correctly.