Using CommandBox behind firewall/proxy generates error

All,
I get the following error when trying to use CommandBox behind a firewall with proxy:

CommandBox version: 1.1.1+00066

The command used is: forgebox show
The first time run I get the error:

Contacting ForgeBox, please wait…
ERROR: key [DATA] doesn’t exist
C:\Users\SD1985.CommandBox\cfml\system\util\ForgeBox.cfc: line 109
107: }
108:
109: return results.response.data;
110:
111:
called from C:\Users\SD1985.CommandBox\cfml\commands\forgebox\show.cfc: line 155
153: } else {
154: // Get the entries
155: var entries = forgebox.getEntries( orderBy, maxRows, startRow, typeLookup );
156:
157: // entrylink,createdate,lname,isactive,installinstructions,typename,version,hits,coldboxversion,sourceurl,slug,homeurl,typeslug,
called from C:\Users\SD1985.CommandBox\cfml\system\services\CommandService.cfc: line 231
229: // Run the command
230: try {
231: var result = commandInfo.commandReference.CFC.run( argumentCollection = parameterInfo.namedParameters );
232: } catch( any e ) {
233: // Dump out anything the command had printed so far
called from C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc: line 401
399: **/

400: function callCommand( String command="", returnOutput=false ) {
401: var result = variables.commandService.runCommandLine( arguments.command );
402:
403: // Return the output to the caller to deal with
called from C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc: line 375
373: if( len( trim( line ) ) ) {
374: try{
375: callCommand( line );
376: } catch (any e) {
377: printError( e );
called from C:\Users\SD1985.CommandBox\cfml\system\Bootstrap.cfm: line 52
50: systemOutput( replace( banner, ‘@@version@@’, shell.getVersion() ) );
51: // Running the “reload” command will enter this while loop once
52: while( shell.run() ){
53: // Clear all caches: template, …
54: SystemCacheClear( “all” );
key [DATA] doesn’t exist
at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:48):48
at railo.runtime.type.StructImpl.get(StructImpl.java:102):102
at railo.runtime.type.util.StructSupport.get(StructSupport.java:219):219
at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:237):237
at railo.runtime.PageContextImpl.get(PageContextImpl.java:1393):1393
at system.util.forgebox_cfc$cf.udfCall(C:\Users\SD1985.CommandBox\cfml\system\util\ForgeBox.cfc:109):109
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at commands.forgebox.show_cfc$cf.udfCall(C:\Users\SD1985.CommandBox\cfml\commands\forgebox\show.cfc:155):155
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:195):195
at railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1755):1755
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1557):1557
at system.services.commandservice_cfc$cf.udfCall1(C:\Users\SD1985.CommandBox\cfml\system\services\CommandService.cfc:231):231
at system.services.commandservice_cfc$cf.udfCall(C:\Users\SD1985.CommandBox\cfml\system\services\CommandService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at system.shell_cfc$cf.udfCall2(C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc:401):401
at system.shell_cfc$cf.udfCall(C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at system.shell_cfc$cf.udfCall2(C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc:375):375
at system.shell_cfc$cf.udfCall(C:\Users\SD1985.CommandBox\cfml\system\Shell.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at users.sd1985._commandbox46.cfml.system.bootstrap_cfm$cf.call(C:\Users\SD1985.CommandBox\cfml\system\Bootstrap.cfm:52):52
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:861):861
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:206):206
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2212):2212
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2179):2179
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:331):331
at railo.runtime.engine.CFMLEngineImpl.cli(CFMLEngineImpl.java:632):632
at railo.loader.engine.CFMLEngineWrapper.cli(CFMLEngineWrapper.java:249):249
at railocli.CLIMain.run(CLIMain.java:63):63
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source):-1
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source):-1
at java.lang.reflect.Method.invoke(Unknown Source):-1
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:336):336
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:269):269

The second time run I get:
Contacting ForgeBox, please wait…

ERROR
Error making ForgeBox REST Call
Site Unreachable - ForgeBox API failed to return a JSON payload

Thanks for the report. I’ll paste the same ticket link I sent on Twitter. This is a known issue and we have a ticket here:

https://ortussolutions.atlassian.net/browse/COMMANDBOX-205

There are a couple other people who have reported this. We’ll look further into it to see if we can release a fix soon.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Steven, can you please test proxy support on the bleeding edge of CommandBox. I just added support and tried to do some local testing, but I’d like some “real” tests.

http://www.ortussolutions.com/blog/commandbox-300-beta-released-for-testing

Thanks!

~Brad

So far so good here as well, nicely done!

Thank you!