Skip to content

Commit 7091b90

Browse files
authored
Merge pull request #404 from guggero/fix-alpn-error
loopd: fix ALPN issue with Python
2 parents e7ee29b + 5178cd1 commit 7091b90

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

loopd/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ func getTLSConfig(cfg *Config) (*tls.Config, *credentials.TransportCredentials,
319319
}
320320

321321
tlsCfg := cert.TLSConfFromCert(certData)
322+
tlsCfg.NextProtos = []string{"h2"}
322323
restCreds, err := credentials.NewClientTLSFromFile(
323324
cfg.TLSCertPath, "",
324325
)

release_notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ This file tracks release notes for the loop client.
1919
#### Breaking Changes
2020

2121
#### Bug Fixes
22+
- Certain versions of the Python gRPC library
23+
[weren't able to connect](https://github.com/grpc/grpc/issues/23172) to
24+
`loopd`'s gRPC interface, getting the `missing selected ALPN property` error.
25+
A server side fix was introduced to get rid of that error message.

0 commit comments

Comments
 (0)