Relay rejects host names, so a changing iMotions IP can't be entered as a name
Los mantenedores suelen responder en 4 días
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- networking
Línea de trabajo
Start with State::validate_tcp_addr in relay/src/state.rs and check how its result is used when connecting; the issue proposes resolving host:port with ToSocketAddrs. Confirm the client's network need first, since the issue says it is unverified and asks for triage. Done means host names and IPs are accepted, while unresolved names and missing or out-of-range ports produce clear errors.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
State::validate_tcp_addr (relay/src/state.rs) parses the address as a SocketAddr, so only a literal IP and port are accepted. localhost:9999 and a machine name such as IMOTIONS-PC:<port> are rejected. The README documents this ("localhost:9999 is rejected"), but it may be a problem in the client's lab. Her simulator and iMotions run on different machines (the plugin runs on the simulator machine, iMotions on its own computer), so the relay needs the iMotions computer's network address. If that address comes from DHCP it can change between sessions, and the saved-address dropdown would then hold a stale entry.
Describe the solution you'd like
Accept host:port where host is a name or an IP, resolving it at connect time (ToSocketAddrs), and keep a clear error for a name that does not resolve or a port that is missing or out of range.
Describe alternatives you've considered
Keep literal IPs only and ask the lab to give the iMotions machine a fixed IP. That costs nothing in code but needs the lab's IT. It is worth asking the client before building this.
Additional context
Not confirmed as a real need: we don't know how the lab's network is set up, so this is needs-triage until the client answers whether the iMotions machine has a fixed IP. Related: #195 (which port iMotions listens on) and #139 (saved addresses, closed).
- Lenguaje dominante
- Rust
- Estrellas
- 4
- Forks
- 9
- Merge medio
- 5 d 13 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de oss-slu/PilotDataSynchronization
-
Connect TCP with an invalid address is silent in the event logPosiblemente ocupada @PRINCEKK122 la tomó hace 12 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
oss-slu/PilotDataSynchronization#241 ·
Los mantenedores suelen responder en 4 días
-
cluster_pilots.py shows a traceback for a bad --k and leaves outputs when --truth is invalidAbiertoarea:ml bug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
oss-slu/PilotDataSynchronization#232 ·
Los mantenedores suelen responder en 4 días
-
area:docs area:xplane-plugin documentation ready-for-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
oss-slu/PilotDataSynchronization#194 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
No CI builds or tests the Rust cratesPosiblemente ocupada @PRINCEKK122 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
oss-slu/PilotDataSynchronization#252 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
oss-slu/PilotDataSynchronization#251 ·
Los mantenedores suelen responder en 4 días
Todos los issues de oss-slu/PilotDataSynchronization
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
dekobon/big-code-analysis#1729 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
-
Cline: allowlist capture drops every event because the capture gate ignores `workspaceRoots`Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
akitaonrails/ai-memory#1888 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
peteonrails/voxtype#941 ·
Los mantenedores suelen responder en 4 días
-
bug priority:medium triage:maintainable
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ccusage/ccusage#2000 · 3 comentarios ·
Los mantenedores suelen responder en 1 día