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

Docker container keeps crashing and I can't work out why #61

Closed
Deanosim opened this issue Jul 17, 2020 · 3 comments
Closed

Docker container keeps crashing and I can't work out why #61

Deanosim opened this issue Jul 17, 2020 · 3 comments

Comments

@Deanosim
Copy link

The error message I'm getting any time I try and launch the container

time="2020-07-17T14:15:28Z" level=info msg="starting wireguard server on 0.0.0.0:51820" file="main.go:50"
panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa34921]

goroutine 1 [running]:
github.com/place1/wg-embed/pkg/wgembed.(*ConfigFile).Config(...)
/go/pkg/mod/github.com/place1/wg-embed@v0.1.0/pkg/wgembed/config.go:152
github.com/place1/wg-embed/pkg/wgembed.(*WireGuardInterface).LoadConfig(0xc000260510, 0xc0001e83c0, 0x4, 0xc000036090)
/go/pkg/mod/github.com/place1/wg-embed@v0.1.0/pkg/wgembed/iface.go:92 +0xd1
main.main()
/code/main.go:52 +0x229
@Place1
Copy link
Owner

Place1 commented Jul 18, 2020

@Deanosim would you be able to share the config you're passing to wg-access-server to help me debug this?

Also, give the latest release another try (0.2.4). I think your bug is related to config and the new version has better validation/error reporting :)

@Deanosim
Copy link
Author

@Place1 Thanks for the reply, it would seem 0.2.4 fixed my problem with it's better error reporting. Turns out their was a problem with my private key, but I've fixed that now.

@Place1
Copy link
Owner

Place1 commented Jul 19, 2020

@Deanosim good to hear. I'll close this issue.

@Place1 Place1 closed this as completed Jul 19, 2020
DasSkelett referenced this issue in DasSkelett/wg-access-server Jan 25, 2022
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

2 participants