robbie-cahill / tunnelmole-client

Tunnelmole - Connect to local servers from anywhere
MIT License
1.29k stars 80 forks source link

tmole.exe shows no output in cmd #2

Closed sccpsteve closed 1 year ago

sccpsteve commented 1 year ago

Upon cding into tmole.exe and attempting to get a random public URL forwarding to a specific port, after I press the enter key, the text cursor leaves focus and no output shows. Re-entering the command leads to the same result. See attached image below for more information.

tmole version: 1.0 Windows 11 Command Prompt (administrator) Installed via Github/npm

image

Expectation: tmole.exe is supposed to send outputs in the console after the enter key is pressed, this information includes critical information for port forwarding.

Reality: tmole.exe shows no outputs upon pressing the enter key whatsoever, leaves command bar focus and does nothing.

Troubleshooting:

I asked a friend to attempt to reproduce the issue, and he was unable to reproduce the bug as he was able to port-forward successfully, so what am I doing wrong here? It should be easier to operate the software than this. Any assistance and/or bug fixes would be appreciated.

robbie-cahill commented 1 year ago

Sounds like a duplicate of #2.

What if you try with Windows Firewall turned off?

Are you behind any kind of corporate network or firewall or are you trying this from home?

sccpsteve commented 1 year ago

I'm trying to use the software from home. I turned Windows Firewall off to no avail. Is there anything else I should try?

robbie-cahill commented 1 year ago

Sounds like some kind of external network related problem.

I've just published a new version with optional debug logging. Can you download it again to update then run tmole like below and paste the output?

tmole 15 --debug

sccpsteve commented 1 year ago

Hmm. It shows this in the console and just completely stops.

C:\Users\sccps\Downloads>tmole 25 --debug
Sending initialise message
robbie-cahill commented 1 year ago

Could you leave it running for about 10 minutes and see if it prints out any other errors and paste them in here?

I'm wondering if there is something going on with your ISP. Does it work if you try it from a different internet connection or over a VPN? Which internet provider are you using?

robbie-cahill commented 1 year ago

New update. I just reproduced this, but to do so I had to switch my internet connection to the mobile hotspot on my phone. I will debug the code and see if there is a way around this.

robbie-cahill commented 1 year ago

After updating some config on the server this seems to be fixed for me, can you confirm?

sccpsteve commented 1 year ago

It's fixed! Woohoo!


C:\Users\sccps\Downloads>tmole 235
http://13i4yb-ip-[MY IP ADDRESS].tunnelmole.com is forwarding to localhost:235
https://13i4yb-ip-[MY IP ADDRESS].tunnelmole.com is forwarding to localhost:235