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

282
Views
electron: cómo configurar el proxy de la ventana secundaria

Intento cargar la URL https://www.google.com y siempre obtengo un error electrónico: Error al cargar la URL: https://www.google.com/ con error: ERR_PROXY_CONNECTION_FAILED. Este problema me ha estado molestando durante una semana y espero poder obtener su ayuda.

 newWin = new BrowserWindow({ width: 400, height: 600, frame: true, maximizable: true, webPreferences: { devTools: true, webviewTag: true, nodeIntegration: true, enableRemoteModule: true, contextIsolation: false, preload: link }, }); newWin.index = arg.index; newWin.type = arg.type; //I have set ip and port here newWin.webContents.session.setProxy({ proxyRules: "http://129.226.148.192:3128", }).then(() => { newWin.loadURL(`${arg.href}`); }).catch((err) => console.error(err)); // I have configured the proxy account and password when I am here (login) newWin.on('login', (event, webContents, details, authInfo, callback) => { event.preventDefault(); if (authInfo.isProxy) { callback('sub_1kni3wjb4g9i6pkhmbsz5qzd', 'stat900') } });

Si alguien sabe como responder se lo agradeceria mucho.

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!