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

Can't start workspace from a BitBucket branch HTTPError: Not Found #19485

Open
srgwsrgwetgethg opened this issue Feb 29, 2024 · 6 comments
Open
Labels
team: team-experience type: bug Something isn't working

Comments

@srgwsrgwetgethg
Copy link

Bug description

Since renaming the Projects page, it seems to be impossible to create a new workspace from a prebuild. There is nowhere a button to be found to do this. Using the 'New Workspace' on the Workspaces page and the url of a (bitbucket branch) results in "We're sorry, there seems to have been an error.
HTTPError: Not Found"

gitpod has become unusable for us. We are a paying customer

Steps to reproduce

  • Create a prebuild for any branch
  • Try to make a new workspace for it

Workspace affected

No response

Expected behavior

Being able to create a new workspace for a prebuild.

Example repository

No response

Anything else?

No response

@srgwsrgwetgethg srgwsrgwetgethg added the type: bug Something isn't working label Feb 29, 2024
@mustard-mh
Copy link
Contributor

mustard-mh commented Feb 29, 2024

Hey @srgwsrgwetgethg, thank you for your feedback. Regarding your issue with creating a new workspace from a prebuild, we have removed this functionality. New workspaces should automatically use theirs prebuilds without manual intervention.

Using the 'New Workspace' on the Workspaces page and the url of a (bitbucket branch) results in "We're sorry, there seems to have been an error. HTTPError: Not Found"

This one seems to be a bug, would be good if you could share more information to help us debug with:

  • The bitbucket branch url (hide the host if sensitive) that can't start a workspace. We 'd like to know its format
  • A screenshot for this failed new workspace view
  • Did you enabled your BitBucket integrations in your settings? [document]
    • If enabled, and that repo is private, you may need to grant private repo's permission

I'll update this issue's title, feel free to update again if it's not align to the real issue

@mustard-mh mustard-mh changed the title Impossible to create a new workspace from a prebuild Can't start workspace of a BitBucket branch HTTPError: Not Found Feb 29, 2024
@mustard-mh mustard-mh changed the title Can't start workspace of a BitBucket branch HTTPError: Not Found Can't start workspace from a BitBucket branch HTTPError: Not Found Feb 29, 2024
@srgwsrgwetgethg
Copy link
Author

After some more testing I discovered the following:
It seems that the branch url now is case sensitive, if the branch-name contains an uppercase letter, the 'new workspace' dialog suggests the same name in all lowercase, however, the when selecting the suggested name, the dialog reports 'url not found'. Creating a branch with all lowercase does work. This is a bug, url's and especially branch names should be case sensitive or at least when using the url with an uppercase letter it should be found.

However! This was a prebuild we created before the update of the projects-page. I created a new branch, all lowercase, and it seems the be impossible to create a prebuild of it.

Apart from that, we have a complex setup in which many external resources are downloaded during the prebuild. The automatically triggered prebuild with 5 necessary check ins without the option of manually triggering the prebuild is no option for us. Also we have seen that prebuilds stopped working after a while probably due to updates of gitpod. It was enough to manually start the prebuild to get it working again, now we are forced to do unnecesary commits.

This update is really, really, really very annoying.

@mustard-mh
Copy link
Contributor

mustard-mh commented Feb 29, 2024

@srgwsrgwetgethg I'm sorry for bring you bad experience 🙏

It seems that the branch url now is case sensitive, if the branch-name contains an uppercase letter, the 'new workspace' dialog suggests the same name in all lowercase, however, the when selecting the suggested name, the dialog reports 'url not found'. Creating a branch with all lowercase does work. This is a bug, url's and especially branch names should be case sensitive or at least when using the url with an uppercase letter it should be found.

Yes, I could reproduce this, I'll create an issue for it.

As a workaround, you could try with our Browser Extension or use gitpod.io/#<your_scm_url> to create a workspace.

However! This was a prebuild we created before the update of the projects-page. I created a new branch, all lowercase, and it seems the be impossible to create a prebuild of it.

Do you mean the new Prebuilds View can't create prebuild manually for a specified branch? yes, indeed. It's in our plan, we will add it back. We recommend users to manage their prebuild settings to trigger them automatically, may I ask you to have a try? (see screenshot below, it should locate on your repository (old naming project) settings)🙏

workaround: you could still access https://gitpod.io/projects to use old project view, it's not removed yet.

Also we have seen that prebuilds stopped working after a while probably due to updates of gitpod.

I'm not sure how this is going to happen, prebuild is suppose to have 1 hour to run. Would you mind share more context? Like your unexpected stopped prebuilds id or url

Prebuild Settings
image

@srgwsrgwetgethg
Copy link
Author

The prebuild not starting was probably caused by a syntax error in the .gitpod.yml file. That was my mistake. The prebuild is now running. It would be nice to have some kind of feedback when a prebuild can't start because of such an error.

And a clarification of the last point: Also we have seen that prebuilds stopped working after a while probably due to updates of gitpod. With that I meant:
It's not that prebuilds are not running or unexpectedly stopping, it is that a new workspace based upon an existing prebuild does not work properly anymore. The behaviour of new Workspaces based upon the same prebuild changes.

@mustard-mh
Copy link
Contributor

mustard-mh commented Mar 1, 2024

The prebuild not starting was probably caused by a syntax error in the .gitpod.yml file. That was my mistake. The prebuild is now running. It would be nice to have some kind of feedback when a prebuild can't start because of such an error.

@srgwsrgwetgethg Thanks for troubleshooting and clarification!🧡 I will share this feedback to our team

FYI. We recommend users to validate .gitpod.yml or Dockerfile image changes via gp validate --prebuild [document]

it is that a new workspace based upon an existing prebuild does not work properly anymore. The behaviour of new Workspaces based upon the same prebuild changes.

Could you share a workspace ID / url that you expect it to run base on a prebuild to us to debug?

@srgwsrgwetgethg
Copy link
Author

No because our solution to the problem was to rebuild the prebuild. And now we don't have a prebuild in that state,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: team-experience type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants