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

RPi Connect Signin Fails (v1.0.0) #200

Open
zytegalaxy opened this issue Dec 26, 2024 · 0 comments
Open

RPi Connect Signin Fails (v1.0.0) #200

zytegalaxy opened this issue Dec 26, 2024 · 0 comments

Comments

@zytegalaxy
Copy link
Collaborator

I believe this has been caused by RPi Connect software upgrade since this issue didn't exist. This issue is observed on the following version of ubo app:

ubo@ubo-3w:~ $ rpi-connect --version
rpi-connect 2.1.0 (revision 04b828e0aa7964e81087bbebada0e68fe2a9c387) [arm64]

I added a logger where we are processing the output of the rpi-connect signin command and seems like the output received is empty:

output = (await self.process.stderr.readline()).decode()
logger.info(
    'RPI Connect Output:',
    extra={
          'output': output,
    },
)
regex = r'^Complete sign in by visiting (?P<url>[^\n]*)'
match = re.search(regex, output)
1734852936.694978 [INFO] RPI Connect Output: - extra: {
  "output": "
"

I think the issue might be caused by changes to STDOUT format of the sign-in command:

Screenshot 2024-12-21 at 11 37 59 PM
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

1 participant