Stopping streaming from moonlight android app sometimes prevent any moonlight client from access sunshine further
Is there an existing issue for this?
- [x] I have searched the existing issues
Is your issue described in the documentation?
- [x] I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Sometimes I stopped streaming the default app "desktop" on moonlight android app and it toasted "read timeout", then I found i can't access sunshine anymore, even on different device.
I'm not certain that if it's a bug with sunshine but everytime I encounter this a rebooting of sunshine always fixes the issue so I report it here.
Expected Behavior
stopping streaming would not prevent further connection.
Additional Context
There're some behaviors on sunshine/moonlight I noticed during the issue:
- longpress the computer on moonlight, test button says moonlight can connect, but it showed as offline in the list
- each moonlight are the same, of different devices
- remove computer from android moonlight and add it again on host sunshine would produce a toast on android of "unexpected end of streamxxxxxx" (the msg is too long so it get truncated)
- after restarting sunshine everything went back to normal
the android moonlight app version: 12.1
Host Operating System
Windows
Operating System Version
Windows10 22H2 19045.6093
Architecture
amd64/x86_64
Sunshine commit or version
2025.730.31216
Package
Windows - installer (recommended)
GPU Type
NVIDIA
GPU Model
NVIDIA GeForce GTX 1080 Ti
GPU Driver/Mesa Version
576.02
Capture Method
None
Config
wan_encryption_mode = 2
lan_encryption_mode = 2
origin_web_ui_allowed = pc
locale = zh
Apps
Relevant log output
[2025-07-30 17:39:42.457]: Info: Sunshine version: 2025.730.31216 commit: b3ee60d422c360b803f85a4031498641207f4f16
[2025-07-30 17:39:42.457]: Info: Package Publisher: LizardByte
[2025-07-30 17:39:42.457]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-07-30 17:39:42.457]: Info: Get support: https://app.lizardbyte.dev/support
[2025-07-30 17:39:42.457]: Info: config: 'wan_encryption_mode' = 2
[2025-07-30 17:39:42.457]: Info: config: 'lan_encryption_mode' = 2
[2025-07-30 17:39:42.457]: Info: config: 'origin_web_ui_allowed' = pc
[2025-07-30 17:39:42.457]: Info: config: 'locale' = zh
[2025-07-30 17:39:42.458]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2025-07-30 17:39:42.462]: Info: Currently available display devices:
[
{
"device_id": "{b6797249-ab25-507e-a28e-094a862ee8db}",
"display_name": "\\\\.\\DISPLAY1",
"edid": {
"manufacturer_id": "HXM",
"product_code": "2700",
"serial_number": 16843009
},
"friendly_name": "MD270Q",
"info": {
"hdr_state": "Disabled",
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1000,
"numerator": 59951
}
},
"resolution": {
"height": 1440,
"width": 2560
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 100
}
}
}
}
]
[2025-07-30 17:39:42.712]: Info: nvprefs: No need to modify application profile settings
[2025-07-30 17:39:42.712]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-07-30 17:39:42.767]: Info: Compiling shaders...
[2025-07-30 17:39:42.879]: Info: Compiled shaders
[2025-07-30 17:39:42.909]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-07-30 17:39:42.909]: Info: Trying encoder [nvenc]
[2025-07-30 17:39:42.993]: Info: System tray created
[2025-07-30 17:39:43.319]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:39:43.319]: Info: Active GPU has HAGS disabled
[2025-07-30 17:39:43.319]: Info: Using realtime GPU priority
[2025-07-30 17:39:43.319]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:39:43.324]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:39:43.324]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:39:43.324]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:39:43.324]: Info: Requested frame rate [60fps]
[2025-07-30 17:39:43.325]: Info: Creating encoder [h264_nvenc]
[2025-07-30 17:39:43.325]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:39:43.325]: Info: Color depth: 8-bit
[2025-07-30 17:39:43.325]: Info: Color range: JPEG
[2025-07-30 17:39:43.413]: Info: NvEnc: created encoder H.264 P1 async two-pass
[2025-07-30 17:39:43.448]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:39:43.448]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:39:43.448]: Info: Color depth: 8-bit
[2025-07-30 17:39:43.448]: Info: Color range: JPEG
[2025-07-30 17:39:43.532]: Info: NvEnc: created encoder HEVC P1 async two-pass
[2025-07-30 17:39:43.568]: Info: Creating encoder [av1_nvenc]
[2025-07-30 17:39:43.568]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:39:43.568]: Info: Color depth: 8-bit
[2025-07-30 17:39:43.568]: Info: Color range: JPEG
[2025-07-30 17:39:43.594]: Error: NvEnc: encoding format is not supported by the gpu
[2025-07-30 17:39:43.594]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2025-07-30 17:39:43.603]: Info: Creating encoder [h264_nvenc]
[2025-07-30 17:39:43.603]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:39:43.603]: Info: Color depth: 8-bit
[2025-07-30 17:39:43.603]: Info: Color range: JPEG
[2025-07-30 17:39:43.688]: Info: NvEnc: created encoder H.264 P1 async yuv444 two-pass
[2025-07-30 17:39:44.059]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:39:44.059]: Info: Active GPU has HAGS disabled
[2025-07-30 17:39:44.059]: Info: Using realtime GPU priority
[2025-07-30 17:39:44.059]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:39:44.065]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:39:44.065]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:39:44.065]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:39:44.065]: Info: Requested frame rate [60fps]
[2025-07-30 17:39:44.065]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:39:44.065]: Info: Color coding: SDR (Rec. 709)
[2025-07-30 17:39:44.065]: Info: Color depth: 10-bit
[2025-07-30 17:39:44.065]: Info: Color range: JPEG
[2025-07-30 17:39:44.251]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit two-pass
[2025-07-30 17:39:44.324]: Info:
[2025-07-30 17:39:44.325]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-07-30 17:39:44.325]: Info:
[2025-07-30 17:39:44.325]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-07-30 17:39:44.325]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-07-30 17:39:44.331]: Info: Configuration UI available at [https://localhost:47990]
[2025-07-30 17:39:45.107]: Info: Registered Sunshine mDNS service
[2025-07-30 17:40:33.430]: Info: Encoder reenumeration is required
[2025-07-30 17:40:33.430]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-07-30 17:40:33.430]: Info: Trying encoder [nvenc]
[2025-07-30 17:40:33.709]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:40:33.710]: Info: Active GPU has HAGS disabled
[2025-07-30 17:40:33.710]: Info: Using realtime GPU priority
[2025-07-30 17:40:33.710]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:40:33.714]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:40:33.714]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:40:33.714]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:40:33.714]: Info: Requested frame rate [60fps]
[2025-07-30 17:40:33.715]: Info: Creating encoder [h264_nvenc]
[2025-07-30 17:40:33.715]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:40:33.715]: Info: Color depth: 8-bit
[2025-07-30 17:40:33.715]: Info: Color range: JPEG
[2025-07-30 17:40:33.797]: Info: NvEnc: created encoder H.264 P1 async two-pass
[2025-07-30 17:40:33.830]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:40:33.830]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:40:33.830]: Info: Color depth: 8-bit
[2025-07-30 17:40:33.830]: Info: Color range: JPEG
[2025-07-30 17:40:33.907]: Info: NvEnc: created encoder HEVC P1 async two-pass
[2025-07-30 17:40:33.939]: Info: Creating encoder [av1_nvenc]
[2025-07-30 17:40:33.939]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:40:33.939]: Info: Color depth: 8-bit
[2025-07-30 17:40:33.939]: Info: Color range: JPEG
[2025-07-30 17:40:33.964]: Error: NvEnc: encoding format is not supported by the gpu
[2025-07-30 17:40:33.964]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2025-07-30 17:40:33.972]: Info: Creating encoder [h264_nvenc]
[2025-07-30 17:40:33.972]: Info: Color coding: SDR (Rec. 601)
[2025-07-30 17:40:33.972]: Info: Color depth: 8-bit
[2025-07-30 17:40:33.972]: Info: Color range: JPEG
[2025-07-30 17:40:34.049]: Info: NvEnc: created encoder H.264 P1 async yuv444 two-pass
[2025-07-30 17:40:34.383]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:40:34.383]: Info: Active GPU has HAGS disabled
[2025-07-30 17:40:34.383]: Info: Using realtime GPU priority
[2025-07-30 17:40:34.383]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:40:34.388]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:40:34.388]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:40:34.388]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:40:34.388]: Info: Requested frame rate [60fps]
[2025-07-30 17:40:34.388]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:40:34.388]: Info: Color coding: SDR (Rec. 709)
[2025-07-30 17:40:34.388]: Info: Color depth: 10-bit
[2025-07-30 17:40:34.388]: Info: Color range: JPEG
[2025-07-30 17:40:34.531]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit two-pass
[2025-07-30 17:40:34.601]: Info:
[2025-07-30 17:40:34.601]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-07-30 17:40:34.601]: Info:
[2025-07-30 17:40:34.601]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-07-30 17:40:34.601]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-07-30 17:40:34.601]: Info: Executing [Desktop]
[2025-07-30 17:40:34.702]: Info: Video encryption enabled
[2025-07-30 17:40:34.702]: Info: New streaming session started [active sessions: 1]
[2025-07-30 17:40:34.928]: Info: nvprefs: No need to modify application profile settings
[2025-07-30 17:40:34.929]: Info: nvprefs: No need to modify global profile settings
[2025-07-30 17:40:34.993]: Info: CLIENT CONNECTED
[2025-07-30 17:40:35.199]: Info: Virtual audio device will use 16-bit to match default device
[2025-07-30 17:40:35.227]: Info: Changed virtual audio sink format to [S16 48000 2.0]
[2025-07-30 17:40:35.375]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2025-07-30 17:40:35.380]: Info: Audio capture format is [F32 48000 2.0]
[2025-07-30 17:40:35.381]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2025-07-30 17:40:35.543]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:40:35.544]: Info: Active GPU has HAGS disabled
[2025-07-30 17:40:35.544]: Info: Using realtime GPU priority
[2025-07-30 17:40:35.544]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:40:35.549]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:40:35.549]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:40:35.549]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:40:35.549]: Info: Requested frame rate [30fps]
[2025-07-30 17:40:35.549]: Info: Adjusted capture rate to 29.9755fps to better match display
[2025-07-30 17:40:35.549]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:40:35.549]: Info: Color coding: SDR (Rec. 709)
[2025-07-30 17:40:35.549]: Info: Color depth: 8-bit
[2025-07-30 17:40:35.549]: Info: Color range: MPEG
[2025-07-30 17:40:35.584]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:40:35.633]: Info: NvEnc: created encoder HEVC P1 async two-pass
[2025-07-30 17:40:35.634]: Info: Minimum FPS target set to ~15fps (66.6667ms)
[2025-07-30 17:40:43.551]: Info: CLIENT DISCONNECTED
[2025-07-30 17:40:43.563]: Info: Starting async encoder teardown
[2025-07-30 17:40:43.605]: Info: Async encoder teardown complete
[2025-07-30 17:41:08.089]: Info: Executing: [C:\Users\Eric\opt\griefsyndrome\griefsyndrome.exe] in ["C:\Users\Eric\opt\griefsyndrome"]
[2025-07-30 17:41:08.117]: Info: C:\Users\Eric\opt\griefsyndrome\griefsyndrome.exe running with PID 17044
[2025-07-30 17:41:08.234]: Info: Video encryption enabled
[2025-07-30 17:41:08.234]: Info: New streaming session started [active sessions: 1]
[2025-07-30 17:41:08.445]: Info: nvprefs: No need to modify application profile settings
[2025-07-30 17:41:08.445]: Info: nvprefs: No need to modify global profile settings
[2025-07-30 17:41:08.552]: Info: CLIENT CONNECTED
[2025-07-30 17:41:08.703]: Info: Virtual audio device will use 16-bit to match default device
[2025-07-30 17:41:08.731]: Info: Changed virtual audio sink format to [S16 48000 2.0]
[2025-07-30 17:41:08.886]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2025-07-30 17:41:08.890]: Info: Audio capture format is [F32 48000 2.0]
[2025-07-30 17:41:08.891]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2025-07-30 17:41:09.108]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:41:09.108]: Info: Active GPU has HAGS disabled
[2025-07-30 17:41:09.108]: Info: Using realtime GPU priority
[2025-07-30 17:41:09.108]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:41:09.113]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:41:09.113]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:41:09.113]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:41:09.113]: Info: Requested frame rate [30fps]
[2025-07-30 17:41:09.113]: Info: Adjusted capture rate to 29.9755fps to better match display
[2025-07-30 17:41:09.113]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:41:09.113]: Info: Color coding: SDR (Rec. 709)
[2025-07-30 17:41:09.113]: Info: Color depth: 8-bit
[2025-07-30 17:41:09.113]: Info: Color range: MPEG
[2025-07-30 17:41:09.148]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:41:09.205]: Info: NvEnc: created encoder HEVC P1 async two-pass
[2025-07-30 17:41:09.206]: Info: Minimum FPS target set to ~15fps (66.6667ms)
[2025-07-30 17:41:32.640]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2025-07-30 17:42:02.937]: Info: CLIENT DISCONNECTED
[2025-07-30 17:42:02.959]: Info: Starting async encoder teardown
[2025-07-30 17:42:02.998]: Info: Async encoder teardown complete
[2025-07-30 17:44:54.512]: Info: Successfully requested the app to exit. Waiting up to 5 seconds for it to close.
[2025-07-30 17:44:55.512]: Info: All app processes have successfully exited.
[2025-07-30 17:44:55.983]: Info: Executing [Desktop]
[2025-07-30 17:44:57.454]: Info: Video encryption enabled
[2025-07-30 17:44:57.454]: Info: New streaming session started [active sessions: 1]
[2025-07-30 17:44:57.680]: Info: nvprefs: No need to modify application profile settings
[2025-07-30 17:44:57.680]: Info: nvprefs: No need to modify global profile settings
[2025-07-30 17:44:57.806]: Info: Virtual audio device will use 16-bit to match default device
[2025-07-30 17:44:57.835]: Info: Changed virtual audio sink format to [S16 48000 2.0]
[2025-07-30 17:44:57.990]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2025-07-30 17:44:57.994]: Info: Audio capture format is [F32 48000 2.0]
[2025-07-30 17:44:58.008]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2025-07-30 17:44:58.008]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.008]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.041]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.051]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.060]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.070]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.070]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.070]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.081]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.090]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.101]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.110]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.110]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.110]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.120]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.130]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.141]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.150]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.151]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.151]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.161]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.170]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.180]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.201]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.211]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.220]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.230]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.230]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.231]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.240]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.250]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.260]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.270]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.270]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.270]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.280]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.290]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.300]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.310]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.310]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.311]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.320]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.330]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.340]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.350]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.350]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.350]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.361]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.371]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.381]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.390]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.391]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.391]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.401]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.411]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.420]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.431]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.431]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.431]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.440]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.450]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.460]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.470]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.471]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.471]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.481]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.491]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.501]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.511]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.511]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.511]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.521]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.531]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.541]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.551]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.551]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.551]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.560]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.570]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.580]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.591]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.591]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.591]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.601]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.611]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.621]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.631]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.631]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.631]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.640]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.651]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.661]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.671]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.671]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.671]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.681]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.691]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.701]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.711]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.711]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.711]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.720]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.730]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.740]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.751]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.751]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.751]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.761]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.771]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.781]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.791]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.791]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.791]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.801]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.810]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.820]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.830]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.830]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.830]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.841]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.851]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.860]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.870]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.870]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.870]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.880]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.890]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.900]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.911]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.911]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.911]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.920]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.930]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.941]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.951]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.951]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.951]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.961]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.971]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.981]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.991]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.991]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:58.991]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.001]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.011]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.021]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.031]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.041]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.051]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.061]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.071]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.071]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.071]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.081]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.091]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.101]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.111]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.111]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.111]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.121]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.131]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.141]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.151]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.151]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.151]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.161]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.171]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.181]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.191]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.201]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.211]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.221]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.231]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.231]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.231]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.241]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.251]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.261]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.271]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.271]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.271]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.281]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.291]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.301]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.311]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.311]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.311]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.321]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.331]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.341]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.351]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.351]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.351]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.361]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.370]: Info:
Device Description : NVIDIA GeForce GTX 1080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001B06
Device Video Mem : 11106 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16360 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2025-07-30 17:44:59.370]: Info: Active GPU has HAGS disabled
[2025-07-30 17:44:59.370]: Info: Using realtime GPU priority
[2025-07-30 17:44:59.370]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0 nits
Max Luminance : 417.712 nits
Max Full Luminance : 417.712 nits
[2025-07-30 17:44:59.371]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.374]: Info: Desktop resolution [2560x1440]
[2025-07-30 17:44:59.374]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:44:59.374]: Info: Display refresh rate [59.951Hz]
[2025-07-30 17:44:59.374]: Info: Requested frame rate [30fps]
[2025-07-30 17:44:59.375]: Info: Creating encoder [hevc_nvenc]
[2025-07-30 17:44:59.375]: Info: Adjusted capture rate to 29.9755fps to better match display
[2025-07-30 17:44:59.375]: Info: Color coding: SDR (Rec. 709)
[2025-07-30 17:44:59.375]: Info: Color depth: 8-bit
[2025-07-30 17:44:59.375]: Info: Color range: MPEG
[2025-07-30 17:44:59.381]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.384]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-07-30 17:44:59.391]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.391]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.391]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.401]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.411]: Warning: WSASendMsg() failed: 10022
[2025-07-30 17:44:59.420]: Info: CLIENT CONNECTED
[2025-07-30 17:44:59.458]: Info: NvEnc: created encoder HEVC P1 async two-pass
[2025-07-30 17:44:59.458]: Info: Minimum FPS target set to ~15fps (66.6667ms)
[2025-07-30 17:45:05.980]: Info: CLIENT DISCONNECTED
[2025-07-30 17:45:05.992]: Info: Starting async encoder teardown
[2025-07-30 17:45:06.033]: Info: Async encoder teardown complete
[2025-07-30 19:14:06.910]: Info: Opening UI from system tray
[2025-07-30 19:14:06.933]: Info: Resolved user-provided command 'https://localhost:47990' to '"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "https://localhost:47990"'
[2025-07-30 19:14:06.945]: Info: https://localhost:47990 running with PID 16376
[2025-07-30 19:14:06.946]: Info: Opened url [https://localhost:47990]
and it's strange I think I never started griefsyndrome, but the log said so.
I've had the same issue, I believe this may be correlated: https://github.com/LizardByte/Sunshine/issues/3887 . I have the moonlight client for android, the Switch (handheld) homebrew application, and windows clients on both my PC and laptop, On the latest release, if any one device is connected, or I forget/fail to terminate the session, I lose the ability for additional devices to join, forcing me to: -physically be at my machine, -utilize other services like parsec, -or run a script to detect 'idleness' to restart the sunshine service.
I think this is related to the implementation of removing session (channel?) limits, I believe every (common, non-beta) existing client sees my device as having '1-session/channel' to connect to at a time, though the version 'v2025.118.151840', being the version i downgraded to to test, seems to still permit some cases of multiple sessions, I definitely noticed this locking-up behavior on latest.
Nothing really to add other than I have this issue as well. I wasn't exactly sure what was causing it 'till I saw this. I thought the service was crashing or something lol.
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
Running Sunshine Host on v2025.1027.181930, as a windows service. I can't test with another PC client atm. Formerly tested with a variable of 'channels = 3', but since this feature was deprecated in favor of unlimited channels (if it worked), I presumed it did nothing if not be a source of confusion in reporting this issue, so it's omitted from the second log. In the second log (07_20;21.log), I do the following:
1: join with phone client (Moonlight v12.1 android) (success) 2: leave with phone client 3: join with phone client again (success) 4: leave with phone client again, and quit session 5: join with phone client again (success)
I start using the switch client here, which I'll mention is outdated, & not exactly the issue with this repository, yet the result behavior from this host w/ clients older by relative weeks to months (could be 3DS moonlight client), is unfavorable when the issue persists for most of a year (not to pick nits) ~~I presume it to be up-to-date and not updated as often,~~*** there are few options in this case for switch homebrew
6: join with switch client (Moonlight-Switch v1.2.3 by XITRIX) (success) 7: leave with switch client (terminate connection) (terminate connection = quit session?, doesn't seem to differentiate from disconnecting)
8: ~~my phone no longer detects my host as 'online', prohibiting me from joining.~~ -but then does become 'online' again, after a few minutes, maybe hiccup
9: despite terminating the session from the Switch after disconnecting, and sunshine reporting both that: -the session was paused -the session was quit,
I remain unable to join with my phone, while my switch is still able to join.
It seems like older clients (relative to host) which connect, influence the status of the windows service, possibly making it un-joinable by relatively newer clients, or there's discrepancy in how some clients deal without a reported 'channel' (session) limit.
***I found an update for Moonlight-Switch by XITRIX, v1.3.4 from last month, in the repeated instances of me trying to recreate the scenario, the issue no longer occurs. Tho I'm not positive the issue is totally resolved in all cases. I haven't ruled out PC client connection misbehavior, if from v6.1.0.
My logs might be useless, I'll try re-testing with diff settings if necessary. I acknowledge the first log file here is probably useless, and I only switched to 'debug' for the second log, which has spam.