argos: socket hang up when upload

As a user,

Motivation

appeared twice, I tried for a week, when i use argos-ci upload dir

✘  Sorry an error happened:
request to https://api.argos-ci.com/builds failed, reason: socket hang up
FetchError: request to https://api.argos-ci.com/builds failed, reason: socket hang up
    at ClientRequest.<anonymous> (/home/vsts/work/1/s/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (events.js:314:20)
    at ClientRequest.EventEmitter.emit (domain.js:486:12)
    at TLSSocket.socketOnEnd (_http_client.js:493:9)
    at TLSSocket.emit (events.js:326:22)
    at TLSSocket.EventEmitter.emit (domain.js:486:12)
    at endReadableNT (_stream_readable.js:1244:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Detail

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (21 by maintainers)

Most upvoted comments

@shaodahong yeah it is right, we do not deduplicate images between batches for now. Maybe you could add a command to split screenshots into several directories.

Anyway the batch mode will not be required in future for a large number of screenshots, but as of today it is the only solution I have for you!

The insert build_notification was not included in the transaction so the foreign key was failing.