issues Search Results · repo:coder/websocket language:Go
Filter by
318 results
(77 ms)318 results
incoder/websocket (press backspace or delete to remove)I have a Goroutine on my server that should return if the connection is closed. How can I know if it was closed? Is
there a channel that is closed when that happens or something similar? I d like to write ...
matheuscscp
- 10
- Opened 15 days ago
- #533
link #516 maybe relevant
when I do go install -x github.com/coder/websocket@v1.8.7 I got this error
root@ab187ccca348:/go/test# go install -x github.com/coder/websocket@v1.8.7
go: warning: ignoring go.mod ...
89ao
- 3
- Opened on May 28
- #530
The package supports to automatically perform an Origin header check via OriginPatterns. However, these origin patterns
are only checked against the Origin header Host component (see
https://github.com/coder/websocket/blob/efb626be44240d7979b57427265d9b6402166b96/accept.go#L244). ...
timofurrer
- 2
- Opened on Apr 28
- #529
When websocket.Dial fails, my app wants to take differents actions depending on the HTTP status code, and ideally the
body too. Is there any chance of modifying Dial to return this information, or perhaps ...
anderspitman
- Opened on Apr 18
- #528
Somewhere between v1.8.10 and v1.8.11 (probably b0ec2015), Websockets stopped working on Chrome (android) with the
following error:
WebSocket connection to wss://[...] failed: Close received after close ...
Adphi
- 5
- Opened on Apr 5
- #527
I believe what I am looking for is similar to JavaScripts websocket, rejectUnathorized : true.
new WebSocket(host, { headers, ca, timeout, rejectUnauthorized: false })
This would allow the websocket ...
Fish1
- 1
- Opened on Feb 26
- #521
What does this error mean?
You can read the context log of this issue at https://github.com/switchupcb/disgo/issues/81.
Here is the code involved.
{ level : info , time : 2025-02-25T11:15:50.047882793Z ...
switchupcb
- 1
- Opened on Feb 25
- #520
What is the error type of this error so I can ignore it?
Here is an example of an error type within this library.
closeErr := new(websocket.CloseError)
if errors.As(err, closeErr) {
...
}
websocket.CloseError ...
switchupcb
- 2
- Opened on Feb 20
- #519
The problem
It looks like that by default the library uses the default HTTPClient:
https://github.com/coder/websocket/blob/d1468a75eee5525d183123766fbf288dca1eed9b/dial.go#L76-L103
And the default HTTP ...
WofWca
- Opened on Feb 7
- #518
[kpachhai@kpwarmachine ~/repos/github.com/nuklai/nuklai] $ go clean -modcache
[kpachhai@kpwarmachine ~/repos/github.com/nuklai/nuklai] $ go version
go version go1.22.7 linux/amd64
[kpachhai@kpwarmachine ...
kpachhai
- 1
- Opened on Jan 31
- #516

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.