com.weibo.api.motan.exception.MotanServiceException: error_message: NettyChannel failed to connect to server, url: motan://127.0.0.1:7003/com.csf.test.motan.IMotanMessageService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null


Solutions on the web

Solution icon of github
error_message: NettyChannel failed to connect to server, url: motan://127.0.0.1:7003/com.csf.test.motan.IMotanMessageService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null

Solution icon of github
error_message: NettyChannel failed to connect to server, url: motan://127.0.0.1:8001/me.nibo.motan.rpc.api.UserRpcService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null

Solution icon of github
via GitHub by ZhouXunYou
, 10 months ago
error_message: NettyChannel failed to connect to server, url: motan://192.168.1.55:8002/mmc.api.storage.CollectDataStorageService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null

Solution icon of github
error_message: NettyChannel connect to server timeout url: motan://192.168.0.199:7003/com.csf.service.user.service.IPlatformService, cost: 1001, result: false, success: false, connected: false, status: 503, error_code: 10001,r=null

Solution icon of github
error_message: NettyChannel failed to connect to server, url: motan://192.168.1.88:8002/demo.motan.service.FooService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null

Solution icon of github
via GitHub by cheniqit
, 1 year ago
error_message: NettyChannel failed to connect to server, url: motan://192.168.59.3:10068/com.mk.hotel.hotelinfo.HotelService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=

Solution icon of github
error_message: NettyChannel failed to connect to server, url: motan://localhost:10068/com.mk.hotel.hotelinfo.HotelService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=

Solution icon of github
error_message: NettyChannel connect to server timeout url: motan://10.252.31.104:8002/com.blackhole.global.service.MatchService, cost: 1007, result: false, success: false, connected: false, status: 503, error_code: 10001,r=


Stack trace

com.weibo.api.motan.exception.MotanServiceException: error_message: NettyChannel failed to connect to server, url: motan://127.0.0.1:7003/com.csf.test.motan.IMotanMessageService, result: true, success: false, connected: false, status: 503, error_code: 10001,r=null
	at com.weibo.api.motan.transport.netty.NettyChannel.open(NettyChannel.java:150)
	at com.weibo.api.motan.transport.netty.NettyChannelFactory.makeObject(NettyChannelFactory.java:53)
	at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1691)
	at com.weibo.api.motan.transport.AbstractPoolClient.initPool(AbstractPoolClient.java:64)
	at com.weibo.api.motan.transport.netty.NettyClient.open(NettyClient.java:217)
	at com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol$DefaultRpcReferer.doInit(DefaultRpcProtocol.java:196)
	at com.weibo.api.motan.rpc.AbstractNode.init(AbstractNode.java:46)
	at com.weibo.api.motan.protocol.AbstractProtocol.refer(AbstractProtocol.java:100)
	at com.weibo.api.motan.protocol.support.ProtocolFilterDecorator.refer(ProtocolFilterDecorator.java:70)
	at com.weibo.api.motan.cluster.support.ClusterSupport.notify(ClusterSupport.java:175)
	at com.weibo.api.motan.cluster.support.ClusterSupport.init(ClusterSupport.java:82)
	at com.weibo.api.motan.config.handler.SimpleConfigHandler.buildClusterSupport(SimpleConfigHandler.java:55)
	at com.weibo.api.motan.config.RefererConfig.createClusterSupport(RefererConfig.java:184)
	at com.weibo.api.motan.config.RefererConfig.initRef(RefererConfig.java:128)
	at com.weibo.api.motan.config.RefererConfig.getRef(RefererConfig.java:85)
	at com.weibo.api.motan.config.springsupport.RefererConfigBean.getObject(RefererConfigBean.java:44)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:251)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559)
	at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at com.csf.RestMotanMain.main(RestMotanMain.java:17)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago