coldbox install via commandbox error - ForgeBox returned something other than JSON

413 views
Skip to first unread message

yie...@gmail.com

unread,
Jun 20, 2016, 2:13:54 AM6/20/16
to CommandBox
Hi,

I am trying to install coldbox using commandbox but am getting the following error:

CommandBox:coldbox> install coldbox

Installing package [forgebox:coldbox]
Verifying package 'coldbox' in ForgeBox, please wait...
Uh-oh, ForgeBox returned something other than JSON.  Run "system-log | open" to see the full response.
GET https://www.forgebox.io/api/v1/entry/coldbox

408 Request Time-out


The error in the commandbox log is:
"ERROR","FILEAPPENDER","06/20/2016","14:02:08","commandbox.system.util.ForgeBox","Something other than JSON returned. GET https://www.forgebox.io/api/v1/entry/coldbox
408 Request Time-out Actual HTTP Response: Connection Timeout"


We have a firewall but I have already set the proxy server and its port. Performing a upgrade command for commandbox seems to be ok, i.e.

CommandBox:coldbox> upgrade
Getting stable versioning information from http://downloads.ortussolutions.com/
Your version of CommandBox (3.1.1+00383) is already current (3.1.1).


If I try to load this page from a browser https://www.forgebox.io/api/v1/entry/coldbox, I get an HTML 404 error.
I have no problem with the 'install coldbox' command when I am not in the work office.

What could be wrong or what am I doing wrong?

Thanks in advance.
Yieng

Jeff Davis

unread,
Jun 20, 2016, 10:14:01 AM6/20/16
to comma...@ortussolutions.com
Yieng,
Check your proxy. For the URL you gave,  https://www.forgebox.io/api/v1/entry/coldbox, I get the expected JSON file that enumerates the available versions of coldbox.
I can't remember the name of the proxyserver I use (infrequently) for debugging issues like this, but till you can make that connection, "nuttin gonna happen", I'm thinking!
LucK,
JT

--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at https://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/dd753d07-d2c3-4a80-acb0-502a2ea1be5b%40ortussolutions.com.
For more options, visit https://groups.google.com/a/ortussolutions.com/d/optout.

Yieng Ly

unread,
Jun 20, 2016, 11:24:50 PM6/20/16
to CommandBox
I think it might be due to this (as our organization uses Trend Micro):

HTTPS Certificate Failure
A problem was detected when accessing this web site. Access has been restricted due one of more of the following issues.
 
Event Details:
URL:     www.forgebox.io:443
 
The Certificate Verification failed due to at least one of the following reasons:
1. The certificate is not valid;
2. The certificates CommonName does not match the URL
3. The certificate was issued by an untrusted certificate authority.

When the above occurs, it redirects to another URL, and hence the error that what's return isn't JSON.
Brad, is there an option for us to use http://www.forgebox.io/api/v1/entry/coldbox (i.e. with SSL), or to have a matching domain in the SSL certificate, or is SSL imperative?

Our network admins won't make an exception for mismatched domain certificate. If there's no other options for us, then I am afraid we won't be able to use commandbox to automate installation, update and creation.

Yieng

Luis Majano

unread,
Jun 21, 2016, 1:44:05 PM6/21/16
to CommandBox
The certificate is valid and provided by cloudflare. I am not sure why it says that

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057




Luis Majano

unread,
Jun 21, 2016, 1:45:09 PM6/21/16
to CommandBox
Image


Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057

Jon Clausen

unread,
Jun 21, 2016, 1:56:00 PM6/21/16
to comma...@ortussolutions.com
Yieng,

