b2b-saaskit icon indicating copy to clipboard operation
b2b-saaskit copied to clipboard

PropelAuth Service Unavailability (503 Error) and Reconnection Troubleshooting

Open francescosilvano opened this issue 10 months ago • 9 comments

The PropelAuth service is currently experiencing downtime, leading to a 503 error being displayed when attempting to access the service. Users encountering this error are unable to proceed with authentication.

image

francescosilvano avatar Aug 08 '23 18:08 francescosilvano

Hi @francescosilvano - thanks for this. We've been trying to get @propelauth to help us sort this out, but they've not had time. If they don't fix it, we'd have to move to another provider, which is quite a bit of work, unfortunately.

abs avatar Aug 24 '23 20:08 abs

Next.js doesn't support SSL locally while PropelAuth expects the endpoints to be https://localhost:3000

I followed this tutorial and got it to work (after changing endpoint port to 3001 in propelauth) - https://www.makeswift.com/blog/accessing-your-local-nextjs-dev-server-using-https

eilam-stream avatar Sep 14 '23 00:09 eilam-stream

@eilam-stream why do you say PropelAuth expects the endpoint to be https?

My setting looks like

image

And it works fine. Are you getting an error with plain http?

This particular issue is about PropelAuth returning a 503 in production, which is sometimes preventing our users (folks trying to sign up on promptswithfriends.com) from from creating accounts.

abs avatar Sep 14 '23 00:09 abs

Realized that the guide in /setup has https:// and that was the real issue of my problem - copy/pasta and not reading careful enough. Ignore my previous comment.

(Also in /setup section 9 has https://promptswithfirends.com/app. - friends is misspelled)

eilam-stream avatar Sep 14 '23 16:09 eilam-stream

Realized that the guide in /setup has https:// and that was the real issue of my problem - copy/pasta and not reading careful enough. Ignore my previous comment.

(Also in /setup section 9 has https://promptswithfirends.com/app. - friends is misspelled)

Fixed! Thank you!

abs avatar Sep 18 '23 03:09 abs

Any update on this? I get the 503 in dev, and in prod the page is stuck in an infinite refresh, as soon as I open /app.

giobirkelund avatar Oct 18 '23 05:10 giobirkelund

Hi @giobirkelund - sadly, no. You can try [email protected] to see what their plans are on fixing the 503 issue. A proper fix would involve replacing PropelAuth with something else, but we don't have the time to do it at this moment.

abs avatar Oct 18 '23 05:10 abs

Thanks for the speedy response, and the work you guys have done on this app. I sent them a message on the repo's behalf, and will look into swapping the auth for something else. Any suggestions off the top of your head for b2b saas?

giobirkelund avatar Oct 18 '23 05:10 giobirkelund

Clerk supports organizations - https://clerk.com/docs/organizations/overview - so it's probably the most obvious replacement. Their organization pricing used to be somewhat draconian (three users per org for free), but I don't see any mention of it anymore. If you decide to do this, we'll help you out :)

abs avatar Oct 18 '23 05:10 abs