Concourse:上传到 artifactory 失败并出现 curl 错误(剩余未完成的读取数据)

Concourse: Upload to artifactory fails with curl error (outstanding read data remaining)

我想在 pivnet 上自动发现新的干细胞版本,从 pivotal network 下载它们并将它们上传到本地工件。 但是,上传(到人工制品)任务失败并出现以下错误:

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100  410M    0     0  100  410M      0   439M --:--:-- --:--:-- --:--:--  440M

curl: (18) transfer closed with outstanding read data remaining

我在上传任何类型的发行版和 stemcell 时遇到此错误。

我的管道配置如下所示:

---
resource_types:
  - name: artifactory
    type: docker-image
    source:
      repository: pivotalservices/artifactory-resource
  - name: pivnet
    type: docker-image
    source:
      repository: pivotalcf/pivnet-resource
      tag: latest-final    

resources:
- name: git-repository
  type: git
  source:
    uri: ssh://<git-repository>
    private_key: ((ssh_key))

- name: stemcell
  type: pivnet
  check_every: 1m
  source:
    api_token: ((pivnet-api-token))
    product_slug: stemcells    

- name: artifactory
  type: artifactory
  source:
    endpoint: https://((artifactory_domain)):443/artifactory
    repository: "/<path>/stemcells/bosh-vsphere-esxi-ubuntu-trusty-go_agent"
    regex: "bosh-vsphere-esxi-ubuntu-trusty-go_agent-(?<version>.*).tgz"
    username: ((artifactory_username))
    password: ((artifactory_password))    

jobs:
- name: download-and-upload
  plan:
  - get: <git-repository>
  - get: stemcell
    trigger: true
    version: every
  - task: rename-files
    file: <git-repository>/tasks/rename-stemcell/task.yml
  - put: artifactory
    params: { file: renamed-stemcell/stemcell/bosh-vsphere-esxi-ubuntu-trusty-go_agent*.tgz }
...

我使用 concourse 版本 v3.9.1 和 stemcell bosh-vsphere-esxi-ubuntu-trusty-go_agent/3468.21。 Concourse 部署为 BOSH 版本。

任何提示可能是此错误的根本原因?

我尝试手动发出导致相同错误的 curl 命令。 然后,我尝试手动上传干细胞。 至此,发现缺少对 artifactory 的 deploy 权限。