Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] crawlab upload 上传任务不成功 #524

Closed
fantasy opened this issue Feb 8, 2020 · 1 comment
Closed

[bug] crawlab upload 上传任务不成功 #524

fantasy opened this issue Feb 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@fantasy
Copy link

fantasy commented Feb 8, 2020

Bug 描述
执行 crawlab upload 命令行提示 「uploaded successfully」,但是在 crawlab 管理后台没有找到这个任务

复现步骤
该 Bug 复现步骤如下

  1. 执行 crawlab upload

** 其他信息 **
crawlab 版本: v0.4.5
crawlab sdk 版本: 0.8
打印了服务器端接口返回的内容如下:

{
  "status" : "ok",
  "message" : "success",
  "data" : {
    "last_run_ts" : "0001-01-01T00:00:00Z",
    "last_status" : "",
    "template" : "",
    "src" : "",
    "create_ts" : "0001-01-01T00:00:00Z",
    "_id" : "",
    "type" : "",
    "file_id" : "",
    "update_ts" : "0001-01-01T00:00:00Z",
    "display_name" : "",
    "remark" : "",
    "cmd" : "",
    "site" : "",
    "project_id" : "",
    "config" : {
      "stages" : null,
      "engine" : "",
      "start_stage" : "",
      "settings" : null,
      "display_name" : "",
      "remark" : "",
      "Type" : "",
      "cmd" : "",
      "start_url" : "",
      "name" : "",
      "col" : ""
    },
    "envs" : null,
    "name" : "",
    "col" : ""
  },
  "error" : ""
}

这里至少可以判断出后端服务器返回值肯定是有问题的,但是返回状态依然 200。

@fantasy fantasy added the bug Something isn't working label Feb 8, 2020
@tikazyq
Copy link
Collaborator

tikazyq commented Feb 9, 2020

这个bug是服务端的问题,加了ProjectId之后没有做兼容,导致的。将push master做个紧急修复,你只需要拉取latest镜像就可以了

@tikazyq tikazyq closed this as completed Feb 9, 2020
@tikazyq tikazyq reopened this Feb 9, 2020
tikazyq added a commit that referenced this issue Feb 9, 2020
@tikazyq tikazyq closed this as completed Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants