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

Connection attempt failed #54

Open
Chiara-Colombo opened this issue May 8, 2023 · 3 comments
Open

Connection attempt failed #54

Chiara-Colombo opened this issue May 8, 2023 · 3 comments

Comments

@Chiara-Colombo
Copy link

Chiara-Colombo commented May 8, 2023

I think I'm doing something worng. I continue to receive this message:
image

And this is the command promt:

C:\Users\User>python -m remy.gui
[I] STARTING: Mon May  8 17:11:11 2023
[I] Configuration loaded from C:\Users\User\AppData\Local\remy\remy\config.json.
[W] No key nor password given. System-wide SSH connection parameters are going to be used.
[I] Using known hosts file: C:\Users\User\AppData\Local\remy\remy\known_hosts
[I] Loaded known hosts from C:\Users\User\AppData\Local\remy\remy\known_hosts
[I] Connecting...
[E] Could not connect to 10.11.99.1: No authentication methods available
[E] RETRY? [No authentication methods available]

and here is my config file:

{
  "default_source": "default",
  "sources": {
    "default": {
      "name": "reMarkable (USB-SSH)",
      "type": "ssh",
      "host": "10.11.99.1",
      "password": "{I wrote the password}",
      "username": "root",
      "timeout": 3,
      "use_banner": "remy-banner.png"
    },
    "wifi": {
      "name": "reMarkable (RSync)",
      "type": "rsync",
      "data_dir": "/Users/bordaigorl/remy",
      "host": "remarkable",
      "key": "~/.ssh/id_rsa",
      "username": "root",
      "timeout": 3,
      "use_banner": "remy-banner.png"
    },
    "backup": {
      "name": "Latest Backup",
      "type": "local",
      "documents": "/Users/bordaigorl/rmbackup/latest",
      "templates": "/Users/bordaigorl/rmbackup/templates"
    }
  },
  "preview": {
    "eraser_mode": "accurate"
  },
  "export": {
    "default_dir": "/Users/bordaigorl/Documents",
    "open_exported": true
  }
}

what am I doing worng?

@bordaigorl
Copy link
Owner

Hi, thanks for the report.
A first question: which version of the firmware is your tablet running?

The configuration file looks fine, but it seems to me like it's not saved where Remy is expecting it to be (i.e. C:\Users\User\AppData\Local\remy\remy\config.json as mentioned in the log).
In particular, the line

 [W] No key nor password given. System-wide SSH connection parameters are going to be used.

indicates that the password in the config is not picked up by Remy.
Can you check that your config is saved at C:\Users\User\AppData\Local\remy\remy\config.json?

@Chiara-Colombo
Copy link
Author

Chiara-Colombo commented May 18, 2023

I'm on the latest beta 3.4.0.1778. (I want to use remy for pdfs not for notebooks).
Yes, I've saved it corretly.(I've also tried to delete and save it again but nothing worked). I also have to say that if I click on settings it opens the file config.json correctly.

@bordaigorl
Copy link
Owner

bordaigorl commented May 18, 2023

Ah it might be because you are on the new version.
Remy is completely untested on v3 of the firmware (I myself avoided updating and I am still on v2).
Remy does not support the new format with text at the moment.
You might have better luck with RCU; there was a recent release providing support for v3. It's affordable and pretty good.

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