Home AWS Classic Load Balancer + EC2: web API requests returns 404
Reply: 0

AWS Classic Load Balancer + EC2: web API requests returns 404

user1374 Published in May 21, 2018, 4:50 pm

I have an AWS EC2 Jira instance running behind an AWS Classic load balancer. The site loads in the browser fine, but all API requests are returning 404 for some reason. It is not a Jira 404, but a generic 404 response with no body and minimal headers. Only response useful header seems to be Server: nginx.

Tried white-listing my client IP, opening up all ports, sending request to the LB and directly to the instance with proper security group settings, etc., but same 404 response is returned. I'm using Postman to test the API. I noticed when I load the EC2 instance directly in the browser, it redirects to the load balancer.

Returns 200 with HTML. Basic auth works, too.

GET http://jira (home page)

Returns 404:

GET http://jira/rest/api/2/issue/ticket-num (or any other /rest/ endpoints)

Where should I start looking to debug this 404 issue? I feel like I'm missing something basic. I'm not seeing any Jira configuration for setting up its rest API. I feel like perhaps it's a server configuration issue, although I've never come across manual web server configuration while installing Jira, so maybe on the AWS's side?

EDIT: still waiting to get ssh access to the instance, so I'll update as I get more info and access.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.31822 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO