progrium / localtunnel

Expose localhost servers to the Internet
MIT License
3.2k stars 242 forks source link

-k execution expired (Timeout::Error) #37

Closed jonschull closed 11 years ago

jonschull commented 12 years ago

Jon-Schulls-MacBook-Pro-2:~ jonschull$ localtunnel -k ~/.ssh/id_rsa.pub 5000 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:60:in rbuf_fill': execution expired (Timeout::Error) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/protocol.rb:134:inrbuf_fill' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/protocol.rb:116:in readuntil' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/protocol.rb:126:inreadline' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2024:in read_status_line' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2013:inread_new' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1050:in request' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:405:inpost_form' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:543:in start' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:404:inpost_form' from /Library/Ruby/Gems/1.8/gems/localtunnel-0.3/lib/localtunnel/tunnel.rb:25:in register_tunnel' from /Library/Ruby/Gems/1.8/gems/localtunnel-0.3/bin/localtunnel:46 from /usr/bin/localtunnel:19:inload' from /usr/bin/localtunnel:19

Mac 10.7.2

timrwilliams commented 12 years ago

I also get this issue intermittently, is there a known solution? Seems to happen when trying to restart localtunnel after it has previously started successfully and then been killed.

rubensayshi commented 12 years ago

I thought it happened to me too after killing it once, but I restarted my machine now and still cant start a new localtunnel...

unrelated to which port I try to use it on

$ localtunnel 80 /usr/lib/ruby/1.8/timeout.rb:64:in rbuf_fill': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/protocol.rb:134:inrbuf_fill' from /usr/lib/ruby/1.8/net/protocol.rb:116:in readuntil' from /usr/lib/ruby/1.8/net/protocol.rb:126:inreadline' from /usr/lib/ruby/1.8/net/http.rb:2028:in read_status_line' from /usr/lib/ruby/1.8/net/http.rb:2017:inread_new' from /usr/lib/ruby/1.8/net/http.rb:1051:in request' from /usr/lib/ruby/1.8/net/http.rb:948:inrequest_get' from /usr/lib/ruby/1.8/net/http.rb:380:in get_response' from /usr/lib/ruby/1.8/net/http.rb:543:instart' from /usr/lib/ruby/1.8/net/http.rb:379:in get_response' from /usr/lib/ruby/1.8/net/http.rb:356:inget' from /var/lib/gems/1.8/gems/localtunnel-0.3/lib/localtunnel/tunnel.rb:27:in register_tunnel' from /var/lib/gems/1.8/gems/localtunnel-0.3/bin/localtunnel:46 from /usr/local/bin/localtunnel:19:inload' from /usr/local/bin/localtunnel:19

progrium commented 11 years ago

This shouldn't be an issue in the new version, it doesn't require a key. Check the latest README for details!