gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Project "stopping..." forever

Open alesanchezr opened this issue 7 years ago • 21 comments

Describe the bug This project is trying to stop unsuccessfully forever:

  • It does not start.
  • It does not stop.
  • It does not give any error. Here is the project: https://gitpod.io/start/#da5c22b0-aabf-425b-99e5-8eef82081c0a

I think it may have been that I left a SSH connection open on the terminal and refreshed the workspace.

To Reproduce Just look at this workspace: https://gitpod.io/start/#da5c22b0-aabf-425b-99e5-8eef82081c0a

Expected behavior It should stop and become idle.

2019-05-07 21 06 07

alesanchezr avatar May 08 '19 01:05 alesanchezr

This was due to a broken node, sorry for the inconveniences. should work again.

svenefftinge avatar May 08 '19 04:05 svenefftinge

I'm still seeing this issue. Check https://gitpod.io/start/#f82f96a4-f22f-42ed-bb7c-4add752612ab

shraddha-chadha avatar May 12 '19 02:05 shraddha-chadha

This issue seems to come back from time to time. See also this report on Spectrum.

I currently see 15 workspace instances created between 2019-10-01T23:35:30.489Z and 2019-10-02T00:17:22.332Z that are stuck in stopping phase.

jankeromnes avatar Oct 02 '19 07:10 jankeromnes

I think this happens on rare occasions when state-change messages get lost, e.g. when a node crashes in our cluster.

Also, it appears that we previously had a mitigation for this issue in place, but it got lost during a recent refactor.

The mitigation should probably be ported over to the new architecture.

jankeromnes avatar Oct 02 '19 07:10 jankeromnes

image I think it stopped

JesterOrNot avatar Oct 02 '19 11:10 JesterOrNot

