mirror of
https://github.com/agrinman/tunnelto.git
synced 2026-04-26 01:06:01 +03:00
[GH-ISSUE #25] Support for stdout log #22
Labels
No labels
Need more info
bug
duplicate
enhancement
good first issue
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tunnelto#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sunilagrya on GitHub (Sep 23, 2020).
Original GitHub issue: https://github.com/agrinman/tunnelto/issues/25
Hi,
Thank you for creating Tunneto.
I am trying to run tunnel-to inside an electron app, which will start the connection between our customer local machine and send tunnel-to link to our server, So we can download data from the local machine.
Output: tunnelto 0.1.12
Here in the above code it is returning the version because the process is terminated.
When I try to run
It will not return anything until the process is terminated. I also tried by adding verbose.
Kindly suggest any other way to do this.
In Ngrok there is option
log=stdoutit will return logs in stdout. So we can process it and get URLThen I added subdomain to the arguments, Now I know in which subdomain tunnel-to is running. But I cannot get the tunnel-to Local Inspect Dashboard URL for debugging purposes.
@agrinman commented on GitHub (Sep 24, 2020):
So if I understand correctly you want something that will write machine-readable data about the created tunnel to stdout right?
@sunilagrya commented on GitHub (Sep 24, 2020):
Yes correct 😀, I need a machine-readable data. Sorry for the above.
When I execute tunnelto in Node child process, I am getting the below output
Line 1
Line 2
Here in my logs
Success! Remote tunnel created on: https://apple.tunnelto.devis not printing.If I get the above line I will parse and get the tunnel URL, that's it.
Thank you so much.
@sunilagrya commented on GitHub (Sep 24, 2020):
Hey another quick question
When I run
./tunnelto --port 1080 --subdomain appleAnd if I open a new tab and run the same command with different port
./tunnelto --port 3000 --subdomain appleIt is returning Success!. Will it be possible to say Hey this subdomain is already taken!
@agrinman commented on GitHub (Sep 26, 2020):
if you're authenticating with a key it will overwrite that session with your new one