Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getpeername: Transport endpoint is not connected #7

Closed
Mygod opened this issue Jan 8, 2017 · 11 comments
Closed

getpeername: Transport endpoint is not connected #7

Mygod opened this issue Jan 8, 2017 · 11 comments

Comments

@Mygod
Copy link
Contributor

Mygod commented Jan 8, 2017

# obfs-server -s 0.0.0.0 -p 8139 --obfs http -r 127.0.0.1:8388
$ obfs-local -s SERVER_IP -p 8139 -l 1984 --obfs http --obfs-host www.baidu.com

ss-local gets getpeername: Transport endpoint is not connected all the time after adding -p 1984. 😕

@madeye
Copy link
Contributor

madeye commented Jan 9, 2017

It looks weird. What's your command line for ss-local?

@Mygod
Copy link
Contributor Author

Mygod commented Jan 9, 2017

ss-local -c config.json --fast-open -l 1080 -p 1984.

Also I can see that server port for obfs-server is open.

@madeye
Copy link
Contributor

madeye commented Jan 9, 2017

What about removing --fast-open?

@Mygod
Copy link
Contributor Author

Mygod commented Jan 9, 2017

Okay I have just disabled fast open everywhere and nothing has changed.

@madeye
Copy link
Contributor

madeye commented Jan 9, 2017

Hmm, what's your config.json?

@Mygod
Copy link
Contributor Author

Mygod commented Jan 9, 2017

{
    "server":"0.0.0.0",
    "server_port":8388,
    "local_port":1080,
    "password":"*removed*",
    "timeout":60,
    "method":"chacha20",
    "auth":true
}

@madeye
Copy link
Contributor

madeye commented Jan 9, 2017

For ss-local, server should be 127.0.0.1?

@Mygod
Copy link
Contributor Author

Mygod commented Jan 9, 2017

Oh wait I connected to the wrong server! Silly me! 🤣

There's no more Transport endpoint is not connected however I'm still getting ERR_CONNECTION_RESET. There are no error logs anywhere. Hmm...

@Mygod
Copy link
Contributor Author

Mygod commented Jan 9, 2017

Hmm yeah server should be 127.0.0.1. Now everything works...

@Mygod Mygod closed this as completed Jan 9, 2017
@madeye
Copy link
Contributor

madeye commented Jan 9, 2017

Great! It turns out to be not another bug. 😌

@thelou1s
Copy link

{
"server":"0.0.0.0",
"server_port":8989,
"password":"xxxxxxxxxx",
"timeout":300,
"user":"nobody",
"method":"aes-256-cfb",
"fast_open":false,
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp"
}
image

HI, I got this err too, but tried 127.0.0.1 and 0.0.0.0. both of them not work, please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants