-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/staletype/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.
Description
- 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]
):- PostgreSQLMySQLMSSQLSQLiteTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)NoNot relevantTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
- 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
- step 3: activate repo in drone
- step 4: test webhook in gitea
Are there any settings I config wrong?
Screenshots
Metadata
Metadata
Assignees
Labels
issue/staletype/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
moooofly commentedon May 27, 2020
In my own env, I can change wehhook URI pointing to drone server directly by
http://drone-server:8000/hook?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoibW9vb29mbHkvZHJvbmVfZGVtbyIsInR5cGUiOiJob29rIn0.2-drtEy2XqkBV3S1yeQKvbS57cow68CtaDRUgpL-ojk
but still not work and get
Delivery: Post "http://drone-server:8000/hook?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoibW9vb29mbHkvZHJvbmVfZGVtbyIsInR5cGUiOiJob29rIn0.2-drtEy2XqkBV3S1yeQKvbS57cow68CtaDRUgpL-ojk": read tcp 172.18.0.6:33590->172.18.0.3:8000: i/o timeout
my own test env
techknowlogick commentedon Jun 6, 2020
This log means that there is a network connection issue between Gitea and Drone. Perhaps there is a firewall in the way? Are you able to use
docker exec
to enter the Gitea container and usecurl
to attempt to access the same URL that you have in your webhook?stale commentedon Aug 8, 2020
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
stale commentedon Aug 31, 2020
This issue has been automatically closed because of inactivity. You can re-open it if needed.