Timeouts

Highlighted
Tourist
10 0 3

Hello,

I am using the API with Graphql.

I have two stores.

One store is fine, all my API calls work no problem. 

The other store is a problem as I am receving "Timeout" responses from the API.

The issue is random.... and causing major issues as I update my inventory via the API.

Log:

== Info:   Trying 23.227.38.64...

== Info: Connected to XXX.myshopify.com (23.227.38.64) port 443 (#0)

== Info: ALPN, offering http/1.1

== Info: Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH

== Info: TLSv1.2 (OUT), TLS header, Certificate Status (22):

=> Send SSL data, 0x5 bytes (0x5)

0000: .....

== Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):

=> Send SSL data, 0x200 bytes (0x200)

[removed]

0xc0: ............3.........XXX.myshopify.com..................

0x100: ......................... .....................................3

0x140: t.........http/1.1..............................................

0x180: ................................................................

0x1c0: ................................................................

<= Recv SSL data, 0x5 bytes (0x5)

0000: ....m

== Info: TLSv1.2 (IN), TLS handshake, Server hello (2):

<= Recv SSL data, 0x6d bytes (0x6d)

{removed]

<= Recv SSL data, 0x5 bytes (0x5)

0000: ....M

== Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):

<= Recv SSL data, 0x14d bytes (0x14d)

[removed]

<= Recv SSL data, 0x5 bytes (0x5)

0000: .....

== Info: TLSv1.2 (IN), TLS handshake, Server finished (14):

<= Recv SSL data, 0x4 bytes (0x4)

0000: ....

=> Send SSL data, 0x5 bytes (0x5)

0000: ....F

== Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):

=> Send SSL data, 0x46 bytes (0x46)

0000: ...BA.%.'........oH.O..Z..7 _..P,.5.....af).%.........5e........

0x40: .:|gaR

=> Send SSL data, 0x5 bytes (0x5)

0000: .....

== Info: TLSv1.2 (OUT), TLS change cipher, Client hello (1):

=> Send SSL data, 0x1 bytes (0x1)

0000: .

=> Send SSL data, 0x5 bytes (0x5)

0000: ....(

== Info: TLSv1.2 (OUT), TLS handshake, Finished (20):

=> Send SSL data, 0x10 bytes (0x10)

0000: .........,..!.Q.

<= Recv SSL data, 0x5 bytes (0x5)

0000: .....

== Info: TLSv1.2 (IN), TLS change cipher, Client hello (1):

<= Recv SSL data, 0x1 bytes (0x1)

0000: .

<= Recv SSL data, 0x5 bytes (0x5)

0000: ....(

== Info: TLSv1.2 (IN), TLS handshake, Finished (20):

<= Recv SSL data, 0x10 bytes (0x10)

0000: ....Jb.."..b..h7

== Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384

== Info: ALPN, server accepted to use http/1.1

== Info: Server certificate:

== Info:  subject: C=CA; ST=Ontario; L=Ottawa; O=Shopify Inc.; CN=*.myshopify.com

== Info:  start date: Sep 27 00:00:00 2017 GMT

== Info:  expire date: Oct 15 12:00:00 2020 GMT

== Info:  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA

== Info:  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.

=> Send SSL data, 0x5 bytes (0x5)

0000: ....)

=> Send header, 0x151 bytes (0x151)

0000: POST /admin/api/graphql.json HTTP/1.1

0x27: Host: XXX.myshopify.com

0x47: User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTM

0x87: L, like Gecko) Chrome/22.0.1216.0 Safari/537.2

