Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Fails to initialize a session #16

Description

@akeshwani2

Error: Failed to create session
at ChatFeed.useEffect.initializeSession (http://localhost:3000/_next/static/chunks/app_514080._.js:97:39)

I have re-generated my API keys a bunch of times too, not sure what's going on

Activity

  1. Actpohomoc commented on Jan 26, 2025

    @Actpohomoc

    same error on debian in lxc

    Console Error

    Error: Failed to create session
    Source

    app/components/ChatFeed.tsx (103:19) @ ChatFeed.useEffect.initializeSession

    101 |
    102 | if (!sessionData.success) {

    103 | throw new Error(sessionData.error || "Failed to create session");
    | ^
    104 | }
    105 |
    106 | agentStateRef.current = {

  2. pequege commented on Jan 31, 2025

    @pequege

    console says

    Error creating session: Error: 403 Keep alive sessions are not supported on the FREE plan

  3. unclehowell commented on Feb 3, 2025

    @unclehowell

    GET / 200 in 40157ms
    ○ Compiling /api/session ...
    ✓ Compiled /api/session in 3.9s
    (node:69728) [DEP0040] DeprecationWarning: The punycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...` to show where the warning was created)
    timezone America/Santo_Domingo
    getClosestRegion(timezone) us-west-2
    Error creating session: Error: 403 Keep alive sessions are not supported on the FREE plan
    at async createSession (app/api/session/route.ts:101:18)
    at async POST (app/api/session/route.ts:136:35)
    99 | console.log("timezone ", timezone);
    100 | console.log("getClosestRegion(timezone)", getClosestRegion(timezone));

    101 | const session = await bb.sessions.create({
    | ^
    102 | projectId: process.env.BROWSERBASE_PROJECT_ID!,
    103 | browserSettings,
    104 | keepAlive: true, {
    status: 403,
    headers: [Object],
    error: [Object]
    }1
    POST /api/session 500 in 19243ms

    Could not open ChatFeed.tsx in the editor.

    To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server.

  4. IvanCord commented on Jul 27, 2025

    @IvanCord

    Same here! Does someone solve this issue?
    I followed the instructions in the README.md file of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions