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.

Remix 1.8 seems to break ClerkApp or ClerkCatchBoundary

See original GitHub issue

Package + Version

  • @clerk/remix: 1.4.1

Description

We have three Remix apps that use the same Clerk app for authentication. All three apps are hosted on the same domain:

  • app1.domain
  • app2.domain
  • app3.domain

We’ve been developing and deploying just fine until we upgraded to the latest Remix 1.8.1, which has routing changes and changes to how throw responses are handled by CatchBoundary, which is why I suspect the issue is either in ClerkApp or ClerkCatchBoundary.

Right now we just get a 401 and then nothing. The interstitial never loads (which is what’s responsible for loading clerk_browser.js if I’m understanding things correctly).

Instead of data.clerkState.__internal_clerk_state, I get a message 🔒 Clerk: This state shouldn't be possible. Please reach out to support@clerk.dev so we can help...

https://github.com/remix-run/remix/releases/tag/remix%401.8.0

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gsongcommented, Dec 8, 2022

@nikosdouvlis I can confirm that the hot fix worked for our use case.

0reactions
nikosdouvliscommented, Dec 8, 2022

@gsong Thank you! 😃

This is going to be fixed by https://github.com/remix-run/react-router/pull/9702 in an upcoming Remix release - possibly the next one.

However, I’d also like to let you know that we’ve released @clerk/remix@1.4.2 which includes a hotfix that should unblock you until the official Remix fix is out. Feel free to try it out and please let me know if you hit any issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

useCatch in root CatchBoundary returns nested route's data if ...
It looks like the behavior of the useCatch / CatchBoundary changed between Remix versions 1.7.6 and 1.8, breaking our integration for some specific...
Read more >
Rjo - River Thames Conditions - Environment Agency - GOV.UK
Master b break em off, Strawberry mille-feuille cake recipe? ... Uttrakhand high court clerk result 2012, L autrichienne meaning, Highlights 2015 dark hair, ......
Read more >
ORDINANCE NO. 348 - Riverside County Planning Department
671 within ten days after the notice of decision appear on the Board's agenda. If a timely appeal is filed, the Clerk shall...
Read more >
pennsylvania orphans' court rules proposed new rules i ...
Explanatory Comment: Rule 1.8 has been modified from former Rule 1.3 by now mandating the exclusive use of forms promulgated by the Supreme...
Read more >
Assessing the Theory and Practice of Criminal Sentencing
State law requires court clerks to forward guidelines worksheets and sentencing order to state law requires departures to be accompanied by written ...
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