It may be that your organization (or Trend Micro) needs to update their validation to accept multi-domain certificates.   A verification of the URL in only the Common Name of the cert (see possibility #2), in this day and age is bound to fail with a fair number of providers besides Forgebox.  They should be using the Common Name AND the Subject Alternative Names values from the cert.   

Jon

Dave Merrill

unread,
Jun 21, 2016, 1:56:26 PM6/21/16
to comma...@ortussolutions.com
Forgive me parachuting in here, not really in the loop, but the URL http://www.forgebox.io:443/ shows this for me:
400 Bad Request
The plain HTTP request was sent to HTTPS port

Jon Clausen

unread,
Jun 21, 2016, 2:02:38 PM6/21/16
to comma...@ortussolutions.com
Dave,

You can’t make an insecure request to port 443.  (you have HTTP in the url instead of HTTPS)

Jon

Jeremy R DeYoung

unread,
Jun 21, 2016, 2:42:18 PM6/21/16
to comma...@ortussolutions.com
I know cloudflare does another of management with SSL certificates and they recently added their own CA. or at least i remember reading about that on one of their recent blog posts.

Check this out Yieng https://support.cloudflare.com/hc/en-us/categories/200276247 to see if it will help resolve any issues. Sometimes if your upstream provider tries to modify or change the data it could cause handshaking to fail on SSL.

Yieng Ly

unread,
Jun 21, 2016, 7:08:59 PM6/21/16
to CommandBox
Thanks Luis. I will pass this info onto my network admin. Hopefully this issue is resolved soon.

Yieng.

Dave Merrill

unread,
Jun 23, 2016, 6:51:08 AM6/23/16
to comma...@ortussolutions.com
Yes, that was my point :). I just clicked the URL in one of the messages on this thread, which fails for the reason you say, and as indicated in the server response I quoted. If that's not the actual URL being used in this process, then it's a non-issue, just didn't want the obvious to go by un-examined.

Brad Wood

unread,
Jun 23, 2016, 9:40:41 AM6/23/16
to comma...@ortussolutions.com
I don't believe that's the actual URL being used. I think the original message simply had the plain text url, omitting the https, and one of our email clients automatically turned it into a link and defaulted the link to http.



Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

Yieng Ly

unread,
Jun 24, 2016, 7:29:07 AM6/24/16
to CommandBox
Brad is correct,

What is posted is just an SSL certificate error message from Trend Micro. It is not the URL that is used by commandbox. It would have been https://www.forgebox.io. Anyway, it wouldn't make sense to use http with port 443. As everyone knows 443 is the default SSL port.

Brad Wood

unread,
Jun 29, 2016, 3:38:32 PM6/29/16
to CommandBox
Were you able to resolve this with your network administrators yet?  I'm guessing they're using some outdated software and/or outdated keystores to process SSL certs?

Thanks!

~Brad

Yieng Ly

unread,
Jun 29, 2016, 8:26:46 PM6/29/16
to CommandBox
Brad,

Still no luck even after they've added an exception for that URL. Maybe there's something else that is preventing access. I am getting an HTML 408 timeout error when issuing the 'install coldbox' command.

I am still working with the network guys to resolve the issue. Will post update when successful. Thanks for the follow-up.

Yieng

br...@bradwood.com

unread,
Jun 30, 2016, 12:34:57 AM6/30/16
to comma...@ortussolutions.com
408 timeout?  Hmm, that's different from the other errors you posted.  Can you copy/paste the full output of the console here?  

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
Subject: Re: coldbox install via commandbox error - ForgeBox returned something other than JSON
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at https://groups.google.com/a/ortussolutions.com/group/commandbox/.

Yieng Ly

unread,
Jul 1, 2016, 3:06:27 AM7/1/16
to comma...@ortussolutions.com
Brad,

Here it is:


Installing package [forgebox:coldbox]
Verifying package 'coldbox' in ForgeBox, please wait...
Uh-oh, ForgeBox returned something other than JSON. Run "system-log | open" to see the full response.
GET https://www.forgebox.io/api/v1/entry/coldbox

408 Request Time-out

br...@bradwood.com

unread,
Jul 1, 2016, 3:13:26 AM7/1/16
to comma...@ortussolutions.com
Can you run "system-log | open" as suggested in the error message and show me the response that ForgeBox (or your proxy) sent back?  It will be the last thing logged at the bottom of the log file.
--------- Original Message ---------

br...@bradwood.com

unread,
Jul 1, 2016, 3:14:14 AM7/1/16
to comma...@ortussolutions.com
Also, what do you get when you visit https://www.forgebox.io/api/v1/entry/coldbox in your browser?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
Subject: Re: Re: coldbox install via commandbox error - ForgeBox returned something other than JSON
From: "Yieng Ly" <yie...@gmail.com>
Date: 7/1/16 2:06 am
To: comma...@ortussolutions.com

