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

Laverna says "offline" #45

Open
yorkchou92 opened this issue Sep 21, 2017 · 3 comments
Open

Laverna says "offline" #45

yorkchou92 opened this issue Sep 21, 2017 · 3 comments

Comments

@yorkchou92
Copy link

yorkchou92 commented Sep 21, 2017

Hi,here is my restore.js:

process.umask(077);

var reStore = require('restore'),
  store = new reStore.Redis({
  host:     'localhost',    // default is 'localhost'
  port:     6379,                   // default is 6379
  database: 0                      // default is 0
});
    
    server  = new reStore({
                store:  store,
                http:   {host: '127.0.0.1', port: 8000},
				allow:  {signup: true}
              });

server.boot();

and my vhost.conf:

server {
  listen 443;
  ssl_certificate /usr/local/nginx/conf/ssl/yktn.crt;
  ssl_certificate_key /usr/local/nginx/conf/ssl/yktn.key;
  server_name s.yk.tn;
  access_log off;
  
    location / {
        proxy_pass http://localhost:8000;
        proxy_set_header Host $host;
    }
}

server {
  listen 80;
  server_name s.yk.tn;
  access_log off;
  
    location / {
        proxy_pass http://localhost:8000;
        proxy_set_header Host $host;
    }
}

My website goes well, and I can complete the oauth through APPs which support remoteStorage, but it just can't rsync data, Laverna(http://laverna.cc/) says "offline, litewrite(http://litewrite.net/) didn't say it but when I click the sync button, nothing happened.

Can anyone help?

@raucao
Copy link
Contributor

raucao commented Sep 22, 2017

You should see error messages in the console (try to enable the "debug" or "verbose" level in your inspector, if there's nothing otherwise).

If you can find an actual exception or failed requests, it's much easier to help.

@yorkchou92
Copy link
Author

@skddc hi, I checked the informaton of F12 on chrome,. For laverna, when I login with my reStore and complete the oauth, come back to laverna, then nothing happens, even I press the sync button, no request or anything was made according to the "network" of F12. But when I login with other people's reStore, after the login and oauth, constantly retriving and sending keep showing on the "network" tab of F12.

@raucao
Copy link
Contributor

raucao commented Sep 22, 2017

And there's no error message whatsoever, even when you change the log level to "verbose" in the Chrome console?

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