The WebSocket request or response contained unsupported header(s).
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- csharp, unity
- Ambito
- game-dev, networking
Direzione di ricerca
Inizia individuando l'inizializzazione del client TLS e WebSocket di NativeWebSocket, quindi riproduci la connessione wss usando Unity 2020.3.2f1. Confronta la configurazione del plugin con l'impostazione segnalata SslConfiguration.EnabledSslProtocols = SslProtocolsExtensions.Tls12. Il lavoro è completato quando l'handshake wss riesce senza l'errore unsupported-header e la connessione ws continua a funzionare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello there!
I'm using this plugin for my project, and then I get errors when using 'ws' and 'wss'.
When I use ws , the socket is stable and working. But when I change it to wss , socket gives response error like this

Error : The WebSocket request or response contains an unsupported header.
Close : Abnormal
is there something wrong with the socket ? or something wrong with my wss server ?
i dont know how to fix this, because i cant get more log for this error.
Thank you !
[edit]
Im using Unity 2020.3.2f1 free
And im already check another plugin, and its work when add this on another plugin code
ws.SslConfiguration.EnabledSslProtocols = SslProtocolsExtensions.Tls12
But how to place this code to this plugin ?
- Lingua principale
- C#
- Stelle
- 1.7k
- Fork
- 206
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di endel/NativeWebSocket
-
Open UPM compatibility Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
endel/NativeWebSocket#107 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
endel/NativeWebSocket#102 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
endel/NativeWebSocket#101 · 6 commenti · 2 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
endel/NativeWebSocket#95 · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
endel/NativeWebSocket#94 · 2 commenti ·
Tutte le issue di endel/NativeWebSocket
Issue simili
-
[Feat] 조합 영역 구분선 개선 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
type/automation type/tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
t/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
ci-failure-cause test-failure
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100