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

106
Vistas
AJAX request over http defaulting to https

I'm trying to make an AJAX POST request from a Chrome extension to an AWS app I have running. The request itself is specified over http (as opposed to https) and I thought I had added the proper CORS headers to my AWS app (below):

app.use(function(req, res, next) {
  res.header('Access-Control-Allow-Origin', '*');
  res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept');
  next();
});

However, the POST request times out from the extension, with the simple error "connection timed out." How can I fix this?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

As it works with HTTP and not over HTTPS, are you sure you opened the HTTPS port you are using in the security groups inbound rules? Inbound rules HTTP example

And also check that you have HTTPS permissions in your manifest file:

"permissions": ["https://*/*",    "http://*/*"],
about 4 years ago · Santiago Trujillo 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