Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Nathan Williams
seal-mask
.a{fill-rule:evenodd;}techdegree
Nathan Williams
Python Web Development Techdegree Student 6,851 Points

Workspaces Status Update

Hi everyone,

I wanted to touch base and provide some insight into an ongoing issue that I know has been causing some pain over the last few days, specifically the 'Not Authorized' error showing up in Workspaces.

First, let me assure you we are well aware that this is happening, and we're working hard to reduce the impact, and hopefully make this go away entirely; we don't like this either, but unfortunately we're not in a position to be able to immediately stop the problem, for reasons enumerated below.

Due to the increasing popularity of Workspaces, for the last few months we've been approaching the capacity of the existing Workspaces storage infrastructure. To address this, we investigated a variety of solutions, and as we're swiftly approaching the upper limits of the current system, we are now in the process of re-architecting Workspaces onto a "version 2" storage architecture that will set us up for much more elastic capacity, better performance, and more redundancy going forward. As developers, scale and capacity problems are often referred to as "good problems to have", and that's true; we're hugely honored by the response of the Treehouse community to Workspaces.

In preparation for going live with the new storage infrastructure, on Monday, we began pre-synchronizing existing Workspaces onto the new platform, which has increased load on the already near-capacity "version 1" systems. This was expected, and from the start of this process, we've been aggressively rate-limiting and adjusting CPU and I/O priorities of the synchronizing processes to prevent I/O saturation and prevent an increase in latency.

This has been working fairly well, but the increased load has revealed some unexpected behaviors in one of the key backend Workspace services that we didn't anticipate. Initially, the increase in Workspace start-errors was attributed to the previously mentioned higher system load, but experimentation with increasing the degree of throttling applied to the synchronization process has had very little effect in reducing the occurrence of errors. Once that was eliminated, we began to dig a little deeper, which we've been doing over the last couple of days.

As a result, we've just deployed several mitigations that we believe should help to further reduce the impact of this ongoing process. We will continue to closely monitor Workspaces performance, and take additional steps if necessary to ensure a reasonable quality of service, as we believe the learning process should be as pain-free and pleasant as possible, and we're saddened to witness the frustration the current situation has been causing.

As for the status going forward: we're currently a little less than 50% through the initial synchronization, with an expected completion between Saturday evening and Sunday morning; once that's completed, we'll be continuously running smaller, less impactful re-synchronizations to keep the new storage infrastructure up to date leading up to our final cut-over window in the next couple of weeks (we'll give a day or two of warning ahead of this, so keep your ears open).

Thank you for your patience and understanding; we're really excited about the new system, and we hope that once it's actively serving Workspaces you'll agree that the improved experience will prove worth the transitional difficulties.

If you have any questions, please feel free to ask below, and I'll do my best to address them.

Regards,

Nathan W
Treehouse Site Ops

7 Answers

Nathan Williams
seal-mask
.a{fill-rule:evenodd;}techdegree
Nathan Williams
Python Web Development Techdegree Student 6,851 Points

Hello again,

While yesterday's adjustments didn't have as much impact as we'd hoped, we've identified what we believe to be the root cause of the issue and have just applied an additional correction; As a result, in the last 15 minutes there's been a significant drop in the occurrence of Workspace errors, so I'm reservedly optimistic at this point that we've got it licked. We'll continue to monitor, though, and take additional steps if necessary.

Thanks for hanging in there!

Regards,

Nathan W

Randy Christopher Smith
Randy Christopher Smith
11,296 Points

+Nathan Thank You

Thanks For Letting Us Know What's Going On Behind The Scene At Treehouse As We've Been Experiencing This Non-Authorization thing(about to think som' was wrong with my machine lool).

Treehouse Has Been Doing A Great Job. As Far As I Am Concerned I Only Wish You'll Keep Making Easy and Beautiful Content We May Apply In Our Future. I Will Continue To Be a Religious Treehouser Until That's Done.

P.S. I So Wish that Would Be Some Podcasts on How Everything Got Started WIth Treehouse, Maybe, Say, A 'Keep Up With The Treehouse' kind of Track Type, you know, that would absolutely make everybody feels really part of the family, and that would be definitely be more entertaining than any 'Keep Up With The........', you know what I mean lmaol,

Just Saying Hope You a Good One

Again, Thank You

Randy, out ♦♦♦

Polly Walter
Polly Walter
2,494 Points

Hi, I am still having this problem. Is there an ETA on when it is going to be fixed? Rather frustrating. Thanks

Vlad Pekh
Vlad Pekh
16,771 Points

Same problem. This is the first time this happened to me - "not authorized". any ideas on how to fix it?

Michael Turner
Michael Turner
1,318 Points

2 nights in a row my workspace kept timing out. I tried logging in and out and rebooting my system just in case. Still can't get my workspace to open. It worked just fine on other parts of the track I'm on.

ace boogy
ace boogy
3,480 Points

I'm still getting not authorized error.

Hunter G
Hunter G
6,612 Points

I'm still getting the error as well : / It helps to restart my PC instead of just closing the browser but it wastes time and is very interruptive : /

Miles Aylward
Miles Aylward
13,225 Points

I had this problem and was able to fix it by logging out of my Treehouse account and clearing the cache on my browser. It appears that the browser notices you keep returning to that same url, whatever your workspaces url is, and instead of showing you a new one each time it simply refers to its own cached version.