cells-sync icon indicating copy to clipboard operation
cells-sync copied to clipboard

First connection issue: blank screen immediately after connecting to Pydio Cells server

Open lispstudent opened this issue 3 years ago • 5 comments
trafficstars

Client OS : Windows Client version: CellsSync - 0.9.2 Revision ad58523870c3c03ec01b0f22800a27c572cf3aa3 (2020-09-10T09:43:57) Pydio Server OS: FreeBSD 13.1 Pydio Server version: Pydio Cells Home Edition (v3.0.7), installed from ports

This is a first connection issue.

When I try to create first account:

  • I add proper URL to the Pydio Cells instance
  • I click on login button
  • Cell Sync open my browser, I see this URL: http://localhost:3636/servers/external?manager=https://cells.my-domain.in

I briefly see server backdrop, then page becomes blank.

  • Browser has page open, logged in to my Pydio account
  • Tried with Firefox, Brave, Edge.

lispstudent avatar Jun 19 '22 07:06 lispstudent

Hello, this is generally due to a server Site misconfiguration (TLS Certificate or site External URL). Do you have a reverse proxy ? (if so make sure to set the External URL). What TLS config do you use ? Try opening the localhost:3636 URL in the browser window with the Developer Console open to see if there are any errors displayed

cdujeu avatar Jun 20 '22 07:06 cdujeu

Thank you for the pointers.

I do not have a reverse proxy, unless Pydio Cells is using Caddy as one?

Just to be sure, I have reset the configuration with cells configure sites:

cells configure sites
Warning: no private IP detected for binding broker. Will bind to 157.90.53.130, which may give public access to the broker.
No site is currently configured. Cells exposes automatically the following URLs :
   - https://0.0.0.0:8080
Do you want to create a new site (it will replace the default one): y
Binding Port: 443
Other (enter your own ip/domain): cells.mmc.re
Do you want to add another host? [y/N] : n
✔ Let's Encrypt: automagically generate domain certificates signed by LetsEncrypt Authority
Please enter the mail address for certificate generation: [email protected]
Do you agree to the Let's Encrypt SA? [Y/n] : y
✔ No
If this site is accessed through a reverse proxy, provide full external URL (https://mydomain.com):
*************************************************
  Please review your parameters before saving
*************************************************
+---+--------------------------+--------------+--------------+
| # |         BIND(S)          |     TLS      | EXTERNAL URL |
+---+--------------------------+--------------+--------------+
| 0 | https://cells.mmc.re:443 | Lets Encrypt |              |
+---+--------------------------+--------------+--------------+

⚠ WARNING
Binding to a port below 1024 (typically 80 or 443) requires specific permissions on some OS.
Note that Let's Encrypt validation protocol requires a temporary access to port 80.
On Linux, run (as root user): $> setcap 'cap_net_bind_service=+ep' cells

Do you want to save this configuration: y
********************************************************
   Config has been updated, please restart Cells now.
********************************************************
  • First issue I met with is that Cells is available at https://cells.mmc.re:8080, but not at https://cells.mmc.re

  • If I setup Cells-Sync with login URL: https://cells.mmc.re:8080, I get a Network Error:

GET https://cells.mmc.re:8080/oidc/.well-known/openid-configuration net::ERR_FAILED
404

But Cells server is available at https://cells.mmc.re:8080

lispstudent avatar Jun 20 '22 08:06 lispstudent

1 - [8080 instead of 443] Did you Restart after updating the Site ? if you run cells configure sites again, were your modification properly saved? 2 - Once 1 is ok, try to set the External URL (even if no proxy) to https://cells.mmc.re (and restart)

cdujeu avatar Jun 20 '22 08:06 cdujeu

Thank you for your help!

  1. Yes, I did, twice. Also, I checked again with cells configure sites, the modification was saved.

  2. Now I have added the URL, even if not proxied:


********************************************************
   Config has been updated, please restart Cells now.
********************************************************
The following sites are currently defined:
+---+--------------------------+--------------+----------------------+
| # |         BIND(S)          |     TLS      |     EXTERNAL URL     |
+---+--------------------------+--------------+----------------------+
| 0 | https://cells.mmc.re:443 | Lets Encrypt | https://cells.mmc.re |
+---+--------------------------+--------------+----------------------+
✔ Quit
root@safe:/ # service cells restart
Stopping cells.
Waiting for PIDS: 12444, 12444.

Still, I can reach Cells via https://cells.mmc.re:8080 but not with https://cells.mmc.re

How can I troubleshot that?

lispstudent avatar Jun 20 '22 08:06 lispstudent

I could not fix my problem, in the meanwhile I will just use ftp. Please feel free to close this issue on your side.

lispstudent avatar Jul 02 '22 06:07 lispstudent