janelia-flyem / dvid

Distributed, Versioned, Image-oriented Dataservice
http://dvid.io
Other
197 stars 33 forks source link

can not see web page #358

Closed xiuliren closed 3 years ago

xiuliren commented 3 years ago

I started DVID server on a remote workstation with dvid serve ~/.dvid/config-wasptrace.toml, but can not see the webpage. I am using VPN to access the server, but this should not matter I guess.

my toml config file

[logging]
logfile = "/home/jwu/.dvid/log"
max_log_size = 100 # MB
max_log_age = 7   # days

[backend]
    [backend.default]
    store = "main"
    log = "mutationlog"

[store]
    [store.main]
    engine = "basholeveldb"
    path = "db/main"
    # path = "/mnt/ceph/users/neuro/wasp_em/jwu/02_dvid/db/main"

    [store.mutationlog]
    engine = "filelog"
    path = "db/mutationlog"
    #path = "/mnt/ceph/users/neuro/wasp_em/jwu/02_dvid/db/mutationlog"

log information

 INFO No authorization file found.  Proceeding without authorization.
 INFO backend.KVStore[default] = main
 INFO Log not already at path (/mnt/home/jwu/.dvid/db/mutationlog). Creating ...
 INFO 2021/09/03 18:16:23 Database not already at path (/mnt/home/jwu/.dvid/db/main). Creating directory...
 INFO 2021/09/03 18:16:23 leveldb cache size: 537MB
 INFO 2021/09/03 18:16:23 leveldb write buffer size: 63MB
 INFO 2021/09/03 18:16:23 Opening basholeveldb @ path /mnt/home/jwu/.dvid/db/main
 INFO 2021/09/03 18:16:23 Default kv store: basholeveldb @ /mnt/home/jwu/.dvid/db/main
 INFO 2021/09/03 18:16:23 Default log store: write logs @ /mnt/home/jwu/.dvid/db/mutationlog
 INFO 2021/09/03 18:16:23 Metadata store: basholeveldb @ /mnt/home/jwu/.dvid/db/main
 INFO 2021/09/03 18:16:23 Initializing repo management data in storage INFO Store "basholeveldb @ /mnt/home/jwu/.dvid/db/main" auto instance store false
 INFO Store "write logs @ /mnt/home/jwu/.dvid/db/mutationlog" auto instance store false
 INFO 2021/09/03 18:16:23 DVID code version: v0.9.12
 INFO 2021/09/03 18:16:23 Serving HTTP on 0.0.0.0:8000 (host alias "myhostname")
 INFO 2021/09/03 18:16:23 Serving command-line use via RPC 0.0.0.0:8001
 INFO 2021/09/03 18:16:23 Using web client files from /mnt/home/jwu/code/dvid-0.9.12-dist-linux/http/dvid-web-console
 INFO 2021/09/03 18:16:23 Using 32 of 32 logical CPUs for DVID.
 INFO Web server listening at 0.0.0.0:8000 ...

I tried to view the webpage to the myhost:8000, but can not access.

This site can’t be reached
myhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
xiuliren commented 3 years ago

works by using http rather than https

DocSavage commented 3 years ago

Yes, currently the DVID server uses http and if we want https or more elaborate management, we front it using nginx. In the future we move to https support within DVID itself by upgrading the http package framework used.