Create-and-immediately-open sometimes raises an error sometimes

Abierto
#191 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
next.js, node.js, typescript

Línea de trabajo

Start by tracing the ensureSession request shown in the log and the workspace-metadata write that precedes opening a newly created project. Reproduce the sequence of creating a project from a template and immediately opening it, including timing or connection resets; done means this sequence consistently opens the project without the ECONNRESET and 500 response.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

A behavior I've seen a couple of times is that creating a project from a template and then immediately trying to open it raises an error. I believe this is the corresponding log, but I am not 100% certain because I didn't note down the digest carefully:

lean-workbench  | ⨯ Error [TRPCClientError]: vscode-server bfbabf73-ff94-4828-9576-b1745b85e622 (project 07f07b03-f571-41dc-9872-a4eaaa3cf13f, viewer s9MHag8MnAAWq6I3vL5dfzaGNm4ilHmp) failed to write workspace metadata: Error: read ECONNRESET
lean-workbench  |     at a.from (.next/server/chunks/ssr/_0b7g95a._.js:120:34364)
lean-workbench  |     at <unknown> (.next/server/chunks/ssr/_0b7g95a._.js:120:48758) {
lean-workbench  |   cause: undefined,
lean-workbench  |   shape: {
lean-workbench  |     message: 'vscode-server bfbabf73-ff94-4828-9576-b1745b85e622 (project 07f07b03-f571-41dc-9872-a4eaaa3cf13f, viewer s9MHag8MnAAWq6I3vL5dfzaGNm4ilHmp) failed to write workspace metadata: Error: read ECONNRESET',
lean-workbench  |     code: -32603,
lean-workbench  |     data: {
lean-workbench  |       code: 'INTERNAL_SERVER_ERROR',
lean-workbench  |       httpStatus: 500,
lean-workbench  |       path: 'ensureSession'
lean-workbench  |     }
lean-workbench  |   },
lean-workbench  |   data: {
lean-workbench  |     code: 'INTERNAL_SERVER_ERROR',
lean-workbench  |     httpStatus: 500,
lean-workbench  |     path: 'ensureSession'
lean-workbench  |   },
lean-workbench  |   meta: {
lean-workbench  |     response: Response {
lean-workbench  |       status: 500,
lean-workbench  |       statusText: 'Internal Server Error',
lean-workbench  |       headers: Headers {
lean-workbench  |         'content-type': 'application/json',
lean-workbench  |         vary: 'trpc-accept, accept',
lean-workbench  |         date: 'Fri, 23 Oct 2026 20:07:22 GMT',
lean-workbench  |         connection: 'keep-alive',
lean-workbench  |         'keep-alive': 'timeout=5',
lean-workbench  |         'transfer-encoding': 'chunked'
lean-workbench  |       },
lean-workbench  |       body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
lean-workbench  |       bodyUsed: true,
lean-workbench  |       ok: false,
lean-workbench  |       redirected: false,
lean-workbench  |       type: 'basic',
lean-workbench  |       url: 'http://shard-connection-goes-over-uds/ensureSession'
lean-workbench  |     },
lean-workbench  |     responseJSON: { error: [Object] }
lean-workbench  |   },
lean-workbench  |   digest: '862192252'
lean-workbench  | }
Lenguaje dominante
TypeScript
Estrellas
11
Forks
1
Merge medio
1 d 11 h
PR fusionados (30 d)
15

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de leanprover/lean-workbench

Todos los issues de leanprover/lean-workbench

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.