coreybutler / fenix

A simple and visual static web server with collaboration features.
https://preview.fenixwebserver.com
GNU General Public License v3.0
1.65k stars 135 forks source link

localtunnel.me proxy dies after short period #64

Closed rickdog closed 8 years ago

rickdog commented 8 years ago

After I start a localtunnel.me server it dies after a few minutes, is there any way to debug this? I can pull a few files from the proxy but it eventually quits displaying: localtunnel error: no active client for 'whatever'

coreybutler commented 8 years ago

This has to do with localtunnel.me killing sessions. Since it's a 3rd party free service, there's nothing Fenix can offer in the way of debugging, but you might be able to reach out to the localtunnel.me guys. It appears like this happens more often during times when localtunnel.me is under higher load.

FWIW - I am working on an alternative SSH tunneling component for version 3.0 (which I happen to be working on this very second). I am looking at alternative tunneling services for the open source version, and there is a very strong likelihood I'll offer a commercial service for more stable/dedicated use. No ETA on that yet.

rickdog commented 8 years ago

thanks for the quick response. For some reason if I use the npm localtunnel module under io.js it's much more stable. Shouldn't make a difference but it does. Can you give me any other tunneling proxies other than localtunnel.com that I can check out?

coreybutler commented 8 years ago

Fenix is currently hard-coded to use the localtunnel.me service (i.e. the push button control in the UI). You could spin up a Fenix Web Server and use ngrok to just point to the specified Fenix port.

The localtunnel client seems to have lost momentum and does present some instability... as you've experienced. I've written SSH clients in both node and Go. Right now, I'm leaning towards offloading this to Go. Go has pretty solid native SSH support, and of course this opens the door for using tools like ngrok directly from the Fenix UI.

rickdog commented 8 years ago

already using ngrok with fenix, works great! Supposedly the localtunnel npm client can use a server other than localclient by specifying it in the -host parameter, but I couldn't get it to work with ngrok