You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
查看 dubbo源代码 . 在调用接口,如果没找到相应的SocketWorker,则会报:Could not find any agent worker
private_handleDubboInvoke(requestId: number){//get request contextconstctx=queue.requestQueue.get(requestId);//get socket agent listconstagentAddrList=this._zkClient.getAgentAddrList(ctx);log('agentAddrSet-> %O',agentAddrList);constworker=this._serverAgent.getAvailableSocketWorker(agentAddrList);//if could not find any available socket agent workerif(!worker){const{requestId, dubboInterface, version, group}=ctx;constmsg=`requestId#${requestId}:Could not find any agent worker with ${dubboInterface}#${version}#${group} agentList: ${agentAddrList.join(',',)}`;consterr=newScheduleError(msg);this._handleFailed(requestId,err);log(err);traceErr(err);return;}ctx.invokeHost=worker.host;ctx.invokePort=worker.port;constproviderProps=this._zkClient.getDubboServiceProp(ctx);queue.consume(ctx.requestId,worker,providerProps);}
The text was updated successfully, but these errors were encountered:
creasy2010
changed the title
could not find any agent worker with
could not find any agent worker with com.xxx.xxx
Jul 14, 2018
在开发过程中 调用 com.qianmi.mc.api.buyer.BuyerActivityQueryProvider 出现异常.跟踪如下:
dubbo 启动时,providerurl信息,可以看出BuyerActivityQueryProvider 并没有相应的provider
登陆 zookeeper 查看 ,确实没有
查看 dubbo源代码 . 在调用接口,如果没找到相应的SocketWorker,则会报:Could not find any agent worker
The text was updated successfully, but these errors were encountered: