virtualhid license check runs only once at startup and is never retried when the network is not up yet

Abierto
#6,035 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
devtools

Línea de trabajo

The license check is tied to Sunshine's startup and the Web UI troubleshooting refresh, which the payload does not name by file. Start by finding where the virtualhid license validation runs at startup and where the Web UI refresh calls into it. Done would mean a failed check caused by network unavailability is retried in the background or on client connect, while a truly invalid license still disables gamepads. Expect a design decision on retry policy before coding.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is there an existing issue for this?
  • I have searched the existing issues
Is your issue described in the documentation?
  • I have read the documentation
Is your issue present in the latest beta/pre-release?

I'm too lazy to test

Describe the Bug

Sunshine validates the virtualhid (libvirtualhid) gamepad license only once, at startup.
When Sunshine starts at boot (as a service) before the network is available, the check
fails and every gamepad driver stays disabled for the whole session. The license is never
re-validated once the network comes up.

To get gamepads back I have to log in manually, open the Web UI
(Troubleshooting → virtualhid license) and refresh the validation, or restart the service.

Expected Behavior

Gamepads should work after a normal boot, without any manual action, as long as the
license is valid.

In particular:

  • A failed check caused by the license server being unreachable (no network, DNS not
    ready, timeout) should not be treated the same as a license that is actually invalid.
  • In that case Sunshine should retry the validation automatically: periodically in the
    background until it succeeds, and/or when a client connects.
Additional Context

No response

Host Operating System

Windows

Operating System Version

11

Architecture

amd64/x86_64

Package

Windows - msi installer (recommended)

GPU Type

AMD

GPU Model

9060 XT

GPU Driver/Mesa Version

26.10.1

Capture Method

No response

Apps

Log output

Online logs

No response

Lenguaje dominante
C++
Estrellas
43k
Forks
2.4k
Merge medio
1 d 6 h
PR fusionados (30 d)
106

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LizardByte/Sunshine

Todos los issues de LizardByte/Sunshine

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.