gpt4 book ai didi

amazon-ec2 - 无法命中来自 ec2 实例的 shopify 请求

转载 作者:行者123 更新时间:2023-12-02 04:24:15 26 4
gpt4 key购买 nike

直到昨天/今天午夜,一切都运行良好。但是今天我们无法从位于孟买 (ap-south-1) 的 ec2 实例访问 shopify REST api。 dns 正确解析到 shopify 商店:

[ec2-user@ip-172-31-12-194 ~]$ dig turms.myshopify.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.58.amzn1 <<>> turms.myshopify.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52296
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;turms.myshopify.com. IN A

;; ANSWER SECTION:
turms.myshopify.com. 30 IN CNAME shops.myshopify.com.
shops.myshopify.com. 8 IN A 23.227.63.64

;; Query time: 0 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Sat Jun 1 06:13:17 2019
;; MSG SIZE rcvd: 73

购买任何 REST api 都行不通:

[ec2-user@ip-172-31-12-194 ~]$ curl -vX GET   https://turms.myshopify.com/admin/api/2019-04/orders/metafieldId/metafields.json   -H 'Accept: */*'   -H 'Authorization: Basic Auth'
Note: Unnecessary use of -X or --request, GET is already inferred.
* Trying 23.227.63.64...
* TCP_NODELAY set
* connect to 23.227.63.64 port 443 failed: Connection timed out
* Failed to connect to turms.myshopify.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to turms.myshopify.com port 443: Connection timed out

为什么从 ec2 实例内部调用 shopify 失败?到目前为止,重启服务器、刷新缓存和启动新机器都没有给我任何结果。感谢您的帮助。

更新:美国东部实例中不存在此问题。因此,我们创建了一个代理实例来通过代理服务器路由来 self 们应用程序的 shopify 调用。这不是一个长期的解决方案,我们仍在寻找答案。

最佳答案

我仍然不知道问题出在哪里,但这是来自 Shopify 的官方通讯:

This is to let you know that early morning today there was a connectivity issue across Shopify's platform and this email is to inform you that your stores have been recovered, we understand that situations like this impact you, your business and your teams. The internet-wide network outage affected several services, including Shopify. Once the network has resorted please know our team worked to get your store online as soon as possible. In the coming days, we will work to fully understand how this widespread Internet infrastructure failure affected our platform.

关于amazon-ec2 - 无法命中来自 ec2 实例的 shopify 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56404335/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com