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

263
Vistas
JS-IPFS preload error client.js:12 WebSocket connection to 'wss://node3.preload.ipfs.io/p2p/

Hello I have an issue with preload p2p wss from js-ipfs defaults. Normally everything works perfectly, but defaults goes wrong.

client.js:12 WebSocket connection to 'wss://node3.preload.ipfs.io/p2p/QmY7JB6MQXhxHvq7dBDh4HpbH29v4yE9JRadAVpndvzySN' failed: 

Error has no end. All requests has byte data but this very first which starts on beginning fails.

My IPFS implementation:

  async start(): Promise<void> {
    if (this.node) {
      console.log('IPFS already started');
    } else if (window.ipfs && window.ipfs.enable) {
      console.log('Found window.ipfs');
      this.node = await window.ipfs.enable({ commands: ['id'] });

    } else {
      console.time('IPFS Started');
      try {
        this.node = await this.ipfs.create();
        console.timeEnd('IPFS Started');
      } catch (error) {
        console.error('IPFS init error:', error);
        this.node = null;
      }
    }
  }

  getIpfs(): null | PromiseType<ReturnType<typeof Ipfs.create>> {
    return this.node;
  }

getDefaultOptions() on preload fails. Is there anything I should pass in create() method?

about 4 years ago · Juan Pablo Isaza
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