I'm new with gRPC and use pod gRPC-Swift version 1.0.0-alpha.21. Sometimes I have an error in my response - error.localizedDescription is "The operation couldn’t be completed. (GRPC.GRPCStatus error 1.)", I've noticed that errorCode = 1 means "The…
I'm using grpc-swift and the ClientInterceptor to add an auth token to requests. I have implemented the delegate method for send as follows
override func send(_ part: GRPCClientRequestPart, promise: EventLoopPromise<()>?, context:…
I am using https://github.com/grpc/grpc-swift for inter-process communication. I have a GRPC server written in Go that listens on a unix domain socket, and a macOS app written in Swift that communicates with it over the socket.
Let's say the Go…
Let's say I have a .proto file located in /home/me/project/first/a.proto.
And another proto file located in /home/me/project/second/b.proto.
I want to be able to generate swift files from these proto.
b.proto uses an import as follows:
import…
I'm trying to build a gRPC client in React Native on iOS.
For context: React Native, which doesn't support gRPC directly, must call a custom Native Module from Swift, which makes the gRPC call and returns the value.
The gRPC server is a…
Our iOS app currently is using Google protobuffer gRPC as our API layer to communicate between App and backend. And so we have these .proto files in our backend directory which will be converting to .grpc.swift and .pb.swift files by…
I did a lot of research but could not find a solution for my problem with gRPC:
Summary;
After my swift gRPC client application crashes, no gRPC client can connect to my gRPC Server anymore (see errors below)
My Setup:
I have a Swift frontend…
I'm trying GRPC-Swift for Client-Server application.
I'm using GRPC-Swift for both Client and Server
Client is an iPhone application, which I tried with iPhone Simulator.
I followed this link for Client-side streaming RPC.
When I send message to…
I'm using gRPCs to communicate between the server and the client. I have a nodeJS server and a Swift client.
I used this article to build my Swift client but I'm unable to talk to my nodeJS server on localhost. I was wondering if someone had ways to…
We're using Swift Protobuf in a project that generates the message struct code (i.e. DTOs). It doesn't implement Codable and I'm trying to add Codable through an extension so that I can serialize them to disk when used inside a non-protobuf that…
I am using https://github.com/grpc/grpc-swift for inter-process communication. I have a GRPC server, and a iOS app written in Swift that communicates with it over the socket.
Let's say the Go server process is not running and I make an RPC call from…
I am trying to figure out what about my TLS handshake is failing. I am not exactly sure what this error code means. Can someone provide more context here?
2000-00-00T00:00:00-0000 error [[GRPC-LOGG]] :…
Currently working on a project that uses Swift-gRPC; which uses BoringSSL. I would like to know if it is possible to use a custom SSL Provider, such as OpenSSL.
I found this post that allows you to specify an SSL provider for the gRPC C++ library. I…
I am using grpc to communicate with the server. I create connection using
let channel = ClientConnection
.secure (group: MultiThreadedEventLoopGroup (numberOfThreads: 10))
.connect (host: "testHost.com", port:…