-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
websocket: Unable to hijack the connection #1315
Comments
I see this problem as well after upgrading to 1.2 from 1.1.2 |
Could give a try without retry and then without circuit breaker ? |
I have none of those enabled if I understand things correctly.. I just have a single back end (the latest offifical pre build mattermost prod docker images) configured via docker compose. Retry or Compress are not mentioned in my traefik toml config file. The status page says: 'Load Balancer: wrr' The labels inside my docker-compose-file:
|
That's my results without any circuitbreaker and retry is not mentioned in my config. |
I also encounter this error systematically, causing a 500 error on websockets. What version of Traefik are you using?
What is your environment & configuration (arguments, toml...)?{
"GraceTimeOut": 10,
"Debug": false,
"CheckNewVersion": true,
"AccessLogsFile": "",
"TraefikLogsFile": "",
"LogLevel": "ERROR",
"EntryPoints": {
"http": {
"Network": "",
"Address": ":80",
"TLS": null,
"Redirect": {
"EntryPoint": "https",
"Regex": "",
"Replacement": ""
},
"Auth": null,
"Compress": false
},
"https": {
"Network": "",
"Address": ":443",
"TLS": {
"MinVersion": "",
"CipherSuites": null,
"Certificates": [
{
"CertFile": "-----BEGIN CERTIFICATE-----[...]-----END CERTIFICATE-----",
"KeyFile": "-----BEGIN PRIVATE KEY-----[...]-----END PRIVATE KEY-----"
}
],
"ClientCAFiles": null
},
"Redirect": null,
"Auth": null,
"Compress": false
}
},
"Cluster": null,
"Constraints": [],
"ACME": null,
"DefaultEntryPoints": [
"http",
"https"
],
"ProvidersThrottleDuration": 2000000000,
"MaxIdleConnsPerHost": 200,
"InsecureSkipVerify": false,
"Retry": null,
"Docker": null,
"File": null,
"Web": {
"Address": ":8080",
"CertFile": "",
"KeyFile": "",
"ReadOnly": false,
"Statistics": {
"RecentErrors": 50
},
"Metrics": null,
"Auth": {
"Basic": {
"Users": [
"[...]:[...]"
]
},
"Digest": null,
"HeaderField": ""
}
},
"Marathon": null,
"Consul": null,
"ConsulCatalog": null,
"Etcd": null,
"Zookeeper": null,
"Boltdb": null,
"Kubernetes": null,
"Mesos": null,
"Eureka": null,
"ECS": null,
"Rancher": {
"Watch": true,
"Filename": "",
"Constraints": null,
"Endpoint": "",
"AccessKey": "",
"SecretKey": "",
"ExposedByDefault": false,
"Domain": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"ConfigFile": "/etc/traefik/traefik.toml"
} |
Similar problem.
Using docker. I've got a container specifying a label https works fine, just the trouble with websockets. |
Try to turn off detailed statistics (subsection [web.statistics] in [web]). Unexpected, but it helped me. |
Unbelievable but true. Turning off the statistics fixes the error. Thank you, Ranger-X. |
I confirm too. WS are OK now. |
Hum, thanks for this investigation @Ranger-X.
|
I have the same problem, if i comment this two line like this :
The problem is resolved too. |
Closed by #1598 |
v1.2.0-rc2
v1.2.0
etcd backend on Debian box
Configuration (read from etcd):
The settings for proxiyng web sockets are fairly standard. I have studied thoroughly #452, so there are no:
ddr balancer (on this backend)
circuitbreaker (on this backend)
retry (globally)
compress (on entrypoint https)
But all log is filled with:
and all connections to frontend URL immediately return 500 without any attempts to call backend.
The text was updated successfully, but these errors were encountered: