Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[BUG] Authentication fails with "Unknown error." #21

@mhellmeier

Description

@mhellmeier

Describe the bug
I am using the self-hosted standard notes server for quite a long time. I connect to it with the mobile, desktop or web app. For some days I can't log in with my credentials to the server anymore. The web app only shows an "Unknown error.". When filling the Authentication Required dialog in the desktop app, it shows an "Invalid authentication. Please try again." error.

The credentials are 100% correct and I also checked all the hints mentioned in this help post.

I have also got a client running where I am still logged in. I tried to create an export (because I need to type in my password) und that works. Thus, the credentials are correct and sometimes working.

To Reproduce
Steps to reproduce the behavior:

  1. Try to login with the correct credentials
  2. Application shows error message (depends on the client)

Expected behavior
Successful login.

Logs
When I try to login in the web app, the log of the server shows the following:
{"level":"INFO","time":"2021-07-14T15:29:39.822+00:00","message":"{\"method\":\"GET\",\"path\":\"/v1/login-params\",\"format\":\"*/*\",\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.31,\"view\":0.13,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":7873241.211612376,\"params\":{\"email\":\"XXX@XXX.de\",\"api\":\"20200115\",\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"v1/login-params\",\"application\":{}},\"level\":\"WARN\"}","ddsource":["ruby"]}

Service Versions:
The latest version of the standardnotes/syncing-server:stable docker image.

Additional context
Maybe there are connection points with this issue!?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglegacyFor issues pertaining to the legacy syncing servers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions