question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't create or start a workspace after creating account using GitHub OAuth

See original GitHub issue

I’m a new user. When I signed up, I used the “Log in with github” feature. I got an email from Codenvy saying my username is “github1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192”. That’s not a very useful username, but I can’t find any place to change it.

Now, every time I try to create a workspace, I get an error message saying, Error response from docker API, status: 500, message: Error response from daemon: repository name must not be more than 255 characters. The username is only 181 characters, but I suspect that it’s used as part of the repository name, and is making it too long.

The relevant code appears to be here.

I suspect that for some reason it tried to assign me the username “github”, and when that was taken, it then for some other reason kept appending instead of replacing integers until it found an available name… in which case you should find find 91 other Codenvy users called “github”, “github1”, “github12”, “github123”, and so on… 😃

Which begs the question, why was it trying to assign me the username “github” in the first place? The email address I use for my github login is “github@…”, so perhaps it automatically uses the first part of the email address as the username? If so, than if I were, say, “bob@…” or any other common email prefix, I probably would have the same problem.

It seems like it’s important to let users change their usernames, or at least to choose one at sign-up - even if the keep-appending-numbers bug is fixed, I don’t see why users should get stuck with automatically appended numbers at all.

Reproduction Steps:

  1. Create an account using Github oauth.
  2. Click “Create Workspace” on the dashboard.
  3. Create a new Workspace from any stack.
  4. Click “Create.”
  5. Get error message.

Codenvy version: 5.11.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
skryzhnycommented, Jun 19, 2017

i think it reasonable to move UserID and environment name and forthcoming organization names to container’s label. So image name would contain only WorkspaceID and MachineID and thus not cause problems with creating images, WDYT?

1reaction
ghostcommented, Jun 8, 2017

Labeling this as a bug

You may delete this account and register with email, and then associate your github account with a newly created Codenvy account.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authorizing OAuth Apps - GitHub Docs
When authorizing an OAuth App, you should ensure you trust the application, review who it's developed by, and review the kinds of information...
Read more >
Creating a new organization from scratch - GitHub Docs
Creating a new organization from scratch · In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon...
Read more >
Setting up GitHub Desktop
After authenticating your account, you are ready to manage and contribute to projects with GitHub Desktop. Part 3: Configuring Git. You must have...
Read more >
`tfe_workspace` `vcs_repo` error · Issue #9 - GitHub
Created the workspace with TFE provider upon initial apply; Tried to add the vcs_repo block to that workspace after - it errored (first...
Read more >
Marketplace Actions Google workspace user to GitHub Org User
Click a user to edit them · Click 'user information' · Under Accounts, click github · Add all the github accounts for that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found