Hi there,
I’m using Pydio with Collabora Online in a docker setup.
Everything seems to be working fine except for the Android App.
When I try to setup my account on android I encounter the following message after entering the server address:
Cannot retrieve OIDC well known file for https://pydio.domain.xy, pleas…
Unfortunately the error message is cut off.
On iOS (iPad) the login is working flawlessly.
Here is my docker setup:
version: '3.7'
services:
cells:
image: pydio/cells:latest
restart: unless-stopped
ports: ["9090:8080"]
environment:
- CELLS_LOG_LEVEL=production
- CELLS_EXTERNAL=https://pydio.domain.xy
volumes:
- /var/docker/pydio/data:/var/cells/data
- /var/docker/pydio/cellsdir:/var/cells
mysql:
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd
MYSQL_DATABASE: cells
MYSQL_USER: pydio
MYSQL_PASSWORD: P@ssw0rd
command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
volumes:
- /var/docker/pydio/mysql:/var/lib/mysql
and nginx config:
server {
server_name pydio.domain.xy;
listen 443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/pydio.domain.xy/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/pydio.domain.xy/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
# Allow any size file to be uploaded.
client_max_body_size 0;
# To disable buffering
proxy_buffering off;
location / {
# Uncomment this to enable gRPC and thus be able to use cells-sync
if ($http_content_type = "application/grpc") {
grpc_pass grpcs://localhost:9090;
}
proxy_pass https://localhost:9090;
}
location /ws/ {
proxy_pass https://localhost:9090;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
error_log /var/log/nginx/cells-proxy-error.log;
access_log /var/log/nginx/cells-proxy-access.log;
#### COLLABORA PART
# static files
location ^~ /browser {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# Capabilities
location ^~ /hosting/capabilities {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# main websocket
location ~ ^/cool/(.*)/ws$ {
proxy_pass https://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
# download, presentation and image upload
location ~ ^/(c|l)ool {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# Admin Console websocket
location ^~ /cool/adminws {
proxy_pass https://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
}
Thanks for your help in advance!