开发者社区 > 云原生 > 云消息队列 > 正文

MNS消息队列消费模式 nodejsSDK使用专有网络(VPC)报错

2|sharedbed-api  | { ServiceUnavailableError: The request has failed due to a temporary failure of the server.
2|sharedbed-api  |     at httpx.request.then.then (/usr/local/sharedbed-api/node_modules/@alicloud/pop-core/lib/core.js:185:19)
2|sharedbed-api  |     at tryCatcher (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/util.js:16:23)
2|sharedbed-api  |     at Promise._settlePromiseFromHandler (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:502:31)
2|sharedbed-api  |     at Promise._settlePromise (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:559:18)
2|sharedbed-api  |     at Promise._settlePromise0 (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:604:10)
2|sharedbed-api  |     at Promise._settlePromises (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:683:18)
2|sharedbed-api  |     at Async._drainQueue (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/async.js:138:16)
2|sharedbed-api  |     at Async._drainQueues (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/async.js:148:10)
2|sharedbed-api  |     at Immediate.Async.drainQueues (/usr/local/sharedbed-api/node_modules/thinkjs/node_modules/bluebird/js/release/async.js:17:14)
2|sharedbed-api  |     at Immediate.args.(anonymous function) (/usr/local/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29)
2|sharedbed-api  |     at runCallback (timers.js:672:20)
2|sharedbed-api  |     at tryOnImmediate (timers.js:645:5)
2|sharedbed-api  |     at processImmediate [as _immediateCallback] (timers.js:617:5)
2|sharedbed-api  |   name: 'ServiceUnavailableError',
2|sharedbed-api  |   data: 
2|sharedbed-api  |    { Recommend: 'https://error-center.aliyun.com/status/search?Keyword=ServiceUnavailable&source=PopGw',
2|sharedbed-api  |      Message: 'The request has failed due to a temporary failure of the server.',
2|sharedbed-api  |      RequestId: 'A5B89329-8B9A-4C96-9848-58336E432FFD',
2|sharedbed-api  |      HostId: 'dybaseapi-vpc.cn-shenzhen.aliyuncs.com',
2|sharedbed-api  |      Code: 'ServiceUnavailable' },
2|sharedbed-api  |   code: 'ServiceUnavailable',
2|sharedbed-api  |   url: 'http://dybaseapi-vpc.cn-shenzhen.aliyuncs.com/?AccessKeyId=LTAIALvI958Uaq9U&Action=QueryTokenForMnsQueue&Format=JSON&MessageType=SmsUp&SignatureMethod=HMAC-SHA1&SignatureNonce=b84112afdc7c3cb9b26dab85a0edbc9c&SignatureVersion=1.0&Timestamp=2018-11-19T02%3A24%3A34Z&Version=2017-05-25&Signature=%2FdwLeBoE51WBbw85QxBroBIlLaY%3D',
2|sharedbed-api  |   entry: 
2|sharedbed-api  |    { url: 'http://dybaseapi-vpc.cn-shenzhen.aliyuncs.com/?AccessKeyId=LTAIALvI958Uaq9U&Action=QueryTokenForMnsQueue&Format=JSON&MessageType=SmsUp&SignatureMethod=HMAC-SHA1&SignatureNonce=b84112afdc7c3cb9b26dab85a0edbc9c&SignatureVersion=1.0&Timestamp=2018-11-19T02%3A24%3A34Z&Version=2017-05-25&Signature=%2FdwLeBoE51WBbw85QxBroBIlLaY%3D',
2|sharedbed-api  |      request: { headers: [Object] },
2|sharedbed-api  |      response: { statusCode: 503, headers: [Object] } } }

展开
收起
1663437865958109 2018-11-19 10:26:30 911 0
0 条回答
写回答
取消 提交回答

涵盖 RocketMQ、Kafka、RabbitMQ、MQTT、轻量消息队列(原MNS) 的消息队列产品体系,全系产品 Serverless 化。RocketMQ 一站式学习:https://rocketmq.io/

相关产品

  • 轻量消息队列(原 MNS)
  • 云消息队列 MQ
  • 相关电子书

    更多
    企业互联网架构之消息队列 立即下载
    基于消息队列RocketMQ的大型分布式应用上云最佳实践 立即下载
    云原生消息队列Apache RocketMQ 立即下载