You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/21 02:42:37 UTC

[GitHub] [dubbo-go] rsaLive opened a new issue, #1984: 服务端获取不到客户端传的metadata数据

rsaLive opened a new issue, #1984:
URL: https://github.com/apache/dubbo-go/issues/1984

   问题背景:想用grpc的metadata传送token鉴权数据
   测试过程:我用纯grpc测试了 client发送,server接收是可以收到的。
   问题描述:同样的代码复制到dubbo-go 框架,server收不到数据。
   代码:
   client:
   ![image](https://user-images.githubusercontent.com/14867935/180118429-a93bcef9-aa46-49be-b1fe-7e92c957548d.png)
   server:
   ![image](https://user-images.githubusercontent.com/14867935/180118474-a3206d81-a866-4fe4-adb8-a2b3a9234ab2.png)
   疑问:请问该怎么修改?


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] rsaLive closed issue #1984: 服务端获取不到客户端传的metadata数据

Posted by GitBox <gi...@apache.org>.
rsaLive closed issue #1984: 服务端获取不到客户端传的metadata数据
URL: https://github.com/apache/dubbo-go/issues/1984


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] rsaLive commented on issue #1984: 服务端获取不到客户端传的metadata数据

Posted by GitBox <gi...@apache.org>.
rsaLive commented on issue #1984:
URL: https://github.com/apache/dubbo-go/issues/1984#issuecomment-1193051258

   问题已解决 用 AttachmentKey


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks commented on issue #1984: 服务端获取不到客户端传的metadata数据

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #1984:
URL: https://github.com/apache/dubbo-go/issues/1984#issuecomment-1193061369

   > 问题已解决 用 AttachmentKey
   
   那跟你上一条回复有冲突啊,AttachmentKey 是dubbogo 的东西。我们支持带上 attachment 的。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] zhaoyunxing92 commented on issue #1984: 服务端获取不到客户端传的metadata数据

Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 commented on issue #1984:
URL: https://github.com/apache/dubbo-go/issues/1984#issuecomment-1192607430

   可以下这个 https://github.com/apache/dubbo-go/issues/1410 


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] rsaLive commented on issue #1984: 服务端获取不到客户端传的metadata数据

Posted by GitBox <gi...@apache.org>.
rsaLive commented on issue #1984:
URL: https://github.com/apache/dubbo-go/issues/1984#issuecomment-1193051107

   解决了,metadata 在dubbo-go 里面,不支持,要用框架自带的 attachment。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org