Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.57k stars 1.96k forks source link

REST API calls fail with Error: Server returned nothing (no headers, no data) #7350

Open bnvader opened 5 months ago

bnvader commented 5 months ago

Expected Behavior

A REST API call that worked in another REST API testing tool is not working in Insomnia. It is an HTTP request so no issue with ssl and there is no proxy server in between.

Actual Behavior

Error: Server returned nothing (no headers, no data)

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

9.1.0

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

Download from Insomnia

Last Known Working Insomnia version

No response

jackkav commented 5 months ago

Make the same call with curl using generate code. Does it return the same result?

rfogel commented 1 month ago

Hello, I have the same problem. Using the generated curl code works fine.

bnvader commented 1 month ago

In our case it was an issue due to a firewall client in the enterprise network. Exceptions had to be added to the configuration to allow the traffic thru.

rfogel commented 1 month ago

Solved. I had a mysterious process running on the same port.