This time, the issue was that a node in our US cluster ran out of available PIDs, leaving Kubernetes in a weird state (Docker reported workspaces as still running, while they actually didn't exist anymore).

This issue is now resolved, and all 15 workspaces are now marked as "stopped". Furthermore, we won't count these workspace sessions against their owners' Gitpod hours, because they lasted almost 12 hours and that would be unfair.

jankeromnes avatar Oct 02 '19 15:10 jankeromnes

Seems like I have something similar happening to me. It's been in the "stopping" state almost 45 minutes now.

image

Update:

I let it sit for a few hours and it finally killed itself and I was able to start it back up.

dcplaya avatar Oct 14 '19 06:10 dcplaya

I let it sit for a few hours and it finally killed itself and I was able to start it back up.

Ah, sorry that it prevented you from accessing it for so long. Waiting a few hours is not a good experience. Also, I'll make sure that this waiting time is not counted against your Gitpod hours, as that would be totally unfair.

Even if such random server failures are rare, I think our system should better handle them, and not leave workspaces in dangling states for hours.

jankeromnes avatar Oct 15 '19 10:10 jankeromnes

Does this problem just resolve itself then? I currently have a workspace that has been stopping for 21 hours... which is insane. Is there anything anyone found to speed up this process as there is a couple of pending commits. Cheers

tgarratt avatar Apr 08 '20 11:04 tgarratt

Hi @tgarratt, sorry about that. This bug is currently being investigated. In the meantime, we have to manually update the "Stopping" workspaces to "Stopped" (and also make sure that you don't lose any Gitpod hours for all that "stopping" time).

jankeromnes avatar Apr 08 '20 15:04 jankeromnes

Awesome, all sorted now. Hours don't seem to have been used either! Thanks

tgarratt avatar Apr 08 '20 16:04 tgarratt

I seem to be having the same issue, can anyone please do a manual restart on my gitpod workspace, So I had some issue with the gitpod workspace earlier today, and I had to keep closing the workspace, and gitpod had enough with me there and when I clicked restart workspace again, it froze and i closed the page down and tried to close it from there and its been on stopping ever since with over an hour, I have a project due tomorrow evening so this is quite important, as I still need to add comments and validation and clean code up.

Novicetheaf avatar May 03 '20 15:05 Novicetheaf

image

Novicetheaf avatar May 03 '20 15:05 Novicetheaf

This is tracked in #1419

svenefftinge avatar Aug 31 '20 06:08 svenefftinge

Hi, Can you share the workspace id with us.

— Prince Team Workspace Community Captain Gitpod | @gitpod

--- original message --- On February 26, 2022, 10:45 PM GMT+5:30 @.*** wrote:

Hello, as I see, this problem is already old but it is happening to me with this workspace:

https://github.com/4GeeksAcademy/master-javascript-programming-exercises

What can I do for stopping this 'stopping' procese? Because It's taking forever.

Thanks in advance!

—

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: @.***> --- end of original message ---

axonasif avatar Mar 01 '22 05:03 axonasif

Hey @princerachit, this must be some sort of sorcery up there 😂 The message you're replying to from mail was deleted physically here on Github.

axonasif avatar Mar 01 '22 05:03 axonasif

Hello,

I have the same problem, my workspace keep stopping when I try to start it: https://gitpod.io/start/#thorakaleiste-learnweb3-nhj94malmnn https://thorakaleiste-learnweb3-nhj94malmnn.ws-eu59.gitpod.io/

Can you help me please?

Thank you.

ThorakAleister avatar Aug 05 '22 10:08 ThorakAleister

Hi @ThorakAleister ,

It looks like thorakaleiste-learnweb3-nhj94malmnn was soft deleted, which would prevent you from starting it.

I just restored the workspace, and pinned it, so you should be able to start it again.

May we ask you to try again and confirm?

— Team Workspace Community Captain Kyle Gitpod | @gitpod

GitpodFrontApp avatar Aug 08 '22 20:08 GitpodFrontApp

Hello,

I have deleted the workspace that you have restored because I was unable to start it. And it is the same with the "new" workspace that I have created with same ressources from github. Each time I try to start it, the workspace goes to "preparing" => "creating" => "starting" => "Stopping" => "Stopped" status.

Now with the restored workspace, I have something more:

If I try the workspace https://thorakaleiste-learnweb3-nhj94malmnn.ws-eu59.gitpod.io/, the behavior is the same excepting that I don't have any error message, like if the workspace start and decide to close immediately. Each time I click open workspace, it is ending to this status instead of launching the workspace and letting me working in it:

I apologize but my problem is not solved, I am still unable to reach my workspace, maybe I do something wrong?

Thank you, Best regards, Mr. Waltener Fabian

------ Original Message ------ From "GitpodFrontApp" @.> To "gitpod-io/gitpod" @.> Cc "ThorakAleister" @.>; "Comment" @.> Date 08-Aug-22 22:17:11 Subject Re: [gitpod-io/gitpod] Project "stopping..." forever (#551)

Hi there,

It looks like thorakaleiste-learnweb3-nhj94malmnn was soft deleted, which would prevent you from starting it.

I just restored the workspace, and pinned it, so you should be able to start it again.

May we ask you to try again and confirm?

— Team Workspace Community Captain Kyle Gitpod | @gitpod

This is your Request ID: cnv_itburpm

How would you rate our help? {{survey}}

--- original message --- On August 5, 2022 at 6:43 AM EDT @.*** wrote:

Hello,

I have the same problem, my workspace keep stopping when I try to start it:

https://gitpod.io/start/#thorakaleiste-learnweb3-nhj94malmnn

https://thorakaleiste-learnweb3-nhj94malmnn.ws-eu59.gitpod.io/

Can you help me please?

Thank you.

—

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- You received this message because you are subscribed to the Google Groups "gitpod-frontapp" group. To unsubscribe from this group and stop receiving emails from it, send an email to @.*** To view this discussion on the web visit https://groups.google.com/a/gitpod.io/d/msgid/gitpod-frontapp/gitpod-io/gitpod/issues/551/1206306837%40github.com. --- end of original message --- — Reply to this email directly, view it on GitHub https://github.com/gitpod-io/gitpod/issues/551#issuecomment-1208567310, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LQ2KBP7QEP3SD254FSZV3VYFTMPANCNFSM4HLNSY7Q. You are receiving this because you commented.Message ID: @.***>

ThorakAleister avatar Aug 09 '22 10:08 ThorakAleister

:wave: @ThorakAleister , could I ask you to continue this conversation via email, starting with our support form? I ask because your issue isn't necessarily the same as 551.

FYI, I was able to start a workspace from that repo, the workspace I started is https://thorakaleiste-learnweb3-beixip7cr7f.ws-eu59.gitpod.io/. :thinking: When you send the message via the support form, please indicate which IDE you're using? For example VS Code latest, stable, or something else. :pray:

kylos101 avatar Aug 10 '22 17:08 kylos101