Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12951

Webhooks return 404 on some servers

    XMLWordPrintable

Details

    Description

      Hi,
      I got 404 error on most of the servers i'm working on. i created a simple php code on the root of my server and try to execute that when someone push on the repo. This php file set to write something on a log file. But it returns 404 on most of my servers. I suppose 404 mean the address provided for webhook are not available (which there is, it works via browser)
      This is the details of request, is there anyway i can find what's the problem:

      Response from http://www.mydomain.co.uk/write-to-file.php
      HTTP status: 404
      Elapsed time: 970ms
      Request time: in a few seconds (Saturday, July 2nd 2016, 3:31:38 pm)
      Headers
      content-length	0
      via	1.1 util-102.ash1.bb-inf.net (squid/3.3.8)
      x-cache	MISS from util-102.ash1.bb-inf.net
      set-cookie	_icl_current_language=en; expires=Sun, 03-Jul-2016 11:01:37 GMT; path=/, _icl_current_language=en; expires=Sun, 03-Jul-2016 11:01:38 GMT; path=/
      x-cache-lookup	MISS from util-102.ash1.bb-inf.net:8080
      expires	Wed, 11 Jan 1984 05:00:00 GMT
      server	nginx
      connection	keep-alive
      link	<http://dev.mydomain.co.uk/wp-json/>; rel="https://api.w.org/"
      pragma	no-cache
      cache-control	no-cache, must-revalidate, max-age=0
      date	Sat, 02 Jul 2016 11:01:38 GMT
      content-type	text/html; charset=UTF-8
      Body
      No content
      Request
      Attempt type: Automatic retry
      Headers
      X-Request-UUID	b717160e-02dc-49be-9442-e449bfd910f3
      X-Event-Key	repo:push
      User-Agent	Bitbucket-Webhooks/2.0
      X-Attempt-Number	3
      X-Hook-UUID	4b9dd492-e5ad-4702-a1a3-fecb06a41d5d
      Content-Type	application/json
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            4b09dc5af53c shahroq
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: