Comments (8)
@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.
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.
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.
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.
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.
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
from ngrok-for-vscode.
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.
@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
tofalse
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)
- Close ngrok after all tunnels are closed
- Host header rewrite HOT 2
- Look into localisation/internationalisation for the extension
- Cannot set the port from the beginning... HOT 7
- Accept relative/default config paths HOT 5
- How can I use w/ TLS, a subdomain, and set my own port? HOT 3
- Feature request: start/stop with arguments from other extensions HOT 2
- command not found HOT 3
- start command gives spawn ./ngrok ENOENT: Error HOT 9
- Ngrok binary won't download HOT 5
- Way to Start Multiple Tunnels Simultaneously HOT 5
- Using this extension inside a devcontainer HOT 7
- No option to create TCP tunnel HOT 1
- Never starts my tunnel HOT 8
- Start NgRok - Getting error with no much details
- Update to ngrok3? HOT 2
- There was an error starting your tunnel. HOT 3
- Getting an error without detail in start HOT 1
- Continuous Integration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrok-for-vscode.