How to setup system proxy for VS2015 when using Tools for Apache Cordova - visual-studio-cordova

My question is how to setup system proxy in windows, because I got the following message from VS2015 output, and system proxy should setup in IE proxy setting. But it looks like need to setup in the other way. Any help on this?
RUNMDAINSTALL : warning : The proxy currently configured for npm (http://proxy.domain.com:8080/) does not match the detected system proxy (http://proxy:8080/). This may result in package installation failures

From your description, I think you can ignore this warning if you didn't encounter any issue when build your Cordova app(or when install packages using npm). The proxy configured for npm is full qualified address against the system level one. If it is not a wrong address, I think it should work.
To change the npm proxy setting, you can follow the instructions(using npm config command) mentioned in To section "configure proxy settings for npm package manager" in this article.
If you want to change the system level proxy, I think you need to use netsh command as below:
netsh winhttp set proxy myproxy

Related

Artifactory- can not download RPM packages from RedHat site

I am trying to connect out JFrog Artifactory (Version 7) to Redhat as remote RPM repository, the test connection pass, but it does not manage to download.
I configured the Artifactroy to address the URL-
https://cdn.redhat.com/content/dist/rhel/server/7/7server/x86_64/os/reposdata
In the Tree Browser I can see many files there, but not repomd.xml
When I try to download a file after configuring the Linux machine to work with this Artifactroy I get-
/repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found
What am I missing?
Configure the URL -https://cdn.redhat.com/content/dist/rhel/server/7/7server/x86_64/os/ as upstream URL for remote repository and follow Artifactory repository 'Set Me Up' instructions for client side configuration. According to shared error, seems changing upstream URL should fix the issue on your client side.

NEXUS npm install giving 403 error

I am trying to use a private repository via Nexus for npm . My build server and nexus server is behind a coporate proxy. When i am accessing public registry npm using proxy install is working fine. But when I try using private registry I am getting 403. I suspect that the issue is with authentication but I have tried both npm login and npm adduser with no effect. Also tried enabling Anonymus access but with no use. getting the same 403 error. I have also set proxy in the nexus.
I suspect you're running into one or both of these issues:
https://issues.sonatype.org/browse/NEXUS-12456
https://issues.sonatype.org/browse/NEXUS-12022
If that looks right, I'd suggest following them (and voting if you feel inclined) for future updates.

apm update: error: unable to get local issuer certificate

Recently, I tried re-installing vim-mode-plus on atom, and when that didn't work I decided to run apm update to ensure my package manager for atom was up to date. I am getting the error:
Unable to download https://www.atom.io/api/packages/vim-mode-plus/versions/1.31.0/tarball: unable to get local issuer certificate
I am assuming this has to do with my corporate proxy, how do I fix this?
Answers taken from - https://flight-manual.atom.io/getting-started/sections/installing-atom/#proxy-and-firewall-settings
Consult above link for addtional information.
If you are behind a firewall, this command may help:
apm config set strict-ssl false
If you are using a proxy, this command may help:
apm config set https-proxy <your-corporate-proxy>

unable to install composer for symfony

I am using a computer provided by my work org and I do not have any access to change firewall since I am just a user.
I am trying to install Composer to start on a symfony 2 project. When I try Composer exe file to install, I see this message - The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
I Googled it but the solutions all given are related to firewall and can be solved by an Admin only.
It seems that you have network issues: Cannot connect to HTTPS server through proxy. You probably might want to work this out but since you have no access to network settings then it will be easier just to use Manual Download option from https://getcomposer.org/download/ . Just download composer.phar file from this url

Running jenkins behind proxy, reverse proxy not configured properly

When running behind proxy (NGINX) I get message
It appears that your reverse proxy set up is broken.
I referred to this link, but still get the same message. It refers to file /etc/default/jenkins which is not the case for me as I downloaded the zip file and am running in glassfish.
As I understand all I need is to provide argument --prefix to JENKINS_ARGS. How do I do that when running in glassfish behind nginx.
Thanks.
Just a quick guess but if you run Jenkins inside of GlassFish I think you have to set the proxy on the GlassFish JVM.
You can either add the following JVM options via the GlassFish admin GUI (server-config -> JVM Settings -> JVM Options):
-Dhttp.proxyHost=proxyhostname
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=proxyhostname
-Dhttps.proxyPort=8080
or you can set them via asadmin in the following way:
asadmin create-jvm-options -Dhttp.proxyHost=proxyhostname

Resources