0xb7: Accept: */*

0xc4: Cache-Control: no-cache

0xdd: Content-Type: application/graphql

0x100: X-Shopify-Access-Token: [removed]

0x13a: Content-Length: 960

0x14f:

=> Send data, 0x3c0 bytes (0x3c0)

0000: mutation T736498 {.productVariantUpdate(input: {id: "gid://shopi

0x40: fy/ProductVariant/9177084231795", barcode: "Final Sale - In Stoc

0x80: k - Hurry Only 3 Left!", inventoryPolicy: DENY, price: 15, compa

0xc0: reAtPrice: 38, inventoryItem: {cost: 18.13}}) {.userErrors {.fie

0x100: ld.message.}.productVariant {.id.barcode.inventoryPolicy.price.c

0x140: ompareAtPrice.}.}..inventoryAdjustQuantity(input: {inventoryLeve

0x180: lId: "gid://shopify/InventoryLevel/6067028083?inventory_item_id=

0x1c0: 9305241911411", availableDelta: 0 }) {.userErrors {.field.messag

0x200: e.}.inventoryLevel {.id.available.}.}..productUpdate(input: {id:

0x240:  "gid://shopify/Product/835316187251", tags: ["Womens","Swimwear

0x280: ","Bottom","Cheeky Coverage","Floral + Palm","$0 to $50","2018 B

0x2c0: ikinima","Bikinima","2018","meta-size-chart-Bikinima-Size-Chart"

0x300: ,"meta-related-collection-2018-Bikinima","Clearance","Final Sale

0x340: ","No MAP","XS","S","M","L","XL"], vendor: "Bikinima", published

0x380: : true }) {.userErrors {.field.message.}.product {.id.tags.}.}.}

== Info: upload completely sent off: 960 out of 960 bytes

<= Recv SSL data, 0x5 bytes (0x5)

0000: ....?

<= Recv header, 0x11 bytes (0x11)

0000: HTTP/1.1 200 OK

<= Recv header, 0xf bytes (0xf)

0000: Server: nginx

<= Recv header, 0x25 bytes (0x25)

0000: Date: Sun, 18 Nov 2018 16:22:58 GMT

<= Recv header, 0x2f bytes (0x2f)

0000: Content-Type: application/json; charset=utf-8

<= Recv header, 0x1c bytes (0x1c)

0000: Transfer-Encoding: chunked

<= Recv header, 0x18 bytes (0x18)

0000: Connection: keep-alive

<= Recv header, 0x17 bytes (0x17)

0000: Vary: Accept-Encoding

<= Recv header, 0x1a bytes (0x1a)

0000: X-Sorting-Hat-PodId: 114

<= Recv header, 0x1f bytes (0x1f)

0000: X-Sorting-Hat-PodId-Cached: 1

<= Recv header, 0x22 bytes (0x22)

0000: X-Sorting-Hat-ShopId: 1691713651

<= Recv header, 0x25 bytes (0x25)

0000: X-Sorting-Hat-PrivacyLevel: default

<= Recv header, 0x23 bytes (0x23)

0000: X-Sorting-Hat-FeatureSet: default

<= Recv header, 0x1c bytes (0x1c)

0000: X-Sorting-Hat-Section: pod

<= Recv header, 0x20 bytes (0x20)

0000: X-Sorting-Hat-ShopId-Cached: 1

<= Recv header, 0x17 bytes (0x17)

0000: Vary: Accept-Encoding

<= Recv header, 0x2b bytes (0x2b)

0000: Referrer-Policy: origin-when-cross-origin

<= Recv header, 0x17 bytes (0x17)

0000: X-Frame-Options: DENY

<= Recv header, 0x16 bytes (0x16)

0000: X-ShopId: 1691713651

<= Recv header, 0x10 bytes (0x10)

0000: X-ShardId: 114

<= Recv header, 0x13 bytes (0x13)

0000: X-Stats-UserId: 0

<= Recv header, 0x1e bytes (0x1e)

0000: X-Stats-ApiClientId: 2641689

<= Recv header, 0x26 bytes (0x26)

0000: X-Stats-ApiPermissionId: [removed]

<= Recv header, 0x9d bytes (0x9d)

0000: X-Shopify-API-Terms: By accessing or using the Shopify API you a

0x40: gree to the Shopify API License and Terms of Use at https://www.

0x80: shopify.com/legal/api-terms

<= Recv header, 0x60 bytes (0x60)

0000: X-Shopify-API-Deprecated-Reason: https://help.shopify.com/api/ge

0x40: tting-started/api-deprecations

<= Recv header, 0x2c bytes (0x2c)

0000: Strict-Transport-Security: max-age=7889238

<= Recv header, 0x34 bytes (0x34)

0000: X-Request-Id: eda4569a-4abc-4b1a-a731-086fb52c5fb2

<= Recv header, 0x1d bytes (0x1d)

0000: X-Shopify-Stage: production

<= Recv header, 0x386 bytes (0x386)

0000: Content-Security-Policy: default-src 'self' data: blob: 'unsafe-

0x40: inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed

0x80: -content; child-src 'self' https://* shopify-pos://*; connect-sr

0xc0: c 'self' wss://* https://*; frame-ancestors 'none'; script-src h

0x100: ttps://cdn.shopify.com https://checkout.shopifycs.com https://js

0x140: -agent.newrelic.com https://bam.nr-data.net https://dme0ih8comzn

0x180: 4.cloudfront.net https://api.stripe.com https://mpsnare.iesnare.

0x1c0: com https://appcenter.intuit.com https://www.paypal.com https://

0x200: maps.googleapis.com https://www.google-analytics.com https://v.s

0x240: hopify.com https://widget.intercom.io https://js.intercomcdn.com

0x280:  'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests

0x2c0: ; report-uri /csp-report?source%5Baction%5D=query&source%5Bapp%5

0x300: D=Shopify&source%5Bcontroller%5D=admin%2Fgraphql&source%5Bsectio

0x340: n%5D=admin_api&source%5Buuid%5D=eda4569a-4abc-4b1a-a731-086fb52c

0x380: 5fb2

<= Recv header, 0x21 bytes (0x21)

0000: X-Content-Type-Options: nosniff

<= Recv header, 0x1c bytes (0x1c)

0000: X-Download-Options: noopen

<= Recv header, 0x29 bytes (0x29)

0000: X-Permitted-Cross-Domain-Policies: none

<= Recv header, 0xe1 bytes (0xe1)

0000: X-XSS-Protection: 1; mode=block; report=/xss-report?source%5Bact

0x40: ion%5D=query&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admi

0x80: n%2Fgraphql&source%5Bsection%5D=admin_api&source%5Buuid%5D=eda45

0xc0: 69a-4abc-4b1a-a731-086fb52c5fb2

<= Recv header, 0x1c bytes (0x1c)

0000: X-Dc: chi2,gcp-us-central1

<= Recv header, 0x21 bytes (0x21)

0000: X-Content-Type-Options: nosniff

<= Recv header, 0x2 bytes (0x2)

0000:

<= Recv data, 0x2d bytes (0x2d)

0000: 22

00x4: {"errors":[{"message":"Timeout"}]}

0x28: 0

0x2b:

== Info: Closing connection 0

=> Send SSL data, 0x5 bytes (0x5)

0000: .....

== Info: TLSv1.2 (OUT), TLS alert, Client hello (1):

=> Send SSL data, 0x2 bytes (0x2)

0000: ..

 

 

0 Likes
Highlighted
Tourist
4 0 1

I'm seeing a similar issue where the TLS hanshake request is not being answered.  I have opened a support ticket and waiting for a response.

1 Like
Highlighted
Tourist
10 0 3

Now I am getting timeouts on my other shopify store!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1555 81 282

Anyone experiencing this issue when making GraphQL mutations: X-Request-Id response header is much appreciated to get an idea of impact. Error message must also be "Timeout".

0 Likes
Highlighted
Shopify Staff
Shopify Staff
297 32 71

Hey David,

Zameer here from the Shopify Developer Experience Team.

Digging into the errors you are seeing, I've noticed that these timeouts are currently happening due to some Redis outages that we're working to resolve.

That being said, I would recommend that for the time being, you retry any failing requests as they should succeed due to the sporadic nature of the timeouts.

I'll be sure to update you when a more permanent solution for this issue has been implemented.

0 Likes
Highlighted
Shopify Partner
15 1 3

did you gt any response?

0 Likes