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.
No description
Solution:
I deleted the user and when he logged in again it all works
Jump to solution
29 Replies
Codercord
Codercord7mo ago
<#1228281150867247124>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Zorkin
Zorkin7mo ago
The user can login and create workspaces successfully via the cli and they work fine. he is the only one impacted
Phorcys
Phorcys7mo ago
hey, is this Coder v1 or v2 ?
Zorkin
Zorkin7mo ago
V2. I believe running the latest version.
Phorcys
Phorcys7mo ago
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?
No description
Zorkin
Zorkin7mo ago
No description
Phorcys
Phorcys7mo ago
alright my bad then, i've never seen an error page like that in Coder
Zorkin
Zorkin7mo ago
Only happens to this one developer.
Phorcys
Phorcys7mo ago
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 end
Zorkin
Zorkin7mo ago
I will need to get him to try on Monday Yeah the template is there and active.
Phorcys
Phorcys7mo ago
that's weird does it also happen on other templates ?
Zorkin
Zorkin7mo ago
For that user I believe it does. But I will confirm Monday Anything else you want me to try
Phorcys
Phorcys7mo ago
I'm trying to think but this first debug step should be enough
Zorkin
Zorkin7mo ago
Happened with all templates
Phorcys
Phorcys7mo ago
@Zorkin can you check this too please ?
Zorkin
Zorkin7mo ago
No issues at all with template page Any attempt to create a workspace ends with the same blowup
Atif
Atif7mo ago
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
Cian
Cian7mo ago
^ 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
Phorcys
Phorcys7mo ago
yup, that was my next step too
Zorkin
Zorkin6mo ago
will do thanks Checked the network tab and all clean ( 200s on all caalls nothing to report )
Cian
Cian6mo ago
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?
Phorcys
Phorcys6mo ago
by the way incognito mode should disable the extensions by default
Cian
Cian6mo ago
Yeah usually but IIRC you can manually set some extensions to run incognito
Zorkin
Zorkin6mo ago
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
Zorkin
Zorkin6mo ago
I deleted the user and when he logged in again it all works
Zorkin
Zorkin6mo ago
Must be some thing half baked in the account
Atif
Atif6mo ago
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.
Phorcys
Phorcys6mo ago
weird.. glad you got it solved, i'll close the issue :-)
Codercord
Codercord6mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server