Skip to content

webhook failed as "read tcp 172.18.0.6:45254->172.18.0.2:8000: i/o timeout" #11639

@moooofly

Description

@moooofly
  • Gitea version (or commit ref): gitea/gitea:latest (IMAGE ID: ee58398a1412)
  • Git version: git version 2.17.1
  • Operating system: Linux moooofly 4.15.0-20-generic Use Gogs name if user is registered #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

req:

Request URL: http://64.64.234.144:18000/hook?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoibW9vb29mbHkvZHJvbmVfZGVtbyIsInR5cGUiOiJob29rIn0.QGf-dk3bG03D3M-6lQgWKoTy-1XG6ed-Z86v7_nQLls
Request method: POST
Content-Type: application/json
X-GitHub-Delivery: ee1e187d-2056-4375-bf26-0b45bbf0ed1d
X-GitHub-Event: push
X-Gitea-Delivery: ee1e187d-2056-4375-bf26-0b45bbf0ed1d
X-Gitea-Event: push
X-Gitea-Signature: a07699ce861103d34797edf5cace86ed0d2e036cce268e030afcbec4b22c1629
X-Gogs-Delivery: ee1e187d-2056-4375-bf26-0b45bbf0ed1d
X-Gogs-Event: push
X-Gogs-Signature: a07699ce861103d34797edf5cace86ed0d2e036cce268e030afcbec4b22c1629

resp:

Delivery: Post "http://64.64.234.144:18000/hook?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoibW9vb29mbHkvZHJvbmVfZGVtbyIsInR5cGUiOiJob29rIn0.QGf-dk3bG03D3M-6lQgWKoTy-1XG6ed-Z86v7_nQLls": read tcp 172.20.0.2:51942->64.64.234.144:18000: i/o timeout

Description

  • step 1: launch drone server on my own VPS
docker run -itd -p "18000:8000" -v /var/lib/drone:/var/lib/drone -e DRONE_OPEN=true -e DRONE_HOST=http://64.64.234.144:18000 -e DRONE_GITEA=true -e DRONE_GITEA_URL=https://try.gitea.io/ -e DRONE_GITEA_GIT_USERNAME=moooofly -e DRONE_GITEA_GIT_PASSWORD=xxxx -e DRONE_GITEA_PRIVATE_MODE=false -e DRONE_GITEA_SKIP_VERIFY=false drone/drone:0.8.5
  • step 2: push some test codes

image

  • step 3: activate repo in drone

image

  • step 4: test webhook in gitea

image

image

image

image

Are there any settings I config wrong?

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/staletype/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions