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

cannot connect with my rust server with +rcon.web "1" #19

Closed
Owned67 opened this issue Nov 12, 2021 · 4 comments
Closed

cannot connect with my rust server with +rcon.web "1" #19

Owned67 opened this issue Nov 12, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Owned67
Copy link

Owned67 commented Nov 12, 2021

`rcon.exe -a MYIP:28015 -p MyRconPassword -t web
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x54f9c9]

goroutine 1 [running]:
github.com/gorcon/websocket.(*Conn).Close(0x0, 0xc0000a6f80, 0xc00014e120)
/media/pk/hdd/projects/repos/github.com/gorcon/rcon-cli/vendor/github.com/gorcon/websocket/websocket.go:122 +0x29
github.com/gorcon/rcon-cli/internal/executor.(*Executor).Close(0xc0000ec3c0, 0x7, 0xc0000d7e88)
/media/pk/hdd/projects/repos/github.com/gorcon/rcon-cli/internal/executor/executor.go:261 +0x42
github.com/gorcon/rcon-cli/internal/executor.(*Executor).Run(0xc0000ec3c0, 0xc0000e0000, 0x7, 0x8, 0x6bb920, 0xc0000a6f80)
/media/pk/hdd/projects/repos/github.com/gorcon/rcon-cli/internal/executor/executor.go:81 +0x165
main.main()
/media/pk/hdd/projects/repos/github.com/gorcon/rcon-cli/main.go:17 +0x16b`

we use +rcon.web" "1", possible to have a fix please?

@Owned67 Owned67 changed the title cannot connect with my rust server with +rcon.web" "1" cannot connect with my rust server with +rcon.web "1" Nov 12, 2021
outdead added a commit that referenced this issue Nov 13, 2021
@outdead outdead self-assigned this Nov 13, 2021
@outdead outdead added the bug Something isn't working label Nov 13, 2021
@outdead
Copy link
Member

outdead commented Nov 13, 2021

Thanks for your issue.

It looks like connection error for the server but gorcon panics and cannot display it. Please try 0.10.1 version. I fix program panic and now you should receive a more informative message after launch.

@Owned67
Copy link
Author

Owned67 commented Nov 13, 2021

rcon.exe -a MYIP:28015 -p MyRconPassword -t web
cli: auth: webrcon: dial tcp MYIP:28015: connectex: No connection could be made because the target machine actively refused it

@outdead
Copy link
Member

outdead commented Nov 13, 2021

It looks like the problem is solved for gorcon, thank you!

Now you need to find your problem on the server or in the firewall. There is a good tread about this on stackoverflow. I hope this will help you. I also recommend you to check server with +rcon.web 0 param.

@Owned67
Copy link
Author

Owned67 commented Nov 13, 2021

I don't have access to his server so close :( ^^ thanks for support

@Owned67 Owned67 closed this as completed Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants