How to set proxy for loading QGIS plugins from Github? - plugins

My system is running Ubuntu 20.04 and QGISv3.25. I'm trying to add a plugin from a Github repository. After enabling experimental plugins, and when I try to add the repository https://github.com/myrepository/myplugin, QGIS is complaining with the message:
Server response is 200 OK, but that doesn't contain plugin metadata. This is most likely caused by a proxy or a wrong repository URL. You can configure proxy setting in QGIS options.
Then, I tried 'Use proxy for Web Access' in the network settings but it's the same error.

Related

SSL handshake failed remote host closed connection during handshake in Eclipse

I am trying to create a repository in Eclipse. The code that I need is hosted in a VisualSVN server. I am trying to use its trunk URL as the repository location, but when I try to connect to the URL through Eclipse's SVN plug-in, it fails with error SSL handshake failed.
I am using a proxy server.
I have seen solutions mentioning modifying the settings like so:
-Dhttps.protocols=TLSv1.1,TLSv1.2
Source: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake during web service communicaiton
I figured out my issue. I had to open my network connection settings in Eclipse and change the 'Active Provider' to manual instead of native. I had to do this because my visual svn server was not allowing me to connect to it through a proxy server, and native was using the proxy.
(also, I checked this at the get-go but it was not showing my proxy server for some reason in eclipse's network connection dialog box)
Update SVN plug-in that you use in Eclipse. It seems that it is very outdated.
Try setting the TLS/SSL compatibility level to Legacy in VisualSVN Server's settings.

SVN plugin issue in eclipse

I have installed SVN plugin to my eclipse by 'Help->Install new software'. Used the URL - http://subclipse.tigris.org/update_1.6.x.
After installation, I tried connect my SVN URL(http://svnserver.com/svn) which worked others machine in tortaise svn. It got prompted with credentials, then it ended up with below error message in eclipse.
RA layer request failed
svn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for 'http://svnserver.com/svn'
Note : I have connected client network in citrix (Cisco anyclient) after disabling the proxy in my machine.
Eclipse platform is v3.6.3
You should make sure that the SVN plug-in installed in Eclipse is up to date and that the entered URL is correct. Generally speaking, the error 500 Internal Server Error indicates a problem with the server. However, invalid repository URL might also produce such error in certain cases.
I have resolved my issue by adding host under proxy bypass in Window->preference->General->Network connections(Active provider = Manual).

Unable to access a repository with Eclipse SVN plugin

I have a problem to access the following SVN repository http://primefaces.googlecode.com/svn/ using Eclipse and Subclipse or Subversive plugins and JavaHL or SVNKit.
I have this problem only with Eclipse on the computer in my office. With Firefox it works fine and at home it works fine, even with Eclipse.
The error is
Get revision properties operation failed.
RA layer request failed
svn: Server sent unexpected return value (400 ) in response to PROPFIND request for '/svn'
It's likely a firewall issue and a question of user-agent.
I've already asked to the network administrator to check the firewall configuration and he will probably manage to solve it but I'd like to know if there are any other solutions ? For instance, "hacking" the default Eclipse SVN client user-agent, or anything else?
Any idea?
HTTP uses port 80, and I doubt your office is blocking port 80. Does this URL work in a web browser from your office? If it does, see if there's a proxy setting for http.
You might be able to set it up in the $HOME/.subversion/server file. Look under the [global] section and look for the proxy configurations listed there.

Unable to connect Sonar Eclipse Plugin to Sonar Server

I have installed the latest version on the Sonar Eclipse Plugin on an Eclipse Juno 3.8. I am desperatly trying to connect the plugin to our running instance of Sonar. I'm behind a NTLM v2 Proxy. Hereunder, details of my configuration and my attempts.
Versions of products :
Eclipse 3.8,
Sonar Eclipse Plugin (Java Analyzer & m2e Connector) 3.2.0.20130627-1142-RELEASE,
SonarQube Server 3.7 (running on http://source01:9000, in the LAN, not behind the proxy, direct connection possible).
Trying to access with the following proxy configurations with an without http_proxy variable in the configuration:
direct with http_proxy : failure,
direct without http_proxy : success (but unable to use other Eclipse feature accessing Internet like the Marketplace),
native (with or without http_proxy) : failure,
manual (with or without http_proxy): failure.
I systematically got org.apache.http.conn.ConnectTimeoutException in the logs (trying to access http://source01:9000/api/authentication/validate which work in a browser).
No more idea on what to test.
I have finally found the problem seeking for a different one (Tomcat WST server started but Eclipse was unable to connect to it and timed out).
The problem comes from a strange and unpredictable behavior of the SOCKS proxy parameter.
When SOCKS proxy is defined, in some undefined cases, both starting a WST server or connecting to a SonarQube server through the plugin fail, whereas other functions like plugin installs work like a charm.
The solution came from https://stackoverflow.com/a/6459816/256561 and is to clear SOCKS proxy settings.

Subversion Connection: RA layer request failed

Out of the blue yesterday afternoon, subversion connections from my Eclipse IDE to our Subversion repository have been failing (with both Subversive and Subclipse).
I can browse the subversion directory via the browser and it only connections via Eclipse that are failing (I am using a MacBook Prod Mountain Lion OSX 10.8.1; latest Java from Apple 1.6.0)
Message receive when attempting subversion connection:
"RA layer request failed
svn: OPTIONS of 'http://example.com/tags/project': Could not read status line: Connection reset by peer (http://example.com)"
Are you trying to browse the repository, or do you have an existing working copy you are trying to update? I think you are probably not entering a proper SVN repository URL. Just because the browser is working, does not mean that is the right URL for the client. It might be. It depends whether you are browsing the repository directly or using a web GUI.
The problem could also be related to a proxy server. If you need a proxy server, odds are that your web browser is already configured to use it. However, SVN clients have their own configuration for proxies that has to be configured separately.