Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.

BlackScreen after the auth #340

Closed
studioai opened this issue Apr 26, 2018 · 7 comments
Closed

BlackScreen after the auth #340

studioai opened this issue Apr 26, 2018 · 7 comments

Comments

@studioai
Copy link

studioai commented Apr 26, 2018

When I try to access droppy via my ddns domain. It shows me an auth dialog. After I input my ID/Pass, It only shows a black screen.

my config is below

{
  "listeners": [
    {
      "host": [
        "0.0.0.0",
        "::"
      ],
      "port": 80,
      "protocol": "http"
    }
  ],
  "public": false,
  "timestamps": true,
  "linkLength": 5,
  "logLevel": 0,
  "maxFileSize": 0,
  "updateInterval": 1000,
  "pollingInterval": 0,
  "keepAlive": 20000,
  "allowFrame": false,
  "readOnly": false,
  "compression": false,
  "ignorePatterns": [
    "!!"
  ],
  "watch": true
}

and .service

[Unit]
Description=droppy
After=network.target

[Service]
ExecStart=/usr/local/bin/droppy start -f /mnt/usb_1
Environment="NODE_ENV=production"
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
User=root
Group=root
SyslogIdentifier=droppy
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target

Did I do something wrong?

@studioai studioai changed the title Reverse proxy sample conf for lighttpd BlackScreen after auth Apr 26, 2018
@studioai studioai changed the title BlackScreen after auth BlackScreen after the auth Apr 26, 2018
@silverwind
Copy link
Owner

Any errors visible in the browser console?

@studioai
Copy link
Author

I found a web socket error, Do I need to set a reverse proxy?
I know there’s configuration examples for nginx and Apache. but I’m running a lighttpd. Is there an example for it?

@silverwind
Copy link
Owner

You don't need a reverse proxy, it should run standalone too. Could it be that your browser blocks websockets? Tried any others?

@studioai
Copy link
Author

OK, I'll try to change my web server to nginx. So, let me close this issue.

@silverwind
Copy link
Owner

I meant you should try another browser :)

@studioai
Copy link
Author

Sorry, I forgot to say that I've tried iOS safari and the result was the same. So I'll try nginx server.

@silverwind
Copy link
Owner

Weird, maybe try "logLevel": "3" and watch both server and browser logs. Maybe also try via HTTPS just to be sure nothing is interfering.

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

No branches or pull requests

2 participants