CF2021 behind proxy

In the process of migrating a set of CF11 apps to CF2021 using Commandbox 5.4.1 on Windows 10.

When trying to start a CF2021 server in commandbox (adobe@2021.0.2+328618) the following error appears in the startup log:

(www.adobe.com replaced with WEBSITE due to post link restrictions)

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting logging…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting license…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Evaluation Edition enabled

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting crypto…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting security…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting scheduler…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting WatchService…

[INFO ] Sep 28, 2021 08:23:34 AM Information [main] - Starting runtime…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting client…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - The metrics service is disabled for the J2EE edition

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting archive…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting CloudConfig…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting VendorCredential…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting rest…

[INFO ] Sep 28, 2021 08:23:35 AM Information [main] - Starting registry…

[INFO ] Sep 28, 2021 08:23:51 AM Error [main] - Unable to install felixclassloader package: org.apache.http.conn.ConnectTimeoutException: Connect to WEBSITE:443 [WEBSITE/104.77.160.136, WEBSITE/104.77.160.140] failed: connect timed out

[INFO ] Sep 28, 2021 08:23:51 AM [] -

[INFO ] Sep 28, 2021 08:23:59 AM Error [main] - Connect to WEBSITE:443 [WEBSITE/104.77.160.136, WEBSITE/104.77.160.140] failed: connect timed out

[INFO ] Sep 28, 2021 08:23:59 AM Error [main] - Unable to install adminapi package: org.apache.http.conn.ConnectTimeoutException: Connect to WEBSITE:443 [WEBSITE/104.77.160.136, WEBSITE/104.77.160.140] failed: connect timed out

[INFO ] Sep 28, 2021 08:24:07 AM Error [main] - Connect to WEBSITE:443 [WEBSITE/104.77.160.136, WEBSITE/104.77.160.140] failed: connect timed out

[INFO ] Sep 28, 2021 08:24:07 AM Error [main] - Unable to install administrator package: org.apache.http.conn.ConnectTimeoutException: Connect to _:443 [WEBSITE/104.77.160.136, WEBSITE/104.77.160.140] failed: connect timed out

The server will eventually start but administrator is not available, /cfide/administrator/ returns Not Found

We are behind a proxy server and I can connect to https://WEBSITE in a browser. I have configured the proxy settings in every place I can think of - jvm args in server.json, net.properties file in the jre (both in the jre subfolder from the box download and in java 8 installed on the machine) and the commandbox proxy config settings, but the same issue always occurs. Commandbox can connect to Forgebox and I have installed cfconfig from the commandbox cli so the proxy appears to be working there.

I’ve run box on a machine not behind a proxy and it works as expected.

Any ideas appreciated, thanks

RESOLVED
The connection timeouts were happening from the CF package manager, so I needed to configure the proxy settings for it. I added


"updateProxyHost":"<<hostname>>",
"updateProxyPort":<<portno>>

to the root of my cfconfig file for the server and the CF2021 server starts up with no issues and the admin screens working correctly.

Glad you got this sorted.