4

I am trying to go through the "Modify your Models" example from https://learnforge.autodesk.io/

Unfortunately ngrok is not working in our corporate network. If I try to run any of the command below

ngrok http 3000 -host-header="localhost:3000"
ngrok http 80

The only thing I get is:

listen tcp 127.0.0.1:4049: socket: An invalid argument was supplied.

and the tunneling is not working.

Is there any other option available?

1 Answer 1

4

you can try running ngrok in admin mode, and ngrok is one of the many ways to listen to webhooks.

If ngrok is prevented on corporate networks, you can try https://webhook.site/#!/db7c735c-bcb8-49c8-8e5d-51ec8d5937ad, and pass the link to the app.

6
  • Thanks @Madhukar, I don't have admin rights on this computer, so it wouldn't be practical. However I can see the webhook coming in webhook.site so I can see that it works. But I suppose there is no way to link this back to the local webserver.
    – Duzmac
    Dec 9, 2019 at 3:51
  • Tried to run it as admin and it I get the following errors as it tries to connect: Session Status: reconnecting (x509: certificate signed by unknow authority) Session Status: reconnecting (resolved tunnel.us.ngrok.com has no records)
    – Duzmac
    Dec 17, 2019 at 1:51
  • This happens when proxy blocks ngrok domain - refer issue418 you need to creak a ngrok.yml with following root_cas: trusted refer ngrok-fix Dec 17, 2019 at 8:36
  • @MadhukarMoogala where should the yml file be placed? I've placed "ngrok" in /usr/bin/local folder so that I can run from any where based on the default $PATH
    – Satyam
    Aug 5, 2020 at 10:05
  • @Satyam - On Windows, it should placed relative to ngrok.exe, ngrok.exe should be able to find the yml, may be for unix systems, you can try placing in same path as ngrok.exe. Aug 6, 2020 at 3:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.