Git Product home page Git Product logo

Comments (8)

frednaughty avatar frednaughty commented on May 24, 2024 2

@philnash, did a little more digging on this one and found an outstanding issue in VS Code that is probably to blame for this: microsoft/vscode#136787

For anyone else experiencing this problem, changing VS Code setting http.systemCertificates to false to allow this extension to download the ngrok binaries, then changing it back fixed the problem.

Extension works great, thanks Phil!

Dan

from ngrok-for-vscode.

philnash avatar philnash commented on May 24, 2024

Hey @Wilson159, there have been some updates in the underlying ngrok library recently that I need to pull into this plugin. I'm working on getting an update published this week. Hopefully that will aid in getting this installed for you. I'll let you know as soon as that is available.

from ngrok-for-vscode.

philnash avatar philnash commented on May 24, 2024

I've just published version 1.9.2. Can you try installing that and letting me know how you get on?

If it doesn't update the ngrok binary, can you open the VS Code dev tools and let me know the error that shows? Thanks!

from ngrok-for-vscode.

Wilson159 avatar Wilson159 commented on May 24, 2024

I've just published version 1.9.2. Can you try installing that and letting me know how you get on?

If it doesn't update the ngrok binary, can you open the VS Code dev tools and let me know the error that shows? Thanks!

Hi Phil!

Thanks for getting back to me so fast and pushing the update, unfortunately, I'm still getting this issue... Here's the error:

ERR spawn c:\Users\megal\.vscode\extensions\philnash.ngrok-for-vscode-1.9.2\dist\bin\ngrok.exe ENOENT: Error: spawn c:\Users\megal\.vscode\extensions\philnash.ngrok-for-vscode-1.9.2\dist\bin\ngrok.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) at onErrorNT (internal/child_process.js:465:16) at processTicksAndRejections (internal/process/task_queues.js:80:21)

from ngrok-for-vscode.

philnash avatar philnash commented on May 24, 2024

Hi @Wilson159, sorry you're still having issues here. ENOENT means it can't find the file, the ngrok executable in this case, so I think something has gone wrong in the installation. Can you uninstall the extension, restart VSCode, install the extension, open the dev tools and then run a command like ngrok start. That should trigger downloading the executable and the error from that action should help me figure out what is going wrong.

Thank you for your help with this!

from ngrok-for-vscode.

frednaughty avatar frednaughty commented on May 24, 2024

Hi @philnash, stumbled onto this GH issue while looking for a solution to the same problem. After installing ngrok for VSCode I get the same error starting a tunnel; Can't update ngrok binary. The extension may not work correctly.

Followed your instructions, dev tools output attached and summarized below.

ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip
ngrok - error downloading from URL RequestError: certificate has expired

Can confirm the URL works when copied into a web browser.

Thanks,
Dan

ngrok-for-vscode-devtools

from ngrok-for-vscode.

philnash avatar philnash commented on May 24, 2024

Thanks for digging into this @frednaughty. I'll see whether I can add this as a suggestion in the error message somehow. Or even just point to this issue for more information.

from ngrok-for-vscode.

sntgchns avatar sntgchns commented on May 24, 2024

@philnash, did a little more digging on this one and found an outstanding issue in VS Code that is probably to blame for this: microsoft/vscode#136787

For anyone else experiencing this problem, changing VS Code setting http.systemCertificates to false to allow this extension to download the ngrok binaries, then changing it back fixed the problem.

Extension works great, thanks Phil!

Dan

it works! TNX

from ngrok-for-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.