Open MathiasGruber opened 1 year ago
Hi @MathiasGruber , usually that means that the integration token is not available. is this a production deployment? and it has been deployed after setting up the integration?
Hi @MathiasGruber , usually that means that the integration token is not available. is this a production deployment? and it has been deployed after setting up the integration?
Hi @schehata
I'm facing the same issue and in my case, yes I'm running in production where my token should be exposed. I added next-axiom through Vercel Integration and the following steps described here for tailored logging: https://github.com/axiomhq/next-axiom
Hey MathiasGruber, I was getting the same warning. I added '/_axiom/web-vitals' to my publicRoutes in my middleware and the warning went away. As below:
//middleware.ts import { authMiddleware } from "@clerk/nextjs";
export default authMiddleware({ publicRoutes: [ "/", "/_axiom/web-vitals", // Add this line ], });
export const config = { matcher: ["/((?!.\..|_next).)", "/", "/(api|trpc)(.)"], };
I hope this helps.
Adding web vitals was causing my middleware (using Clerk) to be rerun infinitely. Adding @DC55137's suggestion fixed it for me!
Hello,
I'm developing on the website www.theninja-rpg.com, which is bootstrapped with T3, adapted to use drizzle as ORM and clerk for auth.
I also have axiom setup and deployed using the vercel integration. Looking at the console, I see the following:
Am I doing something wrong? The project source is available at: https://github.com/MathiasGruber/TheNinjaRPG .. I'm pretty sure I've just followed the setup guide, but maybe there is some conflics with e.g. clerk?