Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

687
Vistas
Chrome Extension: Firestore (8.10.0): Connection WebChannel transport errored

I am using firebase with firestore in a Chrome Extension. Now and then I get this error message. I suspect it is triggered when the computer enters sleep mode for a certain amount of time:

Firestore (8.10.0): Connection WebChannel transport errored

I use the following setup:

const firebaseApp = firebase.initializeApp(firebaseConfig.app);
const firebaseUi = new firebaseui.auth.AuthUI(firebase.auth());
firebase.firestore().settings({ 
    useFetchStreams: false,
    experimentalForceLongPolling: true,
    experimentalAutoDetectLongPolling: true,
    merge: true
});

None of those settings have worked out for me. Not alone, not mixed. I need to use the option "merge" to avoid another error. I also can't catch this error with try { } catch {}, which is rather unsatisfying since this issue throws a visible error in the Chrome Extensions page.

I am quite sure this is due to snapshot listeners that get disconnected. I tried to catch the error there with a function as a second argument to log the error:

ref.onSnapshot(
    (snapshot) => {
        ...
    },
    (e) => {
        console.log(e);
    }
);

Sadly, this was as unsuccessful as well. Any ideas on how to catch that error? I've never experienced an issue functionality-wise.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Firebase 9 is solved this problem

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda