coder/wgtunnel

It's been a while since I setup wgtunnel built by coder, I managed to do it again but fell into a ditch ... Normally when you go to the root path it should say https://coder.com but rn it says not found. Not sure what's going on but even the POST routes don't work,
11 Replies
Codercord
Codercord2mo ago
<#1349439717606690877>
Category
Other
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
nyxalis.
nyxalis.OP2mo ago
Well I guess I fixed it but just can't forward ports
{
"message": "Failed to dial peer.",
"detail": "context deadline exceeded"
}
{
"message": "Failed to dial peer.",
"detail": "context deadline exceeded"
}
Phorcys
Phorcys2mo ago
have you figured this out?
nyxalis.
nyxalis.OP2mo ago
No
Phorcys
Phorcys2mo ago
sorry for the delay, could you provide logs? also, where are you seeing these error messages
nyxalis.
nyxalis.OP2mo ago
When u tunnel and go to the tunnel URL. I deleted it now anyways
Phorcys
Phorcys2mo ago
alright, closing this then let me know if you need help at another time :)
Codercord
Codercord2mo ago
@Phorcys closed the thread.
nyxalis.
nyxalis.OP4d ago
hey! i finaly had time to set it up again same issue tho
Phorcys
Phorcys3d ago
are you able to send the full wgtunnel logs?
nyxalis.
nyxalis.OP3d ago
Ye sure, getting them now
tunnel-1 | 2025-04-27 12:33:34.252 [info] generating private key to file path=/home/tunneld/wg.key
tunnel-1 | 2025-04-27 12:33:34.256 [info] reading private key from file path=/home/tunneld/wg.key
tunnel-1 | 2025-04-27 12:33:34.256 [info] parsed private key hash=14f2676552e85a6a32f3a754eb2db37674be0ddb166b74c6d3c6934ef41a9ee03c7432b4a2d3a447f3cac748b541f929ff56892b35dafa77f41e850a3cc4d205
tunnel-1 | 2025-04-27 12:33:34.342 [info] starting pprof server listen_address=127.0.0.1:6060
tunnel-1 | 2025-04-27 12:33:34.359 [info] listening for requests listen_address=0.0.0.0:8080
tunnel-1 | 2025-04-27 12:33:34.252 [info] generating private key to file path=/home/tunneld/wg.key
tunnel-1 | 2025-04-27 12:33:34.256 [info] reading private key from file path=/home/tunneld/wg.key
tunnel-1 | 2025-04-27 12:33:34.256 [info] parsed private key hash=14f2676552e85a6a32f3a754eb2db37674be0ddb166b74c6d3c6934ef41a9ee03c7432b4a2d3a447f3cac748b541f929ff56892b35dafa77f41e850a3cc4d205
tunnel-1 | 2025-04-27 12:33:34.342 [info] starting pprof server listen_address=127.0.0.1:6060
tunnel-1 | 2025-04-27 12:33:34.359 [info] listening for requests listen_address=0.0.0.0:8080
When I run the cli to tunnel the server doesn't get any logs Also ont he CLI
Closing tunnel due to signal...
2025-04-27 12:39:16.764 [erro] close tunnel error="accept tcp :8090: endpoint is in invalid state"
failed to sync sloghuman: sync /dev/stderr: The handle is invalid.
Closing tunnel due to signal...
2025-04-27 12:39:16.764 [erro] close tunnel error="accept tcp :8090: endpoint is in invalid state"
failed to sync sloghuman: sync /dev/stderr: The handle is invalid.
When I ctrl+c i get that

Did you find this page helpful?