Back

IP is allowed allow authentication witvercel

  • 0
  • Self Hosted
  • Auth
  • Web
Suiii
7 Jan, 2025, 09:22
TypeScript
    at (node_modules/node-appwrite/dist/client.mjs:278:0)
    at (node_modules/node-appwrite/dist/services/account.mjs:23:0)
    at (app/actions/authActions.ts:57:11)
    at (middleware.ts:14:18)
    at (node_modules/next/dist/esm/server/web/adapter.js:208:0)
    at (node_modules/next/dist/esm/server/web/adapter.js:164:0) {
  name: 'AppwriteException',
  code: 403,
  type: '',
  response: {
  message: 'Direct IP access is not allowed in Vercel\'s Edge environment (hostname: x.x.x.x)'
}
}
TL;DR
Error: IP not allowed for authentication on Vercel. Solution: Use a domain instead of IP for authentication.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more