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

108
Views
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 answers
Answer question

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 Report
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!