Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ngrok related issue - field bind_tls not found in type config.HTTPv2Tunnel #620

Open
ehsanf opened this issue Feb 5, 2025 · 1 comment
Labels

Comments

@ehsanf
Copy link

ehsanf commented Feb 5, 2025

twilio phone-numbers:update +1XXXXXXXXXX --sms-url http://localhost:3000/handle-sms -l debug

[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=info msg="no configuration paths supplied"
[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=info msg="using configuration at default config path" path=C:\\Users\\ehsan\\AppData\\Local/ngrok/ngrok.yml
t=2025-02-04T23:50:21-0500 lvl=info msg="open config file" path=C:\\Users\\ehsan\\AppData\\Local\\ngrok\\ngrok.yml err=nil
[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=info msg="starting web service" obj=web addr=127.0.0.1:4040 allow_hosts=[]
[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=info msg=start pg=/api/tunnels id=a5894e48b6c4f3d8
[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=warn msg="invalid tunnel configuration" pg=/api/tunnels id=a5894e48b6c4f3d8 err="yaml: unmarshal errors:\n  line 1: field bind_tls not found in type config.HTTPv2Tunnel"
[DEBUG] ngrok: t=2025-02-04T23:50:21-0500 lvl=info msg=end pg=/api/tunnels id=a5894e48b6c4f3d8 status=400 dur=3.9994ms
[DEBUG] Found command "phone-numbers:update" plugin: twilio-cli
 » twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio/twilio-cli/issues"
[DEBUG] Converting circular structure to JSON
    --> starting at object with constructor 'IncomingMessage'
    |     property 'req' -> object with constructor 'ClientRequest'
    --- property 'res' closes the circle
[DEBUG] TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'IncomingMessage'
    |     property 'req' -> object with constructor 'ClientRequest'
    --- property 'res' closes the circle
    at JSON.stringify (<anonymous>)
    at NumberUpdate.createTunnel (C:\Users\ehsan\scoop\apps\twilio\5.22.10\twilio\src\commands\phone-numbers\update.js:94:51)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NumberUpdate.run (C:\Users\ehsan\scoop\apps\twilio\5.22.10\twilio\src\commands\phone-numbers\update.js:48:9)
    at async NumberUpdate._run (C:\Users\ehsan\scoop\apps\twilio\5.22.10\twilio\node_modules\@oclif\core\lib\command.js:80:22)
    at async Config.runCommand (C:\Users\ehsan\scoop\apps\twilio\5.22.10\twilio\node_modules\@oclif\core\lib\config\config.js:301:25)

Running on Windows.
VERSION
twilio-cli/5.22.10 win32-x64 node-v20.18.1

Any ideas?

Copy link

github-actions bot commented Mar 7, 2025

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days.

@github-actions github-actions bot added the Stale label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant