You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/10/20 07:58:59 UTC
[GitHub] [incubator-eventmesh] walterlife opened a new issue, #1674: [Bug] go-sdk publish error: connection closed before server preface received
walterlife opened a new issue, #1674:
URL: https://github.com/apache/incubator-eventmesh/issues/1674
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
### Environment
Linux
### EventMesh version
master
### What happened
When the golang sdk publish event is used, the sending will fail, because the grpc conn is used during initialization, and the pointer is passed in. At present, the logic has close logic externally, so publish event must fail.
<img width="783" alt="image" src="https://user-images.githubusercontent.com/8448852/196889412-85e43d45-edbd-493b-88f3-f2df9d4b9ff4.png">
### How to reproduce
remove the external grpc conn close logic.
currently there is close logic in eventMeshGRPCClient
<img width="890" alt="image" src="https://user-images.githubusercontent.com/8448852/196890730-5a1c6a10-c8dc-4a24-9884-ab8a204d0bcc.png">
### Debug logs
![image](https://user-images.githubusercontent.com/8448852/196888508-d457a533-2a63-46be-9ef8-135bd33d2fe1.png)
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org
[GitHub] [incubator-eventmesh] xwm1992 closed issue #1674: [Bug] go-sdk publish error: connection closed before server preface received
Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #1674: [Bug] go-sdk publish error: connection closed before server preface received
URL: https://github.com/apache/incubator-eventmesh/issues/1674
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org