Is the <https://www.forgebox.io/view/box-ngrok> ex...
# box-products
m
Is the https://www.forgebox.io/view/box-ngrok extension still up to date? I installed the extension, but cbox say the share command doesn't exist.
l
@elpete ping
e
Well, it’s probably not compatible with the latest version of ngrok, but the share command should still exist.
m
Copy code
CommandBox:dercampus> share
ERROR (5.4.2+00453)

Command "share" cannot be resolved.
e
What does
package list --system
give you?
I just installed it fresh (
install box-ngrok
) and
share
was a valid command
m
Copy code
CommandBox> package list --system
Dependency Hierarchy for  (1.0.0)
├─┬ commandbox-cfconfig (1.6.6)
.
.
.
└── box-ngrok (1.4.1)
e
Try
reload
m
now the command is present, but an error occurs:
Copy code
{"Extended_Info":"","Message":"Connect to 127.0.0.1:4040 [/127.0.0.1] failed: Connection refused: connect","Detail":"","additional":{"url":"<http://127.0.0.1:4040/api/tunnels>"},"TagContext":[],"Host":{"DEFAULT_SCHEME_NAME":"http","Port":4040,"HostName":"127.0.0.1","SchemeName":"http"},"ErrorCode":"0","type":"org.apache.http.conn.HttpHostConnectException","StackTrace":"lucee.runtime.exp.NativeException: Connect to 127.0.0.1:4040 [/127.0.0.1] failed: Connection refused: connect\r\n\tat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)\r\n\tat lucee.runtime.net.http.sni.DefaultHttpClientConnectionOperatorImpl.connect(DefaultHttpClientConnectionOperato
I guess it's because of the latest version of ngrok. You need some api token set, etc.
I'll try to find out. The
reload
was my mistake
b
@madmike_de Chances are, you're on an older version of CommandBox if the system module didn't activate right away.