Comments (8)
Oh so I should downgrade in the meantime until master is fixed?
Yes, please :)
from mole.
Checking out the code and updating to master and rebuilding/reinstalling from source results int he same error; so I suspect this is a bug currently in master.
from mole.
Logging the value of app.KeepAliveInterval
shows:
INFO[0002] t.KeepAliveInterval: #0s
For some reason this is either getting set to 0s
or is the zero value of time.Duration
from mole.
I'm sort of at a loss here :/
$ sift KeepAliveInterval
cli/cli.go:34: KeepAliveInterval time.Duration
cli/cli.go:62: f.DurationVar(&c.KeepAliveInterval, "keep-alive-interval", 10*time.Second, "(optional) time interval for keep alive packets to be sent")
tunnel/tunnel.go:125: // KeepAliveInterval is the time period used to send keep alive packets to
tunnel/tunnel.go:127: KeepAliveInterval time.Duration
tunnel/tunnel.go:300: ticker := time.NewTicker(t.KeepAliveInterval)
tunnel/tunnel_test.go:352: tun.KeepAliveInterval = 10 * time.Second
cmd/mole/main.go:276: log.Infof("t.KeepAliveInterval: #%v", app.KeepAliveInterval)
cmd/mole/main.go:278: t.KeepAliveInterval = app.KeepAliveInterval
Inspecting the code and debugging it a little bit shows that we are missing t.KeepAliveInterval
from app.KeepAliveInterface
which should be set from the f.DurationVar(&c.KeepAliveInterval
on L62 of cli/cli.go
from mole.
from mole.
Sure. Nothing too special here:
[tunnels]
[tunnels.nightly]
local = ["127.0.0.1:4646"]
remote = [":4646"]
server = "nightly"
key = ""
verbose = false
help = false
version = false
detach = false
It was created with mole -alias ...
obviously. I've not touched it.
from mole.
@prologic, I am able to reproduce the issue.
mole 0.4.0 is free from this bug.
from mole.
Oh so I should downgrade in the meantime until master is fixed?
from mole.
Related Issues (20)
- Question on Usage: Define source as a non-existent hostname/domain name HOT 1
- logon using privatekey denied. error ssh: handshake failed: knownhosts: key is unknown HOT 1
- error runtime: bad pointer in frame github.com/konsorten/go-windows-terminal-sequences HOT 1
- Fix `add alias` help
- request for ENHANCEMENT: [github] xanzy/ssh-agent and/or passphrases for private keys ... HOT 3
- Feature request: unix socket forwarding
- Key mismatch HOT 8
- Missing `config` attribute on `<alias>.toml` file causing application to fail HOT 2
- New feature: SOCKS support
- ProxyCommand parameter in config not used, cannot use ssh proxy jump host HOT 1
- Can't get running configuration of detached instance HOT 1
- [Feature Request] Support aarch64 architecture for Raspberry Pi HOT 1
- [Feature Request] Support Remote Forwarding HOT 1
- [Feature Request] alias for remote port forwarding HOT 1
- Find another way to find is key is encrypted
- --detach not working HOT 8
- Mole not support ssh Include configuration files
- Show instances is not returning anything
- How to
- Ignoring IdentityAgent from SSH config and -A CLI option
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 mole.