Skip to content

Coder Gateway plugin is continuing to render Retrieving products... when target OS can't be determined #10

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

Closed
fioan89 opened this issue Jun 16, 2022 · 0 comments · Fixed by #22

Comments

@fioan89
Copy link
Collaborator

fioan89 commented Jun 16, 2022

The IDE and project for workspace screen is trying to contact the workspace in order to determine it's OS and arch. If this fails the IDE dropdown continues to render Retrieving products.. without any notification or error that the remove machine could not be contacted.

2022-06-16 23:56:10,796 [ 173149]   INFO - CoderLocateRemoteProjectStepView - Retrieving available IDE's for Rocky workspace...
......

2022-06-16 23:56:11,216 [ 173569]   WARN - #c.i.s.i.s.sshj - Failed to connect. Brief info: SSH connection to coder@coder.Rocky:0

image

@fioan89 fioan89 added the bug label Jun 16, 2022
fioan89 added a commit that referenced this issue Jun 23, 2022
- the IDEs combobox is no longer stuck with the text "Retrieving
  products.." if an exception happens in the code.
- instead, exceptions are handled a new custom combo box renderer
  is installed that tells the user that an error was encountered
  while retrieving the IDEs.
- resolves #10
fioan89 added a commit that referenced this issue Jun 23, 2022
- the progress icon in the IDE selection combo box was not
  spinning while IDEs were loading.
- there were two reasons:
    1. the combo box did not enable animated icons in the
    renderer
    2. the cell renderer implementation did not repaint
   the icon
- resolves #4

- the IDEs combo box is no longer stuck with the text "Retrieving
  products.." if an exception happens in the code.
- instead, exceptions are handled a new custom combo box renderer
  is installed that tells the user that an error was encountered
  while retrieving the IDEs.
- resolves #10
@matifali matifali removed the bug label Oct 15, 2024
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

Successfully merging a pull request may close this issue.

2 participants