Comments (6)
This is because of issue #53. Right now, you can fix this by recompiling the ngrok client and changing this file:
https://github.com/inconshreveable/ngrok/blob/master/src/ngrok/client/tls.go
The problem is the hardcoded "ngrokd.ngrok.com". If you change this to "ngrok.mydomain.ru" it will work. I'm going to push a fix for this in the next day. It should just be a matter of passing through the hostname part of the address.
from ngrok.
I've changed "ngrokd.ngrok.com" --> "ngrok.mydomain.ru" on the client though I'm still getting the same error messages.
from ngrok.
hrmmm, okay. I'm going to take a deeper look
from ngrok.
Any change on this subject? Ran into the same problem.
Change the code as mentioned above but no luck there too.
from ngrok.
Sorry, I've been caught up in other things, I'm going to try to take a look at this tomorrow.
from ngrok.
Okay, so after looking at this more carefully, there is one issue with ngrok and one problem with your configuration:
The ngrok issue was #53, which is now fixed. You shouldn't need to modify the source code any more to change the TLS configuration because it will extract the right server name from the server_addr you pass in the configuration file.
The fix for the configuration error you're running into is mentioned in the self-hosting doc:
https://github.com/inconshreveable/ngrok/blob/master/docs/SELFHOSTING.md
Specifically, you need to specify the following in your ngrok configuration:
trust_host_root_certs: true
This instructs ngrok to use your host's root certificate authority pool to validate the TLS connections because by default, ngrok only recognizes the certificate authority for ngrok.com. Alternatively, you can recompile ngrok if you replace assets/client/tls/ngrokroot.crt with the proper root certificate, but that's more advanced.
from ngrok.
Related Issues (20)
- ngrok status reconnecting issue failed to send authentication request: read tcp HOT 6
- Ngrok in the termux HOT 2
- React + Express + Socket.io + Ngrok HOT 2
- Not registering server responses HOT 3
- question regarding memory usage HOT 2
- "An SSL error has occurred and a secure connection to the server cannot be made" HOT 1
- ngrok service doesn't reconnect after laptop sleep with ERR_NGROK_334 HOT 3
- Proposal to Fork and Maintain ngrok HOT 4
- There was an issue when use ngrok http http://xxx.xxx.xxx.xxx HOT 1
- Ngrok not working correctly for me HOT 1
- NGROK won't send image if it is embedded in HTML HOT 1
- "no longer signed" error when updating with apt on Ubuntu HOT 2
- NgRok minecraft 1 20 4 server (vanila) HOT 2
- Issue in sending sensor data from ESP8266 to Ngrok tunnel HOT 1
- Successfully create tunnel, not able to connect to it HOT 1
- Threat detected by Windows Security: AndroidOS/ZkarletFlash HOT 1
- Can't connect to gRPC
- Ngrok service start failed on macos HOT 2
- Consider transferring issues to the new repo HOT 3
- Reconnection issue with ngrok while tunneling HOT 1
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.