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