Artifactory- can not download RPM packages from RedHat site - artifactory

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.

Related

Is Conda remote repository URL working with Artifactory?

My Artifactory version is 6.6.3.
I have setup a Conda remote using the URL provided by Artifactory which is:
https://repo.anaconda.com/pkgs/free
However, when i click test, Artifactory returned 404 error.
Is the remote Conda URL is wrong ?
I try to ping repo.anaconda.com from my Artifactory server and there is a response.
I expect the remote URL to be connected successfully when i click test button.
There is an open issue regarding this button
You can ignore this button and use the repository as normal

Get error 500 in gitlab's CI process

I installed gitlab with my own Nginx(I disabled the build-in nginx), Everything works fine before I tried to use CI in it.
After I commit the pipeline started, and give the message:
Running with gitlab-runner 10.1.0 (c1ecf97f)
on the runner for wxEditor (fccd792d)
Using Docker executor with image node:8.8.1 ...
Using docker image
sha256:c3a98397674933da01d4fc1e90dc880b1fb0760fedc43515e7660dcc58c6af28 for
predefined container...
Pulling docker image node:8.8.1 ...
Using docker image node:8.8.1
ID=sha256:d575940ea42b064ac3fa5b00c36ec099968ce2ae542488d1d8673f100dc0a622 for
build container...
Running on runner-fccd792d-project-2-concurrent-0 via vps143760...
Cloning repository...
Cloning into '/builds/zhaozhong/wxEditor'...
fatal: unable to access 'http://gitlab-ci-
token:xxxxxxxxxxxxxxxxxxxx#gitlab.dingshao.cc/zhaozhong/wxEditor.git/': The
requested URL returned error: 500
ERROR: Job failed: exit code 1
I've got stucked here for a hole day.
Gitlab EE: 10.1.0, ubuntu 16.04
Thanks
Problem solved!
I ran gitlab with my excisting nginx and use an old nginx config file, and there should be nginx + passenger which insure gitlab to get to work.
After read this anwer, I reinstalled Nginx together with passenger, and copy the bundled Nginx's config file gitlab-http.conf to the Nginx's sites-enable folder, every works perfect then.

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

How to setup system proxy for VS2015 when using Tools for Apache 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

Drupal 7 configuration error with Postgresql in Mac OS 10.6.5

I am trying to configure Drupal 7 with Postgres. At the database setup step, I get the following error.
Warning: PDO::_construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in DatabaseConnection->_construct() (line 300 of /Users/shamod/Sites/drupal/7/includes/database/database.inc).
In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.
Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] No such file or directory.
Is the database server running?
Does the database exist, and have you entered the correct database name?
Have you entered the correct username and password?
Have you entered the correct database hostname?
NOTE: I am trying to connect to Postgresql but it fails on var/mysql/mysql.sock error. I have setup the database connection string in settings.php for Postgresql. It still does not work.
Any idea?
Evidently you are trying to connect to a MySQL database instance, so you should review your database driver and connection configuration.
Just came up against this error myself when trying to use the web installer - might come down to a similar issue.
On the install page I wasn't given an option to use Postgres driver so I assumed I needed to use the "Mysql (or other)" option. However, looks like the Drupal install script checks which database drivers are compiled into PHP and only offers you what is available - my system didn't have php-pgsql installed by default.
So I needed to install the postgresql drivers to PHP first, reload apache then try the install again.
On CentOS-5:
sudo yum install php-pgsql
sudo service httpd restart
Then reload the install page and all worked fine.

Resources