alexh
alexh
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Okay will tweak, thanks!
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
That would be consistent with the longer build times
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
I actually set it to 30s to be conservative. I could try reducing that
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Yes - keepAlive alone didn't seem to do the trick and was still getting timeouts.
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Would be great to get the network issues ironed out though.
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
@Lion7de I've forked the @prismicio/client library to both use the keepAlive option, as well as retry each request 5 times. It does cause build times to be longer, but it appears to work. https://github.com/studiotreble/prismic-client/tree/v5 You can install it by setting the version of the library in package.json to studiotreble/prismic-client#v5.2.4-custom
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Thanks @JohnDotAwesome
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
I haven’t had time to investigate the suggestion yet but I’ll post in here when I do!
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Has there been any progress working with the AWS side with their packet losses?
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Thanks for this John. I’ll have a look into that!
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Hello - I'm getting similar issues trying to connect to the Prismic API using a Nuxt 2 app within Cloudflare Pages. I unfortunately can't move beyond Node 16 due to incompatibilities to do with Nuxt 2 dependencies, and the Prismic Client library hasn't been updated in the same way that Storyblok's has. This is really concerning, as multiple clients are currently unable to update their sites. Is there any progress on getting these connection with Cloudfront issues sorted? It really isn't ideal. A sample error looks as follows:
14:15:37.209 ERROR request to https://xxxxx.cdn.prismic.io/api/v2 failed, reason: connect ETIMEDOUT 108.138.94.18:443
14:15:37.209
14:15:37.209 at ClientRequest.<anonymous> (node_modules/node-fetch/lib/index.js:1491:11)
14:15:37.209 at ClientRequest.emit (node:events:390:28)
14:15:37.209 at ClientRequest.emit (node:domain:475:12)
14:15:37.209 at TLSSocket.socketErrorListener (node:_http_client:447:9)
14:15:37.209 at TLSSocket.emit (node:events:390:28)
14:15:37.209 at TLSSocket.emit (node:domain:475:12)
14:15:37.209 at emitErrorNT (node:internal/streams/destroy:157:8)
14:15:37.210 at emitErrorCloseNT (node:internal/streams/destroy:122:3)
14:15:37.210 at processTicksAndRejections (node:internal/process/task_queues:83:21)
14:15:37.209 ERROR request to https://xxxxx.cdn.prismic.io/api/v2 failed, reason: connect ETIMEDOUT 108.138.94.18:443
14:15:37.209
14:15:37.209 at ClientRequest.<anonymous> (node_modules/node-fetch/lib/index.js:1491:11)
14:15:37.209 at ClientRequest.emit (node:events:390:28)
14:15:37.209 at ClientRequest.emit (node:domain:475:12)
14:15:37.209 at TLSSocket.socketErrorListener (node:_http_client:447:9)
14:15:37.209 at TLSSocket.emit (node:events:390:28)
14:15:37.209 at TLSSocket.emit (node:domain:475:12)
14:15:37.209 at emitErrorNT (node:internal/streams/destroy:157:8)
14:15:37.210 at emitErrorCloseNT (node:internal/streams/destroy:122:3)
14:15:37.210 at processTicksAndRejections (node:internal/process/task_queues:83:21)
56 replies