Unable to successfully run Cells 3.0 / Websocket error / Internal Server Error

I am unable to run Cells 3.0.0 on my Arch box.

my system:

Docker free
MariaDB 10.6.4
System: Archlinux
Pydio Cells Home Edition
 Version:       0.1.0
 Built:         04 Nov 21 13:15 +0100
 Git commit:
 OS/Arch:       linux/amd64
 Go version:    go1.17.2

my shell environment:

SHELL=/bin/bash
PWD=/srv/cells/go/src/github.com/pydio/cells
LOGNAME=cells
HOME=/srv/cells
LANG=en_US.UTF-8
TERM=xterm
USER=cells
SHLVL=1
GO111MODULE=auto
PATH=/srv/cells/go/bin:others/...
GOPATH=/srv/cells/go
_=/usr/bin/env
OLDPWD=/srv/cells

Cells was installed as described at GitHub - pydio/cells: Future-proof content collaboration platform

> go get -u github.com/pydio/cells
> cd $GOPATH/src/github.com/pydio/cells
> make dev (this builds 3.0.1-dev)

Starting up…
> cells configure

… random noise but no real error here
I used the browser based config which worked and I also tried the console based config
…

2021-11-04T12:52:17.982+0100 INFO pydio.gateway.proxy Restart done
2021-11-04T12:52:20.959+0100 INFO pydio.rest.workspace Creating a Personal workspace
2021-11-04T12:52:20.970+0100 INFO pydio.rest.workspace Settings ACLS for workspace
2021-11-04T12:52:20.983+0100 INFO pydio.rest.workspace Creating a Common Files workspace on pydiods1
2021-11-04T12:52:20.989+0100 INFO pydio.rest.workspace Settings ACLS for workspace
2021-11-04T12:52:29.857+0100 INFO pydio.grpc.oauth Started
2021-11-04T12:52:29.869+0100 INFO pydio.web.oauth Started
2021-11-04T12:52:59.873+0100 ERROR pydio.grpc.oauth could not initialise service at version 0.1.0 {“error”: “timeout”}
2021-11-04T12:52:59.874+0100 ERROR pydio.grpc.oauth Could not run {“error”: “timeout”}

  • allthough startet on the command line it is not stoppable by hitting CTRL+C - you have to kill -9 $(PID of cells)
  • immediately after login on the left side a message shows up saying “Connection error… Websocket not connected. Make sure that bla blub”
  • the main window shows “Internal Server Error” at the bottom of the page with white font on a black background.

Cells runs standalone here, no Apache, no NginX.
It uses the default port 8080 which it obviously can bind to.

netstat -ntupl | grep cells shows additional bindings to ports 8000 and 8003 and ps -ef | grep cells is showing a valid process list…

cells     174186  127911  0 13:16 pts/0    00:00:36 cells start
cells     174197  174186  0 13:16 pts/0    00:00:06 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.gateway.websocket$
cells     174198  174186  0 13:16 pts/0    00:00:08 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.search$
cells     174199  174186  0 13:16 pts/0    00:00:06 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.tasks$
cells     174201  174186  0 13:16 pts/0    00:00:03 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.sync.pydiods1$
cells     174211  174186  0 13:16 pts/0    00:00:03 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.sync.personal$
cells     174229  174186  0 13:16 pts/0    00:00:03 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.objects.local1$
cells     174231  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.sync.versions$
cells     174243  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.jobs$
cells     174251  174186  0 13:16 pts/0    00:00:03 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.sync.cellsdata$
cells     174256  174186  0 13:16 pts/0    00:00:03 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.sync.thumbnails$
cells     174324  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.index.pydiods1$
cells     174325  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.index.personal$
cells     174326  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.index.versions$
cells     174327  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.index.thumbnails$
cells     174328  174186  0 13:16 pts/0    00:00:04 cells start --fork --config local --registry grpc://:8000 --broker grpc://:8003 ^pydio.grpc.data.index.cellsdata$

Don’t know what I did wrong… maybe somebody else does…

After 10 Minutes errors show up (the error timestamps here do not relate to the first time I started the application):

