Nutlope / roomGPT

Upload a photo of your room to generate your dream room with AI.
https://www.roomgpt.io/
MIT License
9.78k stars 1.29k forks source link

I got error on the Google authentication. 'https://room.mic9chan.com/api/auth/signin?error=Callback'. Can you tell me know how to fix it or bypass it? #65

Closed mmtechhk closed 1 year ago

mmtechhk commented 1 year ago

Error: https://room.mic9chan.com/api/auth/signin?error=Callback

Website URL: https://room.mic9chan.com image

Already setup all the necessary variables image image

R3P-tech commented 1 year ago

I've got the same problem and i followed the fix from your previous issue (one click depoly to Vercel got below error #56) So this is probably linked to the what we did previously:

// update your .env file with both the DATABASE_URL and DIRECT_URL variables settings. As shown in the following example, set DATABASE_URL to the pooled connection string for your Neon database, and set DIRECT_URL to the non-pooled connection string.

DATABASE_URL="postgres://casey:@ep-square-sea-260584-pooler.us-east-2.aws.neon.tech:5432/neondb?pgbouncer=true" DIRECT_URL="postgres://casey:@ep-square-sea-260584.us-east-2.aws.neon.tech:5432/neondb" //

If i use postgres://casey:@ep-square-sea-260584.us-east-2.aws.neon.tech:5432/neondb (without bouncer) for DATABASE & DIRECT, i've no more the login issue, but image generation doesn't work 100% of the time.

mmtechhk commented 1 year ago

Hi R3P-tech, thanks for your reply. After I add '?pgbouncer=true' at the end of the DATABASE_URL, it is working!!!

rgsaura commented 1 year ago

pff I have been trying EVERYTHING and its not working for me, if anyone got any other solutions please tell me 🙏 .

@mmtechhk I have tried with your website https://room.mic9chan.com/ and it still has the error. Did you manage to fix it elsewhere?