LAION-AI / LAION-AI/Open-Assistant

Fresh install, when going to "Chat", "TypeError: Cannot read properties of undefined (reading 'session')

Open
#2,557 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug website
Dominant language
Python
Stars
37.4k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

On a Fresh install on Windows 11 after git clone, it built the container, I was able to start the site, the login works both with dev user or email user, but as soon as trying to "Chat" in the UI,
server error 500,
with "Sorry, we encountered a server error. We're not sure what went wrong."

The console says:
open-assistant-web-1 | TypeError: Cannot read properties of undefined (reading 'session')
open-assistant-web-1 | at MyApp (/app/.next/server/pages/_app.js:129:43)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the fresh-install flow on Windows 11, sign in, and open Chat. Start with the server error and the MyApp location reported in /app/.next/server/pages/_app.js:129, then trace the undefined value involved in reading session; done means Chat loads without the 500 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.