Hi,
im having an issue with the latest 2021.1.2 where i have to Restart-WaykBastion every 3 days?
i try to connect from my laptop to a clients computer and i get error message saying i cant connect
then when i inspect the wayk client debug logs, its showing internal error 500
[2021-03-30] [14:22:10:707] [6476:000027b4] [DEBUG][NowChannel] - Starting channel manager...
[2021-03-30] [14:22:10:707] [6476:000027b4] [DEBUG][NowChannel] - Start channel manager succeeded
[2021-03-30] [14:22:10:707] [6476:000027b4] [DEBUG][NowSharee] - NowSharee_SetSessionId: 4A063AE9-412A-447E-96BB-A6DCBEB087E7
[2021-03-30] [14:22:10:737] [6476:000003ec] [INFO][wayk_rust::den::ffi] - Entered NowDenSession_InitiateV3_c
[2021-03-30] [14:22:10:737] [6476:000003ec] [DEBUG][wayk_rust::den::wrapper] - Entered Den::resolve_v3
[2021-03-30] [14:22:10:737] [6476:000003ec] [DEBUG][NowCurl] - curl url: https://remote.server.com:443/wayk/resolve (proxy: )
[2021-03-30] [14:22:11:714] [6476:000003ec] [INFO][wayk_rust::den::wrapper] - Resolved "681205" -> ("efa0ffe4-1a65-7620-d6c7-8d29089dfd14", 0x23D20C56)
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][wayk_rust::den::wrapper] - Exited Den::resolve_v3 successfully
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][wayk_rust::den::session] - Entered DenSession::create_v3
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][NowCurl] - curl url: https://remote.server.com:443/session (proxy: )
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][NowOAuth] - access token for https://remote.server.com/lucid expires in 0s
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][NowOAuth] - invalid access token, requesting a new one
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][NowOAuth] - requesting access token from https://remote.server.com/lucid/auth/token using refresh token
[2021-03-30] [14:22:11:714] [6476:000003ec] [DEBUG][NowCurl] - curl url: https://remote.server.com/lucid/auth/token (proxy: )
[2021-03-30] [14:22:12:136] [6476:000003ec] [DEBUG][NowOAuth] - got an access token from https://remote.server.com/lucid/auth/token
[2021-03-30] [14:22:12:136] [6476:000003ec] [DEBUG][NowOAuth] - got a refresh token from https://remote.server.com/lucid/auth/token
[2021-03-30] [14:22:12:620] [6476:000003ec] [INFO][wayk_rust::den::session] - Session created successfully. Session id is "d2c7b61b-2f0b-4545-9077-af3d60e5ce44".
[2021-03-30] [14:22:12:620] [6476:000003ec] [DEBUG][wayk_rust::den::session] - Exited DenSession::create_v3 successfully
[2021-03-30] [14:22:12:620] [6476:000003ec] [DEBUG][wayk_rust::den::session] - Entered DenSession::initiate_v3
[2021-03-30] [14:22:12:620] [6476:000003ec] [DEBUG][NowCurl] - curl url: https://remote.server.com:443/wayk/message (proxy: )
[2021-03-30] [14:22:12:666] [6476:000003ec] [ERROR][wayk_rust::den::utils::ffi] - curl internal error: Body(ErrorResponseBody { typ: "/wayk/problems/internal-server-error", title: "Internal server error", status: 500, detail: "An error happened during the process. Please see server logs for more information.", invalid_params: None })
[2021-03-30] [14:22:12:666] [6476:000003ec] [ERROR][wayk_rust::utils] - den error: Internal
[2021-03-30] [14:22:12:666] [6476:000003ec] [WARN][NowDen] - NowDenSession_InitiateV3_c failed: INTERNAL
[2021-03-30] [14:22:12:682] [6476:000027b4] [DEBUG][NowSharee] - NowSharee_SetSessionId: 00000000-0000-0000-0000-000000000000
[2021-03-30] [14:22:12:682] [6476:000027b4] [INFO][NowApp] - current outgoing connections (0) lifetime connections (0 out) (0 in)
after checking the logs on the waykbastion, that isnt very helpful either?
all logs are empty apart from 2 (mytraefik container and den-server container)
my traefik container just simplys forwards the https/wss to dev-traefik which is also traefik ironically
my traefik docker logs:
111.111.111.111 - - [30/Mar/2021:13:22:12 +0000] "POST /wayk/message HTTP/1.1" 500 186 "-" "-" 5378 "waykden-https@file" "http://den-traefik:4000/" 19ms
den-server logs below:
2021-03-30T13:22:05.539346899+00:00 INFO den_server::http::middlewares::log - GET /health 200 OK (id=35c642fd-dcc4-44b8-abb1-28bacbc2aed6, User-Agent=curl/7.64.0, Duration_ms=65)
2021-03-30T13:22:11.295770148+00:00 INFO den_server::http::middlewares::log - POST /wayk/resolve 200 OK (id=489bf344-0118-404e-86a6-ef2ce0ceba9c, User-Agent=WaykNow/2021.1.0 (Windows; Windows 10 Pro 2004), Client-Ip=111.111.111.111, 172.18.0.2, Duration_ms=26)
2021-03-30T13:22:11.389964933+00:00 INFO den_server::http::middlewares::log - GET /health 200 OK (id=7cb0522c-4f9c-410e-8147-da917e36ea4c, User-Agent=curl/7.64.0, Duration_ms=26)
2021-03-30T13:22:12.319588228+00:00 INFO __USER__ - Session initiated between 3dc8c890-acaa-0c62-ca18-60cfd41f7f28 and efa0ffe4-1a65-7620-d6c7-8d29089dfd14.
2021-03-30T13:22:12.328370760+00:00 INFO den_server::http::middlewares::log - POST /session 200 OK (id=c1d33940-201b-4cad-aafb-8bd576878070, Den-Version=3, User-Agent=WaykNow/2021.1.0 (Windows; Windows 10 Pro 2004), Client-Ip=111.111.111.111, 172.18.0.2, Duration_ms=135)
2021-03-30T13:22:12.415235682+00:00 ERROR den_server::http::error_code - cow call failed: IO error: Broken pipe (os error 32)
2021-03-30T13:22:12.415360053+00:00 INFO den_server::http::middlewares::log - POST /wayk/message 500 Internal Server Error (id=2a5a1522-8b54-4510-80f5-c9fbd5fcc65b, Den-Version=3, User-Agent=WaykNow/2021.1.0 (Windows; Windows 10 Pro 2004), Client-Ip=111.111.111.111, 172.18.0.2, Duration_ms=10)
2021-03-30T13:22:17.378979520+00:00 INFO den_server::http::middlewares::log - GET /health 200 OK (id=abc1af4c-b109-4a54-8ebc-fbc753428d23, User-Agent=curl/7.64.0, Duration_ms=64)
THE ONLY WAY OF FIXING THIS IS TO RESTART WAYKBASTION ITSELF
sudo pwsh -c Restart-WaykBastion
i havent restarted the machine yet if you require anymore logs but its driving me insane at the moment!
Regards
Simon