Skip to content
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

Crash, Speech example not functional iOS 10 / iPhone 7 - SSL? #8

Closed
jacobjennings opened this issue Dec 2, 2016 · 0 comments
Closed

Comments

@jacobjennings
Copy link

I got a crash on run that was fixed by changing this line in Channel.init
underlyingChannel = cgrpc_channel_create_secure(address, (s! as NSString).utf8String, host)

I got things compiled and running, but I'm getting empty response callbacks from receiveMessage in Call.swift

hardware sample rate = 16000.0, using specified rate = 16000
2016-12-02 09:13:53.244610 Speech[5314:1374671] [Accessibility] Got a keyboard will show notification, but keyboard was not on screen.
2016-12-02 09:13:53.263157 Speech[5314:1374671] [Accessibility] Got a keyboard will hide notification, but keyboard was not even present.
sending 5944 bytes of audio data
Received initial metadata -> date : Fri, 02 Dec 2016 17:13:54 GMT
Received initial metadata -> alt-svc : quic=":443"; ma=2592000; v="36,35,34"
Got a message
Got a message
Got a message
Got a message
Got a message
Got a message

The alt-svc metadata seems to suggest that we're not using port 443?

MrMage added a commit to Timing-GmbH/grpc-swift that referenced this issue Oct 16, 2018
Contains the following commits:
- Refactor gRPC decoding into dedicated codec classes.
- Start work on GRPCServerHandler.
- Add a "unary call handler" and use that for the tests.
- Refactoring starting a GRPC server into a dedicated class.
- Fix sending unary responses.
- Add a handler for client-streaming calls.
- Also implement bidirectional-streaming calls.
- Make sure to flush in server-streaming calls after each sent message.
- Add the missing test cases to `allTests`.
- Refactor `StatusSendingHandler` into its own class.
- Rename `GRPCServerHandler` to `GRPCChannelHandler`.
- Remove a FIXME.
- Add a few more comments.
- Attach the actual call handlers as channel handlers instead of manually forwarding messages to them.

# This is the commit message grpc#2:

Remove SwiftGRPCNIO's dependency on SwiftGRPC and move the responsibility for encoding GRPC statuses to HTTP1ToRawGRPCServerCoded.

# This is the commit message grpc#3:

Temporarily disable two test cases that are failing at the moment.

# This is the commit message grpc#4:

Add SwiftGRPCNIO as an exposed library.

# This is the commit message grpc#5:

Another try at getting CI to work with SwiftGRPCNIO.

# This is the commit message grpc#6:

More dependency fixes.

# This is the commit message grpc#7:

Add `SwiftGRPCNIO.EchoServerTests` to LinuxMain.swift.

# This is the commit message grpc#8:

Fix a string comparison in `.travis-install.sh`.

# This is the commit message grpc#9:

Add nghttp2 to the list of CI dependencies.

# This is the commit message grpc#10:

Another try with installing nghttp2 via brew.

# This is the commit message grpc#11:

Another try at using libnghttp2-dev under Ubuntu 14.04.

# This is the commit message grpc#12:

More Travis fixes.

# This is the commit message grpc#13:

One last try.

# This is the commit message grpc#2:

Disable two more tests for now, as they sometimes fail on CI.

# This is the commit message grpc#3:

Make Carthage debug builds verbose.

# This is the commit message grpc#4:

Only use SwiftGRPC-Carthage.xcodeproj for Carthage builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant