Skip to content

Log in + log out + log in to Arduino Cloud cycle does not work #1887

Open
@kittaakos

Description

@kittaakos

Describe the problem

I cannot log in to Arduino Cloud for the second time.

2023-02-14T11:25:55.776Z root ERROR Uncaught Exception: 
2023-02-14T11:25:55.776Z root ERROR Error: Error listening to server
    at Server.<anonymous> (/Applications/Arduino IDE 2.0.3.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/auth/authentication-server.js:52:20)
    at Server.emit (node:events:394:28)
    at emitErrorNT (node:net:1342:8)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

To reproduce

  • Start IDE 2.0.3 (and if you're logged in, log out),
  • Log in to Arduino Cloud (works),
  • Log out (works),
  • Log in to Arduino Cloud (bug).

Log in:

Screen Shot 2023-02-14 at 12 25 54

Log out:

Screen Shot 2023-02-14 at 12 25 49

Expected behavior

I can log in and log out as many times I want.

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

I was sure there was an existing issue for the problem as it had been bogus from day one, but I could not find it.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: cloudRelated to Arduino Cloud and cloud sketchestopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions