Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lispstudent opened this issue Jun 19, 2022 · 5 comments

Comments

@lispstudent
Copy link

lispstudent commented Jun 19, 2022

Client OS : Windows
Client version: CellsSync - 0.9.2
Revision ad58523 (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 briefly see server backdrop, then page becomes blank.

  • Browser has page open, logged in to my Pydio account
  • Tried with Firefox, Brave, Edge.
@cdujeu
Copy link
Member

cdujeu commented Jun 20, 2022

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

@lispstudent
Copy link
Author

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: host@mmc.re
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.
********************************************************
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

@cdujeu
Copy link
Member

cdujeu commented Jun 20, 2022

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)

@lispstudent
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants