Skip to content

aio auth login gives '127.0.0.1 refused to connect error' in wsl #89

@ShehzadAhm

Description

@ShehzadAhm

Expected Behaviour

aio auth login should redirect to the login page and the login should be successful

Actual Behaviour

On running aio auth login in wsl

  1. it opens the login page but says update to the latest CLI version even though the version is 9.2.0 (latest)

image

Screenshot 2023-04-14 144425

  1. on clicking the link on the login page, it gives 127.0.0.1 refused to connect error

Screenshot 2023-04-14 144744

The browser is Chrome Version 112.0.5615.87 (Official Build) (64-bit)

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Environment Info

  System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (4) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 4.22 GB / 5.79 GB
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 18.15.0 - /usr/bin/node
    Yarn: 1.22.19 - /mnt/c/Program Files (x86)/Yarn/bin/yarn
    npm: 9.5.0 - /usr/bin/npm
  Virtualization:
    Docker: Not Found
  npmGlobalPackages:
    @adobe/aio-cli: 9.2.0

Sample Code that illustrates the problem

Logs taken while reproducing problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions