pydio / pydio-core

Pydio 8 official repository
https://pydio.com
GNU Affero General Public License v3.0
869 stars 289 forks source link

Pydio and Caddy server as HTTP server #1331

Open fanningert opened 7 years ago

fanningert commented 7 years ago

Server: linux Caddy 0.9.5 PHP-fpm 7.1.2 (tcp listening)

When I upload a file or create directory, pydio create the file or directory on the file system. But don't show it on the web. When Iook in the developer console of chrome, I see a pending connection.

Example is on directory creation.

Request

Request URL:https://www.example.com/index.php?
Referrer Policy:no-referrer-when-downgrade
Request Headers
Provisional headers are shown
Accept:text/javascript, text/html, application/xml, text/xml, */*
Content-type:application/x-www-form-urlencoded; charset=UTF-8
Origin:https://www.example.com
Referer:https://www.example.com/ws-my-files/
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36
X-Prototype-Version:1.7.3
X-Requested-With:XMLHttpRequest
Form Data
view source
view URL encoded
dirname:Juhu
get_action:mkdir
ok:OK
can:CANCEL
dir:/
secure_token:...

On Caddy I see this

15/Mar/2017:19:00:36 +0100 [ERROR 502 /index.php] read tcp 127.0.0.1:47898->127.0.0.1:9999: read: connection reset by peer

On PHP-FPM I see this

[WARNING] [pool www] child 3563 exited with code 1 after 913.791172 seconds from start

Caddy config

www.example.com {
  root /srv/http/.../www

  log syslog
  errors syslog

  timeouts none

  rewrite / {
   to {uri} {uri}/ /index.php
  }
  status 403 {
    /data
  }
#####################################################
# PHP
  fastcgi / 127.0.0.1:9999 php
}

I don't found any other error.

cdujeu commented 7 years ago

hi, can you kindly use the forum? We use github only for "qualified" issues. This is probably a caddy/php-fpm misconfiguration. -c

fanningert commented 7 years ago

Sorry, but why I need to add my personal address for the forum registration on pydio.com? That the point why I add this question on the github issue page.