Search code examples
herokuautodesk-forgerevit-apiautodesk-model-derivativeautodesk-designautomation

Autodesk Forge Heroku Deployment


I followed this tutorial all along https://learnforge.autodesk.io/#/tutorials/modifymodels. In local I haven't seen any error but when I try to deploy this app to the Heroku with the guide of the tutorial, app doesn't work appropriately. Just viewer app does work both HEROKU and Local. In local we use ngrok for testing purpose but I believe it is not necessary in web deployment. What am I doing wrong. I deployed this sample to https://github.com/Autodesk-Forge/learn.forge.designautomation but no luck. App upload and receive the file after it says 'workitem itemid started', app do nothing all along. After a long time server give 1006 error. Any help appreciated. By the way this is my first post, sorry if it is too long


Solution

  • Try using this for your webhook url.

    FORGE_WEBHOOK_URL: "http://APP_NAME.herokuapp.com