unexpected application error
Hello ,
One of the devs on my team is unable to use coder. He logs in fine using okta, but when he clicks create workspace it immediately blows up with a JavaScript error ( see attached screen shot) . He’s logged in and out , used a private window but to no effect.
29 Replies
<#1228281150867247124>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
The user can login and create workspaces successfully via the cli and they work fine.
he is the only one impacted
hey, is this Coder v1 or v2 ?
V2. I believe running the latest version.
I think you're on v1 due to how the error message looks
this is what v2 looks like, does your instance look like this?
alright my bad then, i've never seen an error page like that in Coder
Only happens to this one developer.
this is very peculiar
does the
Python-311-rocky9
template still exist ?
also, what happens if you try to access the template page? (with the same user)
it's the same URL without the /workspace
at the endI will need to get him to try on Monday
Yeah the template is there and active.
that's weird
does it also happen on other templates ?
For that user I believe it does. But I will confirm Monday
Anything else you want me to try
I'm trying to think but this first debug step should be enough
Happened with all templates
@Zorkin can you check this too please ?
No issues at all with template page
Any attempt to create a workspace ends with the same blowup
Please report this as a bug on https://github.com/coder/coder
GitHub
GitHub - coder/coder: Provision remote development environments via...
Provision remote development environments via Terraform - coder/coder
^ this, and also it might be good to reproduce the error with the network tab open and looking for any particularly suspect 4xx/5xx XHRs
yup, that was my next step too
will do thanks
Checked the network tab and all clean ( 200s on all caalls nothing to report )
Just double-checking, has the developer in question tried:
- Incognito window
- Incognito window with all extensions disabled (some adblockers can do weird stuff)?
- Incognito window with all extensions disabled and tethered to their phone over LTE (rule out network-level adblockers or other shenanigans)?
- The above on a different machine?
by the way incognito mode should disable the extensions by default
Yeah usually but IIRC you can manually set some extensions to run incognito
this is a work machine
no extensions afaik
but will check
we did try private browsing mode and it made no diff
the only thing i can think of is if we can have source maps to see where it blows
it must be something in his account - i can maybe delete the account and have him login again - we use Okta integration btw
Solution
I deleted the user and when he logged in again it all works
Must be some thing half baked in the account
I remember seeing it a few times too but can't reproduce consistently.
It happens usually if I logout from Coder in one tab and try to refresh the other tab.
weird..
glad you got it solved, i'll close the issue :-)
@Phorcys closed the thread.