Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 131 forks source link

Unable to export "lists" #544

Open bre7 opened 6 years ago

bre7 commented 6 years ago

Current behavior

lists always fails to be export (DEBUG on).

λ graphcool export
Downloading nodes... 2240ms
Downloading lists... √
 !    The download of lists failed. You may get fragmented data. Request ID: us-west-xxx
    at ...\\node_modules\graphcool-cli-engine\src\Output\index.ts:209:41
    at SimpleAction.ActionBase.pause (...\\node_modules\graphcool-cli-engine\src\Output\actions\ActionBase.ts:65:17)
    at Output.warn (...\\node_modules\graphcool-cli-engine\src\Output\index.ts:206:17)
    at Exporter.<anonymous> (...\\node_modules\graphcool-cli-core\src\commands\export\Exporter.ts:100:18)
    at step (...\\node_modules\graphcool-cli-core\dist\commands\export\Exporter.js:32:23)
    at Object.next (...\\node_modules\graphcool-cli-core\dist\commands\export\Exporter.js:13:53)
    at fulfilled (...\\node_modules\graphcool-cli-core\dist\commands\export\Exporter.js:4:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:118:7)
Downloading relations... 926ms

Reproduction

  1. Use the sample project Unable to reproduce in the sample project.
  2. Enter graphcool export in your machine

Expected behavior?

nodes, lists and relations should be exported


According to the backups, it started happening between June 7 and June 12.

Additional reports by other users:

https://github.com/prismagraphql/graphcool-framework/issues/456#issuecomment-372000530 https://github.com/prismagraphql/graphcool-framework/issues/456#issuecomment-372001092 https://github.com/prismagraphql/graphcool-framework/issues/456#issuecomment-386120160

bre7 commented 6 years ago

Update: I've also tried with multiple VPNs so there must be something wrong with the endpoint itself.

twelvearrays commented 5 years ago

I also cannot export my lists. I am trying to migrate to Prisma but I am stuck here. I have tried VPNs and even a VM on AWS in the same region as my graphcool deployment with no success.

bre7 commented 5 years ago

It seems like a data corruption or api issue since after copying the project and batch deleting rows it started working again. Unfortunately the output doesn’t provide more information as to why it’s going on an I’m not going to start deleting rows on my prod project 🤷‍♂️ I hope it’s fixed soon.

Update 1 (January 2019): Issue confirmed by the support team: https://github.com/prisma/graphcool-framework/blob/master/server/client-shared/src/main/scala/cool/graph/client/ImportExport/BulkExport.scala#L176 Though no further help was provided to debug the corrupt rows

Update 2 (March 2019): I was able to repro the issue using a new project. Sent all the details to the support team, hopefully they'll find a fix soon.

gopidon commented 4 years ago

Hi. Any update on this issue? Now that you have sunset Graphcool and we are forced to move to Prisma, this issue is a deal breaker. I am unable to move the date from my Graphcool project to Prisma.

bre7 commented 4 years ago

The update was that they weren't going to fix it. I somehow managed to migrate to Prisma