Yieng Ly

unread,
Jul 4, 2016, 1:58:33 AM7/4/16
to CommandBox
Brad,

1. The output from system-log| open:

"ERROR","FILEAPPENDER","07/04/2016","15:48:59","commandbox.system.util.ForgeBox","Something other than JSON returned. GET https://www.forgebox.io/api/v1/entry/coldbox


408 Request Time-out Actual HTTP Response: Connection Timeout"

2. And when I browse to https://www.forgebox.io/api/v1/entry/coldbox in the browser:

{"data":{"numberOfVersions":"8","isActive":true,"documentationURL":"","createdDate":"2014-05-15 17:42:19","typeSlug":"mvc","downloads":542,"installInstructionsFormat":"html","entryID":"3DA337EE-91DF-4D31-8751E2CAD688FCB1","ratings":[{"isActive":false,"ratingSessionID":"20711CE24641867C6A812DC5F1DDD6C7","createdDate":"2016-06-10 11:51:47","updatedDate":"2016-06-10 11:51:47","ratingID":"3E80C1AD-90A2-4684-977429E9C403A9D2","rating":5}],"changelog":"","descriptionFormat":"html","user":{"facebookURL":"","lname":"Majano","isActive":true,"lastLogin":"2016-07-01 16:45:58","githubURL":"","createdDate":"2009-01-10 17:59:07","updatedDate":"2016-07-01 16:45:58","twitterURL":"http://www.twitter.com/lmajano","fname":"Luis","isConfirmed":true,"numberOfEntries":"73","blogURL":"http://www.twitter.com/lmajano","linkedinURL":"http://www.twitter.com/lmajano","otherURL":"http://www.twitter.com/lmajano","username":"lmajano"},"description":"The ColdBox MVC Platform manual can be found here: http://coldbox.ortusbooks.com/<br>&nbsp;<br>","numberOfRatings":"1","installInstructions":"","bugsURL":"","typeName":"MVC","hits":1603,"slug":"coldbox","sourceURL":"https://github.com/ColdBox/coldbox-platform","homeURL":"http://www.coldbox.org","updatedDate":"2016-07-03 16:34:13","versions":[{"boxJSON":"{}","isActive":true,"version":"4.3.0-snapshot","entryVersionID":"beed55bc-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":false,"downloadURL":"https://integration.stg.ortussolutions.com/artifacts/ortussolutions/coldbox/4.3.0/coldbox-standalone-4.3.0.zip"},{"boxJSON":"{\r\n \"name\":\"ColdBox Platform\",\r\n \"version\":\"4.2.0+00002\",\r\n \"author\":\"Ortus Solutions <in...@ortussolutions.com>\",\r\n \"slug\":\"coldbox\",\r\n \"packageDirectory\":\"coldbox\",\r\n \"type\":\"mvc\",\r\n \"keywords\":\"mvc,conventions,coldbox\",\r\n \"homepage\":\"http://www.coldbox.org\",\r\n \"documentation\":\"http://coldbox.ortusbooks.com/\",\r\n \"repository\":{\r\n \"type\":\"git\",\r\n \"url\":\"https://github.com/coldbox/coldbox-platform\"\r\n },\r\n \"bugs\":\"https://ortussolutions.atlassian.net/browse/COLDBOX\",\r\n \"shortDescription\":\"A conventions based MVC development framework\",\r\n \"engines\":[\r\n {\r\n \"type\":\"adobe\",\r\n \"version\":\">9.0.2\"\r\n },\r\n {\r\n \"type\":\"lucee\",\r\n \"version\":\">4.5\"\r\n }\r\n ],\r\n \"license\":[\r\n {\r\n \"type\":\"Apache2\",\r\n \"url\":\"http://www.apache.org/licenses/LICENSE-2.0.html\"\r\n }\r\n ],\r\n \"contributors\":[\r\n \"Brad Wood <bdw...@gmail.com>\",\r\n \"Curt Gratz <gr...@computerknowhow.com>\"\r\n ],\r\n \"ignore\":[\r\n \"**/.*\",\r\n \"tests\",\r\n \"apidocs\",\r\n \"testbox\",\r\n \"*/.md\"\r\n ],\r\n \"testbox\":{\r\n \"runner\":[\r\n {\r\n \"default\":\"http://localhost:8599/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf10\":\"http://cf10cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf11\":\"http://cf11cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"lucee\":\"http://luceecboxdev.local/coldbox/tests/runner.cfm\"\r\n }\r\n ]\r\n },\r\n \"devDependencies\":{\r\n \"testbox\":\"2.3.0+00044\"\r\n },\r\n \"installPaths\":{\r\n \"testbox\":\"testbox\"\r\n }\r\n}","isActive":true,"version":"4.2.0","entryVersionID":"bedda356-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.2.0/coldbox-standalone-4.2.0.zip"},{"boxJSON":"{}","isActive":true,"version":"4.1.0","entryVersionID":"beed556e-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.1.0/coldbox-standalone-4.1.0.zip"},{"boxJSON":"{}","isActive":true,"version":"4.0.0","entryVersionID":"beed5522-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.0.0/coldbox-standalone-4.0.0.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.2","entryVersionID":"beed54d7-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.2/coldbox-standalone-3.8.2.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.1","entryVersionID":"beed5486-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.1/coldbox_standalone_3.8.1.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.0","entryVersionID":"beed541c-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.0/coldbox_standalone_3.8.0.zip"},{"boxJSON":"{}","isActive":true,"version":"3.7.0","entryVersionID":"beed5273-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.7.0/coldbox_3.7.0.zip"}],"latestVersion":{"boxJSON":"{\r\n \"name\":\"ColdBox Platform\",\r\n \"version\":\"4.2.0+00002\",\r\n \"author\":\"Ortus Solutions <in...@ortussolutions.com>\",\r\n \"slug\":\"coldbox\",\r\n \"packageDirectory\":\"coldbox\",\r\n \"type\":\"mvc\",\r\n \"keywords\":\"mvc,conventions,coldbox\",\r\n \"homepage\":\"http://www.coldbox.org\",\r\n \"documentation\":\"http://coldbox.ortusbooks.com/\",\r\n \"repository\":{\r\n \"type\":\"git\",\r\n \"url\":\"https://github.com/coldbox/coldbox-platform\"\r\n },\r\n \"bugs\":\"https://ortussolutions.atlassian.net/browse/COLDBOX\",\r\n \"shortDescription\":\"A conventions based MVC development framework\",\r\n \"engines\":[\r\n {\r\n \"type\":\"adobe\",\r\n \"version\":\">9.0.2\"\r\n },\r\n {\r\n \"type\":\"lucee\",\r\n \"version\":\">4.5\"\r\n }\r\n ],\r\n \"license\":[\r\n {\r\n \"type\":\"Apache2\",\r\n \"url\":\"http://www.apache.org/licenses/LICENSE-2.0.html\"\r\n }\r\n ],\r\n \"contributors\":[\r\n \"Brad Wood <bdw...@gmail.com>\",\r\n \"Curt Gratz <gr...@computerknowhow.com>\"\r\n ],\r\n \"ignore\":[\r\n \"**/.*\",\r\n \"tests\",\r\n \"apidocs\",\r\n \"testbox\",\r\n \"*/.md\"\r\n ],\r\n \"testbox\":{\r\n \"runner\":[\r\n {\r\n \"default\":\"http://localhost:8599/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf10\":\"http://cf10cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf11\":\"http://cf11cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"lucee\":\"http://luceecboxdev.local/coldbox/tests/runner.cfm\"\r\n }\r\n ]\r\n },\r\n \"devDependencies\":{\r\n \"testbox\":\"2.3.0+00044\"\r\n },\r\n \"installPaths\":{\r\n \"testbox\":\"testbox\"\r\n }\r\n}","isActive":true,"version":"4.2.0","entryVersionID":"bedda356-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.2.0/coldbox-standalone-4.2.0.zip"},"avgRating":"5.0000","changelogFormat":"html","installs":2690,"title":"ColdBox Platform","summary":"The ColdBox Platform"},"error":false,"messages":[],"errorcode":"0"}


On Friday, 1 July 2016 17:14:14 UTC+10, Brad Wood wrote:
Also, what do you get when you visit https://www.forgebox.io/api/v1/entry/coldbox in your browser?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail:
 
 
--------- Original Message ---------
Subject: Re: Re: coldbox install via commandbox error - ForgeBox returned something other than JSON
From: "Yieng Ly"
Date: 7/1/16 2:06 am
To: comma...@ortussolutions.com

Brad,

Here it is:

Installing package [forgebox:coldbox]
Verifying package 'coldbox' in ForgeBox, please wait...
Uh-oh, ForgeBox returned something other than JSON. Run "system-log | open" to see the full response.
GET https://www.forgebox.io/api/v1/entry/coldbox

408 Request Time-out
On 30 June 2016 at 14:34, brad wrote:
408 timeout?  Hmm, that's different from the other errors you posted.  Can you copy/paste the full output of the console here?  

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail:

Brad Wood

unread,
Jul 4, 2016, 10:53:50 AM7/4/16
to comma...@ortussolutions.com
So it looks like your PC has no issues hitting that URL now. Are you using a proxy in CommandBox. What are the settings? "Config show proxy"



Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


-------- Original message --------

Yieng Ly

unread,
Jul 4, 2016, 8:44:47 PM7/4/16
to CommandBox
Brad,

