Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9830

Closed
Open
Created Nov 15, 2015 by Administrator@rootOwner

Getting 502 Error on existing nginx server

Created by: tomtom87

Hi, I am trying to run the gitlab community edition on my debian box which currently has a few vhosts configured in a nginx installation.

The two are working side by side ok, I set the gitlab port to use a different one to the port 80 the existing nginx was working on.

The only problem is now when I submit forms on my existing nginx I get a error 502 unless I restart the service for every request (obviously no fix, but interesting)

Here are the errors from the /var/log/nginx/error.log

2015/11/15 12:59:20 [error] 22267#0: *97428 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 66.249.79.47, server: xxxxx.xx, request: "POST /c/financial/?wc-ajax=get_refreshed_fragments HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx", referrer: "http://xxxxx.xx/c/financial/"
2015/11/15 13:06:07 [error] 22267#0: *97436 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx"
2015/11/15 13:06:23 [error] 22267#0: *97445 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-login.php?redirect_to=http%3A%2F%2Fxxxxx.xx%2Fwp-admin%2F&reauth=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx"
2015/11/15 13:07:11 [error] 8937#0: *6 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 58.8.128.76, server: xxxxx.xx, request: "POST /wp-login.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-login.php?redirect_to=http%3A%2F%2Fxxxxx.xx%2Fwp-admin%2F&reauth=1"
2015/11/15 13:07:19 [warn] 8937#0: *12 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/load-styles.php?c=0&dir=ltr&load=dashicons,admin-bar,wp-admin,buttons,wp-auth-check&ver=4.3.1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-admin/"
2015/11/15 13:07:20 [error] 8983#0: *11 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,jquery-ui-widget,jquer&load%5B%5D=y-ui-mouse,jquery-ui-sortable,postbox,dashboard,underscore,customize-base,customize-loader,thickbox,plugin-install,shortcode,med&load%5B%5D=ia-upload,svg-painter,heartbeat,wp-auth-check&ver=4.3.1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-admin/"
2015/11/15 13:07:34 [error] 9030#0: *3 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/load-styles.php?c=0&dir=ltr&load=dashicons,admin-bar,wp-admin,buttons,wp-auth-check&ver=4.3.1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-admin/"
2015/11/15 13:07:59 [warn] 9030#0: *26 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 66.249.79.139, server: xxxxx.yyy, request: "GET /feed/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxxx.yyy"
2015/11/15 13:08:33 [error] 9030#0: *30 connect() failed (111: Connection refused) while connecting to upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/load-styles.php?c=0&dir=ltr&load=dashicons,admin-bar,wp-admin,buttons,wp-auth-check&ver=4.3.1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-admin/"
2015/11/15 13:08:33 [warn] 9030#0: *30 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/2/00/0000000002 while reading upstream, client: 58.8.128.76, server: xxxxx.xx, request: "GET /wp-admin/load-styles.php?c=0&dir=ltr&load=dashicons,admin-bar,wp-admin,buttons,wp-auth-check&ver=4.3.1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxxx.xx", referrer: "http://xxxxx.xx/wp-admin/"
Assignee
Assign to
Time tracking