Issue with callback URLs and ColdFusion Builder 2 Extensions

One of the interesting new features of ColdFusion Builder 2 (and to me, the critical feature) is the use of a callback system to execute commands. I need to do a full blog entry on it, but for now, just know that the editor sends to extensions a special URL. Your extension can hit this URL with XML to perform commands with the editor. So as a simple example, I can send XML to the callback URL to request a refresh on a folder if I’ve added some files to it.

So what’s the issue? It appears as if ColdFusion Builder 2 checks your network settings on startup and creates the callback url based on your current IP address. This works fine until your IP address changes. That doesn’t happen terribly often, but on a laptop that goes from home to office, or hotel room to conference, it could happen quite a bit.

Unfortunately the only real fix is restart ColdFusion Builder 2. An extension could try to work around this, but it’s probably more trouble than it’s worth. I’ve logged a bug for this (ID 2854796) and would appreciate any votes.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for Extend by Auth0. He focuses on serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com

Comments