rwth-acis / las2peer

A Java-based decentralized framework for distributing community services in a peer-to-peer infrastructure.
https://las2peer.org
Other
52 stars 13 forks source link

[BUG] "Passphrase Invalid" error when logging in #88

Closed Aran30 closed 3 years ago

Aran30 commented 3 years ago
  1. Summary When using a service with a webconnector and bootstrapping another service to it with its own webconnector, sometimes the login will work on one service's frontend but not on the other, resulting in the "passphrase invalid" error. Making the user unable to use the service linked to the node.
  2. Bug Details - A detailed explanation of the issue, structured in subsections:
    1. What? - Logging in as a user is sometimes not possible and the error "passphrase invalid" appears.
    2. Where? - Node frontend learning layers login.
    3. When?/How often? - After trying for some time, I did not manage to consecutively reproduce the error. From my perspective it also seemed a bit non-deterministic.
    4. How? - Start a node with a service. Go to the node frontend and log in using learning layers. Start another node which will get bootstrapped to the firstnode but which will have its own webconnector running (Note that when I tested it, both webconnectors were running on 127.0.0.1 but had different ports).

As both nodes were running on 127.0.0.1, I thought that maybe the bug would be linked to the cookies generated from the learning layers login. But, after playing for a while with the cookies as well, I still did not manage to reproduce the bug in a consecutive manner.

As this bug was not noticed before and I myself did not manage to reproduce it after trying for some time, I'd say that it has not the highest priority in terms of issues.

Aran30 commented 3 years ago

Did not happen again since then, will close for now.