2021-11-04T13:26:02.750+0100    INFO    pydio.grpc.data.sync.thumbnails Trying to contact object service data.objects.local1 (retry 1)
2021-11-04T13:26:02.824+0100    ERROR   pydio.grpc.jobs Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \\\"transport : Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:02.824+0100    INFO    pydio.grpc.data.sync.pydiods1   Trying to contact object service data.objects.local1 (retry 1)
2021-11-04T13:26:02.979+0100    INFO    pydio.grpc.data.sync.cellsdata  Trying to contact object service data.objects.local1 (retry 1)
2021-11-04T13:26:02.988+0100    ERROR   pydio.grpc.data.objects.local1  Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc  = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:03.074+0100    INFO    pydio.grpc.data.sync.versions   Trying to contact object service data.objects.local1 (retry 1)
2021-11-04T13:26:03.092+0100    INFO    pydio.grpc.data.sync.personal   Trying to contact object service data.objects.local1 (retry 1)
2021-11-04T13:26:08.198+0100    INFO    pydio.grpc.data.index.personal  2021-11-04T13:26:08.197+0100    INFO            Creating root node in index
2021-11-04T13:26:08.200+0100    ERROR   pydio.grpc.data.index.personal  Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:08.201+0100    INFO    pydio.grpc.data.index.versions  2021-11-04T13:26:08.200+0100    INFO            Creating root node in index
2021-11-04T13:26:08.205+0100    ERROR   pydio.grpc.data.index.versions  Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:08.205+0100    INFO    pydio.grpc.data.index.thumbnails        2021-11-04T13:26:08.204+0100    INFO            Creating root node in index
2021-11-04T13:26:08.207+0100    ERROR   pydio.grpc.data.index.thumbnails        Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection err or: desc = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:08.223+0100    INFO    pydio.grpc.data.index.pydiods1  2021-11-04T13:26:08.223+0100    INFO            Creating root node in index
2021-11-04T13:26:08.224+0100    INFO    pydio.grpc.data.index.cellsdata 2021-11-04T13:26:08.223+0100    INFO            Creating root node in index
2021-11-04T13:26:08.225+0100    ERROR   pydio.grpc.data.index.pydiods1  Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:26:08.227+0100    ERROR   pydio.grpc.data.index.cellsdata Could not run   {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"Error creating stream: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \\\"transport: Error while dialing dial tcp :8003: connect: connection refused\\\"\",\"status\":\"Internal Server Error\"}"}
2021-11-04T13:36:01.776+0100    ERROR   pydio.grpc.activity     Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.776+0100    ERROR   pydio.grpc.timer        Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.776+0100    ERROR   pydio.rest.mailer       Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.778+0100    ERROR   pydio.rest.jobs Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.779+0100    ERROR   pydio.rest.activity     Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.779+0100    ERROR   pydio.grpc.versions     Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.781+0100    ERROR   pydio.grpc.mailer       Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:01.979+0100    ERROR   pydio.rest.auth Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:05.984+0100    ERROR   pydio.gateway.dav       Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.028+0100    ERROR   pydio.rest.share        Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.028+0100    ERROR   pydio.gateway.wopi      Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.030+0100    ERROR   pydio.rest.tree Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.030+0100    ERROR   pydio.rest.templates    Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.030+0100    ERROR   pydio.rest.meta Could not prepare start         {"error": "timeout"}
2021-11-04T13:36:06.030+0100    ERROR   pydio.rest.search       Could not prepare start         {"error": "timeout"}
2021-11-04T13:56:03.036+0100    ERROR   pydio.grpc.tasks        Could not prepare start         {"error": "timeout"}
2021-11-04T13:56:03.094+0100    ERROR   pydio.gateway.websocket Could not prepare start         {"error": "timeout"}
2021-11-04T13:56:07.982+0100    INFO    pydio.grpc.data.sync.cellsdata  Trying to contact object service data.objects.local1 (retry 2)
2021-11-04T13:56:08.629+0100    INFO    pydio.grpc.data.sync.thumbnails Trying to contact object service data.objects.local1 (retry 2)
2021-11-04T13:56:08.714+0100    INFO    pydio.grpc.data.sync.pydiods1   Trying to contact object service data.objects.local1 (retry 2)
2021-11-04T13:56:08.952+0100    INFO    pydio.grpc.data.sync.versions   Trying to contact object service data.objects.local1 (retry 2)
2021-11-04T13:56:08.973+0100    INFO    pydio.grpc.data.sync.personal   Trying to contact object service data.objects.local1 (retry 2)

Well, after many hours of digging in the dirt I finally gave a virtual IP adress a try, at least to get rid of the annoying warnings no private IP detected for binding broker:

#> ip addr add 10.0.0.1/8 dev eth0 label eth0:1

What should I say: that solves the problem!

Well done documentation! At least here adding a private IP is not optional!

1 Like

This topic was automatically closed 11 days after the last reply. New replies are no longer allowed.