fogbender / b2b-saaskit

B2B SaaS Starter Kit - create a B2B web app: quickly and for free
https://b2bsaaskit.com
MIT License
557 stars 46 forks source link

PropelAuth Service Unavailability (503 Error) and Reconnection Troubleshooting #143

Open francescosilvano opened 1 year ago

francescosilvano commented 1 year ago

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

abs commented 1 year ago

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.

eilam-stream commented 12 months ago

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

abs commented 12 months ago

@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.

eilam-stream commented 11 months ago

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)

abs commented 11 months ago

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!

giobirkelund commented 10 months ago

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.

abs commented 10 months ago

Hi @giobirkelund - sadly, no. You can try support@propelauth.com 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.

giobirkelund commented 10 months ago

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?

abs commented 10 months ago

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 :)