"Sending Request" times out, no response for GET request

Describe the bug
Using a MEAN stack application. Checking the routes to the mongo database. When I send the get request in Postman, it gets stuck “sending request” and then just times out.

To Reproduce

  1. Started Node/Express server in terminal
  2. Started mongo in a separate terminal, and made sure Node/Express server is still activated error free
  3. Logged on to Postman, and filled out the form with a GET request to my app
  4. “Sending Request” message comes up and stays that way until finally responding with “Could not get any response” message.

Expected behavior
I expected to see an empty dictionary in the response, since I have not created any entries yet.

Screenshots


App information (please complete the following information):

  • App Type [ MERN stack app (MongoDB w/ NodeJS and ExpressJS) ]
  • Postman Version [ 7.24.0 (7.24.0) ]
  • OS: [ macOS Catalina 10.15.4 ]

I want to get data from the database using the Node.js application but the request is stuck.

@krishnapro

Two things to usually look at.

First try the following in your proxy settings.
Open File → Settings → Proxy
Enable proxy and put 127.0.0.1 : 8080

Second think would be to check the SSL settings (but it looks like yours is just http).
File > Settings > General > SSL Certificate Verification.
Turn it off as a test.

@mdjones
It’s not resolved, is there any other way to fix it?

@krishnapro

Sorry, I can’t think of anything else. Sounds like a local problem.

As per the original poster. Have you confirmed that the node application is started properly and is connecting to the database ok.

On face value, it looks like an API issue, not a Postman one.
Can you browse the application using a web browser? If it doesn’t work there, then it’s not going to work in Postman.