You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/12/04 03:08:16 UTC

[GitHub] [servicecomb-java-chassis] pengyaobin edited a comment on issue #1431: 微服务之间调用的时候,提示Probably invoke a service before it is registered, or no instance found for it

pengyaobin edited a comment on issue #1431: 微服务之间调用的时候,提示Probably invoke a service before it is registered, or no instance found for it
URL: https://github.com/apache/servicecomb-java-chassis/issues/1431#issuecomment-561454052
 
 
   > `Failed to setInstances` consumer端能打印这一行日志的话,那么它至少已经从服务中心查询到provider服务的信息了。
   > 也许是契约加载碰到问题了,如果是那样的话可以从日志里面推测出来是加载到哪个契约时报错的。你可以去服务中心的服务契约详情页面把yaml格式的契约内容复制出来,粘贴到[Swagger Editor](https://editor.swagger.io/) 里面,让 Swagger Editor 来帮你判断一下是否契约内容有问题。
   > 
   > 或者你贴出来的那行日志的前后应该有打印异常信息吧?也可以把完整的错误日志,包含异常堆栈信息都贴出来,我们一起看一下
   
   谢谢解答,我的问题和https://github.com/apache/servicecomb-java-chassis/issues/1436 一样,已经解决了

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services