Copy link to clipboard
Copied
I configured the proxy settings in CF Admin > Package Manager > Settings > Proxy Settings.
The error I get is, "An error has occurred while installing the package sqlserver. Please check logs for more details."
I checked the logs and it says, "An error has occurred while installing the package sqlserver. Exception : null"
I attempted the install via the interactive cli and I get the following:
The packages repository https://www.adobe.com/go/coldfusion-packages is not accessible. You can only load the packages that are available locally in the /opt/coldfusion/bundles directory.
The following packages will be installed : sqlserver:2021.0.02.328618
Downloading the dependent package bcpkix-jdk15on-153.jar
Downloading the dependent package joda-time-2.8.jar
Downloading the dependent package adobe_sqlserverdriver-6.0.jar
Downloading the dependent package adobe_drivers_common-2.0.jar
An error has occurred while installing the package sqlserver. Exception : null
sqlserver package is uninstalled successfully.
I tested the network connection from the container by doing wget google.com and was able to successfully download that. But it failed when specifying https unless I added the --no-check-certificate flag.
Here I do wget --no-check-certificate https://www.adobe.com/go/coldfusion-packages but it fails and I get the following:
wget --no-check-certificate https://www.adobe.com/go/coldfusion-packages
--2021-10-21 23:23:27-- https://www.adobe.com/go/coldfusion-packages
Resolving www.adobe.com (www.adobe.com)... 23.63.240.67, 23.63.240.18, 23.46.238.177, ...
Connecting to www.adobe.com (www.adobe.com)|23.63.240.67|:443... connected.
WARNING: cannot verify www.adobe.com's certificate, issued by 'HERE IT SPECIFIES MY EMPLOYERS CA':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 502 badgateway
2021-10-21 23:33:50 ERROR 502: badgateway.
Copy link to clipboard
Copied
My solution was to configure a local repository following the steps outlined here ColdFusion Package Manager (adobe.com)
I had to get the CF2021 Packages from a sysadmin. I understand that there is a ColdFusion CLI command, downloadrepo <repo-url>, that would allow for downloading the packages from a repository to a local directory but unfortunately it would not work for me for the same reason the regular package installation process wouldn't work for me, the requests wouldn't go through the proxy/firewall.