Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

331
Views
Obteniendo el error "Error de error no detectado: net::ERR_CONNECTION_TIMED_OUT" en nodejs WebScrapper - titiritero

Hago desarrollo de Android y no estoy familiarizado con Nodejs y le pedí a alguien que escribiera un scrapper web para mí, pero recibo este error cuando ejecuto el script: Uncaught Error Error: net::ERR_CONNECTION_TIMED_OUT at https://evisatraveller.mfa.ir/fa/request/state/AINSEI0RDZ618243I5 at navigate (undefined:156:23) at processTicksAndRejections (undefined:96:5)

aquí está el código:

 const puppeteer = require('puppeteer'); process.setMaxListeners(Infinity) const fs = require('fs'); const csv = require('csv-parser'); var inputFile = 'app_ids.csv'; fs.createReadStream(inputFile) .pipe(csv()) .on('data', function (data) { try { // console.log(data.app_id); (async () => { let app_id = data.app_id console.log(app_id) const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://evisatraveller.mfa.ir/fa/request/state/' + app_id); await page.screenshot({ path: 'output/' + app_id + '.png' }); await page.waitForTimeout(8000); await browser.close(); })(); } catch (err) { console.log('Error:', err) //error handler } }) .on('end', function () { //some final operation });

No marque mi pregunta como spam o duplicada porque no pude encontrar la respuesta.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!