It only works if I hit the URL via the web browser, but fails when I do it from commandbox CLI.

The commandbox proxy config are correct. Can't show the actual values, but here's an indication:
CommandBox:commandbox> config show proxy
{
    "server":"our.proxy.url",
    "port":1234

br...@bradwood.com

unread,
Jul 5, 2016, 12:43:18 PM7/5/16
to comma...@ortussolutions.com
> The commandbox proxy config are correct.
 
I guess that's what I'm concerned about.  If your browser works, but CommandBox doesn't it makes me wonder if perhaps your proxy needs something different.  Of course, it's entirely possible CommandBox has a bug in its proxy support that isn't playing well with your proxy.  I rely on the underlying Java proxy support, but testing it is quite difficult for me since I don't use a proxy and I don't have access to anyone else's :)
 
At this point, you're sort of the only person who can troubleshoot this for me.  Can you open up your CommandBox REPL (type the "repl" command) and run the following lines which just makes a simple HTTP request to the ForgeBox API?

CommandBox> repl

Enter any valid CFML code in the following prompt in order to evaluate it and print out any results (if any)

Type 'quit' or 'q' to exit!

CFSCRIPT-REPL: http url="https://www.forgebox.io/api/v1" proxyServer="our.proxy.url" proxyPort="1234" result="webResponse" {}
CFSCRIPT-REPL: webResponse.responseHeader
CFSCRIPT-REPL: webResponse.filecontent

I'm curious if you can get a standard cfhttp call to work with your proxy.  That might help us determine if there's a bug in CommandBox, or if your proxy just needs some additional information.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

 
 
--------- Original Message ---------
our.proxy.url

Yieng Ly

unread,
Jul 6, 2016, 12:28:53 AM7/6/16
to CommandBox
Here's the outcome:

CFSCRIPT-REPL: webResponse.responseHeader
{
    "Date":"Wed, 06 Jul 2016 04:22:10 GMT",
    "X-Upstream-Response-Time":"1467778831.328",
    "Server":"cloudflare-nginx",
    "Vary":"Accept-Encoding",
    "X-Powered-By":"Ortus Solutions",
    "set-cookie":[
        "__cfduid=df50cd6cb868856c6d4d46d62d304ae061467778930; expires=Thu, 06-Jul-17 04:22:10 GMT; path=/; domain=.forgebox.io; HttpOnly",
        "cfid=d1bf93c7-621f-4f2b-8d8c-e605da5085b4;Path=/;Domain=.www.forgebox.io;Expires=Thu, 05-Jul-2046 12:13:07 GMT;HTTPOnly",
        "cftoken=0;Path=/;Domain=.www.forgebox.io;Expires=Thu, 05-Jul-2046 12:13:07 GMT;HTTPOnly",
        "JSESSIONID=882DF587F645D60F32215D394A01D971; Path=/; HttpOnly"
    ],
    "CF-RAY":"2be04628731a0b6e-NRT",
    "x-response-time":"1",
    "Transfer-Encoding":"chunked",
    "status_code":200,
    "X-Upstream":"192.126.83.29:80",
    "X-Upstream-Status":"200",
    "x-cached-response":"false",
    "Content-Type":"application/json;charset=utf-8",
    "Connection":"keep-alive",
    "explanation":"OK"
}
CFSCRIPT-REPL: webResponse.fileContent
{"data":"","error":false,"messages":["Welcome to the ForgeBox IO API version 1.0.0"],"errorcode":"0"}

Also when I ping 192.126.83.29, I get time outs. So maybe the issue's on our end. I will speak to our network guys.

Yieng Ly

unread,
Jul 6, 2016, 12:53:58 AM7/6/16
to CommandBox
Apparently my network guy says that the request to https://www.forgebox.io did not go through even though I have configured commandbox to use our proxy.
Has anyone successfully use CommandBox CLI with a proxy configured?

Also disregard that message about not been able to ping because that command is disallowed.

br...@bradwood.com

unread,
Jul 6, 2016, 1:29:18 AM7/6/16
to comma...@ortussolutions.com
That response actually looks correct.  After reviewing the code, I think I found a bug where the proxy server wasn't being used for ForgeBox calls.
 
I've just committed a fix for this: COMMANDBOX-408
 
Please give the build a few minutes to run and please let me know if the bleeding edge of CommandBox behaves better.
 

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
 
 
--------- Original Message ---------

Yieng Ly

unread,
Jul 6, 2016, 3:13:39 AM7/6/16
to CommandBox
Brad,

I've download latest snapshot commandbox 3.2.0, and commandbox is now using our configured proxy.
It's hitting this url to download coldbox 4.2.0: http://downloads.ortussolutions.com

However I am getting a connection timeout:

CommandBox:coldbox> install coldbox


