Skip to content

Docker running but requests not passing #75

@cescamilla

Description

@cescamilla

Hi guys,

I'm running the tool in Docker but I don't receive the requests into Jenkins, this is my docker command
docker run -p 80:8080 stakater/gitwebhookproxy:v0.2.70 -listen :80 -upstreamURL :8080 -provider gitlab -allowedPaths /project -secret supersecret
Note that I'm using -p to map the ports, otherwise the docker ps command shows no port open for this image

then I get this output from docker:
2019/11/09 16:55:39 Stakater Git WebHook Proxy started with provider 'gitlab' 2019/11/09 16:55:39 Listening at: :80

After that I sent a [POST] to :80/project/ that I assume should be logged into the stdout but nothing occurs

If I hit directly :8080/project/ I can run the build successfully

I'm running the docker image in Ubuntu 16.04.6 LTS
already tried v0.2.63 but same behaviour is observed

so my questions are: should I expect any http request logged in stdout? should I keep using -p argument?

Thanks in advance!
Screen Shot 2019-11-09 at 11 18 41 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions