Browse Source

Merge pull request #404 from guggero/fix-alpn-error

loopd: fix ALPN issue with Python
pull/408/head
Oliver Gugger 2 months ago
committed by GitHub
parent
commit
7091b90e95
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      loopd/config.go
  2. +4
    -0
      release_notes.md

+ 1
- 0
loopd/config.go View File

@ -319,6 +319,7 @@ func getTLSConfig(cfg *Config) (*tls.Config, *credentials.TransportCredentials,
}
tlsCfg := cert.TLSConfFromCert(certData)
tlsCfg.NextProtos = []string{"h2"}
restCreds, err := credentials.NewClientTLSFromFile(
cfg.TLSCertPath, "",
)

+ 4
- 0
release_notes.md View File

@ -19,3 +19,7 @@ This file tracks release notes for the loop client.
#### Breaking Changes
#### Bug Fixes
- Certain versions of the Python gRPC library
[weren't able to connect](https://github.com/grpc/grpc/issues/23172) to
`loopd`'s gRPC interface, getting the `missing selected ALPN property` error.
A server side fix was introduced to get rid of that error message.

Loading…
Cancel
Save