Installing package [forgebox:coldbox]
Verifying package 'coldbox' in ForgeBox, please wait...
Installing version [4.2.0].
Verified entry in ForgeBox: 'coldbox'
Deferring to [http] endpoint for ForgeBox entry [coldbox]...
Downloading [HTTP://downloads.ortussolutions.com/ortussolutions/coldbox/4.2.0/coldbox-standalone-4.2.0.zip]
Connection timed out: connect

br...@bradwood.com

unread,
Jul 6, 2016, 12:42:58 PM7/6/16
to comma...@ortussolutions.com
So it sounds like you're saying that was an improvement that it's now going through your proxy.  I don't know why you're getting a timeout though.  That URL is hosted on Amazon S3.  Perhaps your network team need to whitelist it as well? 
--------- Original Message ---------

Yieng Ly

unread,
Jul 6, 2016, 9:14:20 PM7/6/16
to CommandBox
Brad,

Unfortunately most external website are blocked in our environment, so I will need all the URL that commandbox will visit so I can get them whitelisted in advance in one go. Otherwise we will be spending quite a lot of time discovering them one by one, adding to whitelist, testing, and then potentially repeating this cycle many times.
--------- Original Message ---------
--------- Original Message ---------
--------- Original Message ---------
{"data":{"numberOfVersions":"8","isActive":true,"documentationURL":"","createdDate":"2014-05-15 17:42:19","typeSlug":"mvc","downloads":542,"installInstructionsFormat":"html","entryID":"3DA337EE-91DF-4D31-8751E2CAD688FCB1","ratings":[{"isActive":false,"ratingSessionID":"20711CE24641867C6A812DC5F1DDD6C7","createdDate":"2016-06-10 11:51:47","updatedDate":"2016-06-10 11:51:47","ratingID":"3E80C1AD-90A2-4684-977429E9C403A9D2","rating":5}],"changelog":"","descriptionFormat":"html","user":{"facebookURL":"","lname":"Majano","isActive":true,"lastLogin":"2016-07-01 16:45:58","githubURL":"","createdDate":"2009-01-10 17:59:07","updatedDate":"2016-07-01 16:45:58","twitterURL":"http://www.twitter.com/lmajano","fname":"Luis","isConfirmed":true,"numberOfEntries":"73","blogURL":"http://www.twitter.com/lmajano","linkedinURL":"http://www.twitter.com/lmajano","otherURL":"http://www.twitter.com/lmajano","username":"lmajano"},"description":"The ColdBox MVC Platform manual can be found here: http://coldbox.ortusbooks.com/<br>&nbsp;<br>","numberOfRatings":"1","installInstructions":"","bugsURL":"","typeName":"MVC","hits":1603,"slug":"coldbox","sourceURL":"https://github.com/ColdBox/coldbox-platform","homeURL":"http://www.coldbox.org","updatedDate":"2016-07-03 16:34:13","versions":[{"boxJSON":"{}","isActive":true,"version":"4.3.0-snapshot","entryVersionID":"beed55bc-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":false,"downloadURL":"https://integration.stg.ortussolutions.com/artifacts/ortussolutions/coldbox/4.3.0/coldbox-standalone-4.3.0.zip"},{"boxJSON":"{\r\n \"name\":\"ColdBox Platform\",\r\n \"version\":\"4.2.0+00002\",\r\n \"author\":\"Ortus Solutions <in...@ortussolutions.com>\",\r\n \"slug\":\"coldbox\",\r\n \"packageDirectory\":\"coldbox\",\r\n \"type\":\"mvc\",\r\n \"keywords\":\"mvc,conventions,coldbox\",\r\n \"homepage\":\"http://www.coldbox.org\",\r\n \"documentation\":\"http://coldbox.ortusbooks.com/\",\r\n \"repository\":{\r\n \"type\":\"git\",\r\n \"url\":\"https://github.com/coldbox/coldbox-platform\"\r\n },\r\n \"bugs\":\"https://ortussolutions.atlassian.net/browse/COLDBOX\",\r\n \"shortDescription\":\"A conventions based MVC development framework\",\r\n \"engines\":[\r\n {\r\n \"type\":\"adobe\",\r\n \"version\":\">9.0.2\"\r\n },\r\n {\r\n \"type\":\"lucee\",\r\n \"version\":\">4.5\"\r\n }\r\n ],\r\n \"license\":[\r\n {\r\n \"type\":\"Apache2\",\r\n \"url\":\"http://www.apache.org/licenses/LICENSE-2.0.html\"\r\n }\r\n ],\r\n \"contributors\":[\r\n \"Brad Wood <bdw...@gmail.com>\",\r\n \"Curt Gratz <gr...@computerknowhow.com>\"\r\n ],\r\n \"ignore\":[\r\n \"**/.*\",\r\n \"tests\",\r\n \"apidocs\",\r\n \"testbox\",\r\n \"*/.md\"\r\n ],\r\n \"testbox\":{\r\n \"runner\":[\r\n {\r\n \"default\":\"http://localhost:8599/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf10\":\"http://cf10cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf11\":\"http://cf11cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"lucee\":\"http://luceecboxdev.local/coldbox/tests/runner.cfm\"\r\n }\r\n ]\r\n },\r\n \"devDependencies\":{\r\n \"testbox\":\"2.3.0+00044\"\r\n },\r\n \"installPaths\":{\r\n \"testbox\":\"testbox\"\r\n }\r\n}","isActive":true,"version":"4.2.0","entryVersionID":"bedda356-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.2.0/coldbox-standalone-4.2.0.zip"},{"boxJSON":"{}","isActive":true,"version":"4.1.0","entryVersionID":"beed556e-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.1.0/coldbox-standalone-4.1.0.zip"},{"boxJSON":"{}","isActive":true,"version":"4.0.0","entryVersionID":"beed5522-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/4.0.0/coldbox-standalone-4.0.0.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.2","entryVersionID":"beed54d7-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.2/coldbox-standalone-3.8.2.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.1","entryVersionID":"beed5486-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.1/coldbox_standalone_3.8.1.zip"},{"boxJSON":"{}","isActive":true,"version":"3.8.0","entryVersionID":"beed541c-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.8.0/coldbox_standalone_3.8.0.zip"},{"boxJSON":"{}","isActive":true,"version":"3.7.0","entryVersionID":"beed5273-2f2b-11e6-8e43-001c429c2760","createdDate":"2014-05-15 17:42:19","updatedDate":"2016-06-10 09:44:01","isStable":true,"downloadURL":"http://downloads.ortussolutions.com/ortussolutions/coldbox/3.7.0/coldbox_3.7.0.zip"}],"latestVersion":{"boxJSON":"{\r\n \"name\":\"ColdBox Platform\",\r\n \"version\":\"4.2.0+00002\",\r\n \"author\":\"Ortus Solutions <in...@ortussolutions.com>\",\r\n \"slug\":\"coldbox\",\r\n \"packageDirectory\":\"coldbox\",\r\n \"type\":\"mvc\",\r\n \"keywords\":\"mvc,conventions,coldbox\",\r\n \"homepage\":\"http://www.coldbox.org\",\r\n \"documentation\":\"http://coldbox.ortusbooks.com/\",\r\n \"repository\":{\r\n \"type\":\"git\",\r\n \"url\":\"https://github.com/coldbox/coldbox-platform\"\r\n },\r\n \"bugs\":\"https://ortussolutions.atlassian.net/browse/COLDBOX\",\r\n \"shortDescription\":\"A conventions based MVC development framework\",\r\n \"engines\":[\r\n {\r\n \"type\":\"adobe\",\r\n \"version\":\">9.0.2\"\r\n },\r\n {\r\n \"type\":\"lucee\",\r\n \"version\":\">4.5\"\r\n }\r\n ],\r\n \"license\":[\r\n {\r\n \"type\":\"Apache2\",\r\n \"url\":\"http://www.apache.org/licenses/LICENSE-2.0.html\"\r\n }\r\n ],\r\n \"contributors\":[\r\n \"Brad Wood <bdw...@gmail.com>\",\r\n \"Curt Gratz <gr...@computerknowhow.com>\"\r\n ],\r\n \"ignore\":[\r\n \"**/.*\",\r\n \"tests\",\r\n \"apidocs\",\r\n \"testbox\",\r\n \"*/.md\"\r\n ],\r\n \"testbox\":{\r\n \"runner\":[\r\n {\r\n \"default\":\"http://localhost:8599/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf10\":\"http://cf10cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"cf11\":\"http://cf11cboxdev.local/coldbox/tests/runner.cfm\"\r\n },\r\n {\r\n \"lucee\":\"<a href="http://luceecboxdev.local/coldbox/tests/runner.cfm%5C" rel="nofollow" target="_b

br...@bradwood.com

unread,
Jul 7, 2016, 12:50:10 AM7/7/16
to comma...@ortussolutions.com
To be honest, that sounds a little crazy.  I don't know how you put up with it :)
 
There is no possible way for me to tell you all the URLs that a package could possibly be stored at.  ForgeBox is a public registry that allows anyone in the world to post their work and we don't restrict where the files are hosted.  Even if I tell you all the domains stored on ForgeBox, I can't (easily) tell you where they might redirect to.  Github, for instance, usually redirects several times before serving a raw download.
 
For what it's worth though, here are all the domains currently in the forgebox.io regisry sorted in the order most used:

https://github.com
http://downloads.ortussolutions.com
http://github.com
http://www.coldbox.org
http://integration.stg.ortussolutions.com
https://bitbucket.org
https://www.ortussolutions.com
http://www.lunarfly.com
http://downloads.presidecms.com
http://www.alagukannan.com
http://www.onthebubble.com.au
http://www.compknowhow.com
http://oss.silowebworks.com
http://postbox.riaforge.org
http://recaptchacoldbox.riaforge.org
http://www.danvega.org
http://goo.gl
http://dbdesigns.dragonbait.com
http://www.nolandubeau.com
http://cbbuglog.riaforge.org
http://sample.evengame.com
https://sites.google.com
https://gist.github.com
http://www.siteobjects.com
http://www.jbuda.co.uk
https://raw.github.com
http://cfgloss.com
http://www.ortussolutions.com
https://raw.githubusercontent.com
http://www.giancarlogomez.com
http://demirkapi.net
http://code.assembla.com
https://downloads.sourceforge.net
http://jqueryuiplugin.riaforge.org
http://www.gocontentbox.org
https://integration.stg.ortussolutions.com

Yieng Ly

unread,
Jul 7, 2016, 1:48:34 AM7/7/16
to CommandBox
Brad,

Thank you, and so sorry for consuming a large chunk of your valuable time.
In the worse case scenario, we will just have to manually download and install it, and it will still work out. :-)
Reply all
Reply to author
Forward
0 new messages