Hi, trying to debug 404 error, but didn’t find where I can increase the log level in drone-ui docker image. I got only logs like:
2022-10-17T11:47:40.545413+00:00 awesome-drone-host-15 docker/drone-ui/e206ae0eabef/awesome-harbor-host.any/plops/drone-ui:v2.3.0p[40747]: [2022-10-17T11:47:40.544Z] "GET /login" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0"
2022-10-17T11:47:40.547922+00:00 awesome-drone-host-15 docker/drone-ui/e206ae0eabef/awesome-harbor-host.any/plops/drone-ui:v2.3.0p[40747]: [2022-10-17T11:47:40.547Z] "GET /?/login" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0"
d1wilko
(Dan Wilson)
October 18, 2022, 12:56pm
2
Hi @roman-starik We don’t have a debug flag in the drone ui - can you make use of the dev tools in your browser to track the request/response?
body response for https://drone ./api/repos/link/AD is json {"message":"Not Found"}
d1wilko
(Dan Wilson)
October 20, 2022, 1:04pm
8
hmm. I remember seeing something similar months ago but I think we fixed it - which drone version are you using?
Well, I think it reminds that case . But we don’t use GITEA and our string is DRONE_STASH_SERVER=https://bitbucket.host.any
. I am also not sure about that part , but I tested that with trace logs and got nothing when did request, because it ended somewhere in drone-ui.
versions:
drone/drone:2.13.0
drone-ui:v2.3.0
drone/drone-runner-docker:1.8.2
drone/gc (sha256:cfece3db0ffbc57fc54b584f5a749039a6f49b4bd8177fd45232c872282a4674)
d1wilko
(Dan Wilson)
October 21, 2022, 10:34am
10
Ok, this happens to me when I am developing locally and my UI URL has a port number - like yours here.
I’ve merged this PR which should fix it - fix deep links bug by d1wilko · Pull Request #423 · drone/drone-ui · GitHub - I’ll release it in the next drone release - theres a few other things I would like to push alongside this
1 Like