Giter Club home page Giter Club logo

Comments (8)

davrodpin avatar davrodpin commented on June 19, 2024 3

@manuel220x, thank you for reporting it.

I want to apologize for the time it is taking for fixing this bug but I’ve been busy with work and family and had no time to spend on this project. Hopefully I can find some time to fix it soon.

from mole.

ianrgraham avatar ianrgraham commented on June 19, 2024

This functionality is broken for me as well.

from mole.

zieglar avatar zieglar commented on June 19, 2024

same for me, detach not working, version 2.0.0

from mole.

asabi avatar asabi commented on June 19, 2024

Yep, definitely broken, otherwise works like a charm! 😅 happy holidays.

from mole.

hanjm avatar hanjm commented on June 19, 2024

I found start alias --detach not work as expected, then a found this issue, i try to debug and fix it:

  1. cat ~/.mole/pg}/mole.log and found the problem is missing --id flag logic.
Error: unknown flag: --id
Usage:
  mole start alias [name] [flags]

Flags:
  -x, --detach     run process in background
  -h, --help       help for alias
  -i, --insecure   skip host key validation when connecting to ssh server
  -v, --verbose    increase log verbosity
  1. fix it #184.
  2. go run main.go start alias pg -x works find.
git clone https://github.com/hanjm/mole.git && \
cd mole && \
git checkout fix/fix-start-alias-detach && \
go build -o $(go env GOPATH)/bin/mole 

from mole.

brianchul avatar brianchul commented on June 19, 2024

There might be build error on Mac OS 12.4 with go1.18.3 while build make and build test on @hanjm's fix
a simple upgrade may fix go get -u golang.org/x/sys

error code:

# golang.org/x/sys/unix
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:136:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:151:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:166:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:166:3: too many errors
make: *** [build] Error 2

from mole.

akashkroy avatar akashkroy commented on June 19, 2024

Detach is not working on Ubuntu :
I am using the latest release v2.0

After creating the tunnel when I check the log this is the output

time="2022-10-30T18:45:25Z" level=error msg="can't start. Another instance is already using the same id" id=bbee01f4
time="2022-10-30T18:45:25Z" level=error msg="error starting mole" error="can't start. Another instance is already using the same id bbee01f4"

There are no tunnels with the same ID.
Happens every time I run this but works fine when I run it without the detach parameter.

from mole.

caryyu avatar caryyu commented on June 19, 2024

Not working as well, I've manually installed golang version with go1.17.12 darwin/arm64 by brew install [email protected]

from mole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.