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

amazonq: Q panel is empty (raspberry pi + vscode.dev) #5753

Open
pugpapa opened this issue Oct 9, 2024 · 9 comments
Open

amazonq: Q panel is empty (raspberry pi + vscode.dev) #5753

pugpapa opened this issue Oct 9, 2024 · 9 comments
Labels
amazonq bug We can reproduce the issue and confirmed it is a bug. guidance General information and guidance, answers to FAQs, or recommended best practices/resources. platform:web webview

Comments

@pugpapa
Copy link

pugpapa commented Oct 9, 2024

System details (run AWS: About and/or Amazon Q: About)

  • OS: PiOS
  • Visual Studio Code version: 1.93.1
  • AWS Toolkit version:
  • Amazon Q version: 1.28

Question

I'm on a Raspberry Pi5 and wanting to use Amazon Q on vscode.dev to develop over the remote tunnel. Is this possible? I am able use it when I'm on the Raspberry Pi itself, but not remotely.

@pugpapa pugpapa added the guidance General information and guidance, answers to FAQs, or recommended best practices/resources. label Oct 9, 2024
@justinmk3
Copy link
Contributor

Not yet, but subscribe to #2205 for future updates.

@justinmk3
Copy link
Contributor

justinmk3 commented Oct 24, 2024

#5847 may fix the "remote tunnel" case.

@hayemaxi
Copy link
Contributor

This may have been fixed in Amazon Q 1.31.0, can you verify?

@pugpapa
Copy link
Author

pugpapa commented Oct 30, 2024

It is not. I am on 1.32 and when I click on the red box to sign in with my Builder ID, nothing happens. Is there an alternate way to authenticate?

@justinmk3
Copy link
Contributor

justinmk3 commented Oct 30, 2024

Can you provide the Amazon Q logs?

  1. In the vscode command palette, run Amazon Q: View Logs. This reveals the Output panel with Amazon Q Logs selected.
  2. Click the gear icon and choose Debug, then click it again and choose Set As Default.
  3. Perform the steps to reproduce the issue.
  4. Remove any private info from the logs.

Also need details on what is meant by "over the remote tunnel" specifically. Because there are many ways in vscode to use it remotely. Please say the exact steps you use to connect to vscode remote tunnel.

A screenshot (with private info removed) may help.

@pugpapa
Copy link
Author

pugpapa commented Nov 2, 2024

2024-11-02 15:59:02.301 [debug] telemetry: collapsing 1 "aws.amazonq.listCommands" metrics. key={}
2024-11-02 15:59:02.301 [debug] command: running "aws.amazonq.listCommands" with arguments: []
2024-11-02 15:59:02.301 [debug] telemetry: ui_click
2024-11-02 15:59:02.301 [debug] telemetry: collapsing 1 "aws.amazonq.refreshAnnotation" metrics. key={}
2024-11-02 15:59:02.301 [debug] command: running "aws.amazonq.refreshAnnotation" with arguments: [ true ]
2024-11-02 15:59:07.057 [debug] telemetry: collapsing 1 "aws.amazonq.focusChat" metrics. key={ '1': 'source' }
2024-11-02 15:59:07.057 [debug] command: running "aws.amazonq.focusChat" with arguments: [ 'placeholder**', 'codewhispererQuickPick' ]
2024-11-02 15:59:07.128 [debug] telemetry: auth_signInPageOpened
2024-11-02 15:59:07.128 [debug] telemetry: amazonq_openChat

But nothing happens

In case a process tree is helpful:


   1179    1204    1204    1204 ?             -1 SLsl  1000   1:12  \_ /usr/share/code/bin/code-tunnel --verbose --cli-data-dir /home/pugpapa/.vscode/cli tunnel service internal
   1204  327256    1204    1204 ?             -1 S     1000   0:00  |   \_ sh /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/bin/code-s
 327256  327260    1204    1204 ?             -1 Sl    1000   0:10  |       \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/node /hom
 327260  327302    1204    1204 ?             -1 Sl    1000   0:00  |           \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/node 
 327302  327421  327421  327421 pts/1     327421 Ss+   1000   0:00  |           |   \_ /bin/bash --init-file /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11
 327260  327350    1204    1204 ?             -1 Sl    1000   0:00  |           \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/node 
 327260  327518    1204    1204 ?             -1 Sl    1000   0:26  |           \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/node 
 327518  327683    1204    1204 ?             -1 Sl    1000   0:01  |           |   \_ Amazon Q Helper (Workspace Context)
 327518  328580    1204    1204 ?             -1 Sl    1000   0:00  |           |   \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/n
 327260  327549    1204    1204 ?             -1 Sl    1000   0:00  |           \_ /home/pugpapa/.vscode/cli/servers/Stable-65edc4939843c90c34d61f4ce11704f09d3e5cb6/server/node 

I've started up the server on my Pi, and using vscode.dev (connected to my GitHub) to tunnel in.

Not sure what happens on their side, but these are the docs: https://code.visualstudio.com/docs/remote/tunnels

@justinmk3
Copy link
Contributor

justinmk3 commented Nov 4, 2024

when I click on the red box to sign in with my Builder ID, nothing happens

Try clicking it again. There is a known usability issue where if an item in the login menu is expired, it may require multiple clicks.

If that doesn't work, try clicking the Q logo in the vscode sidebar, it should show a login form like this:

image

If you don't see the Q logo in the sidebar, right-click on the sidebar to enable it:

image

@pugpapa
Copy link
Author

pugpapa commented Nov 7, 2024

Nothing shows up in the Q box
Screenshot 2024-11-06 at 21 05 06

@justinmk3 justinmk3 changed the title Raspberry Pi + vscode.dev amazonq: Q panel is empty (raspberry pi + vscode.dev) Nov 7, 2024
@justinmk3 justinmk3 added amazonq webview bug We can reproduce the issue and confirmed it is a bug. labels Nov 7, 2024
@justinmk3
Copy link
Contributor

Possibly vscode's own logs might give a hint, if you can provide those. If vscode is not showing the extension webview, that's very unusual. Does that happen with any other extensions that use webviews, on that same system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazonq bug We can reproduce the issue and confirmed it is a bug. guidance General information and guidance, answers to FAQs, or recommended best practices/resources. platform:web webview
Projects
None yet
Development

No branches or pull requests

3 participants