Why do I get the H28 / "Idle to connect to the client" on the hero dev-dyno when sending medium-sized JSON?

I have a simple Meteordevkom application , and I noticed that if the JSON payload on the POSTed request is a bit larger (in this case Content-Length: 2161), the connection will time out.

Only every 6-7th request is executed , even if I am the only user.

Curl request:

curl -X POST -H 'Content-Type: application/json; charset=UTF-8' http://APP_SUBDOMAIN.herokuapp.com/api/cars/ --data '{"_id":"car-data-10","crlData":{"latitude":48.17375412849221,"longitude":11.531698666512966,"mapIcon":"/imgs/car_icon_white.png","mapIconSelected":"/imgs/car_icon_red.png","positionInitialized":true,"rotation":90.0},"description":"Das Fahrzeug ist in einem sehr guten Zustand. Letzter Service wurde bei 81000km gemacht. \nFahrzeug ist achtfach bereift.\nWinterreifen,TUV, und die Batterie sind neu. Ausserdem sind alle Bremsen neu.\n\nDie abnehmbare Anhangerkupplung wurde nur fur einen Fahrradtrager verwendet.\n\nWeitere Sonderaustattungen: Dynaudio Soundsystem, Berg An - und Abfahrhilfe, automatisches Auf -und Abblendlicht, Coming Leaving Home, Innenraumbeleuchtung dimmbar, Auf -und Abblendlicht Xenon, Tagfahrlicht, selbslenkendes Einparken, dunkler Innenraumhimmel.","features":{"exterior":["Alloy wheels","Electric side mirror","Trailer coupling"],"extras":["Full Service History","Non-smoker vehicle"],"interior":["Bluetooth","CD player","Central locking","Climatisation (Automatic air conditioning)","Electric heated seats","Electric seat adjustment","Electric windows","Hands-free kit","MP3 interface","Multifunction steering wheel","On-board computer","Parking sensors (Front, Rear, Self-steering systems)","Power Assisted Steering","Sport seats","Tuner/radio"],"safety":["ABS","Adaptive lighting","Airbags (Front and Side and More Airbags)","Daytime running lights","ESP","Fog lamp","Immobilizer","Light sensor","Rain sensor","Xenon headlights"]},"images":["/dealerships/bmw/view_files/jpg/default_3.jpg"],"make":"BMW","model":"330d xDrive Touring","price":"16500","technicalData":{"extended":{"co2_emissions_combined":null,"colour":null,"cubic_capacity":null,"door_count":null,"emission_class":null,"emissions_sticker":null,"fuel_consumption_combined":null,"fuel_consumption_extra_urban":null,"fuel_consumption_urban":null,"hu":null,"interior_colour":null,"interior_design":null,"number_of_seats":null},"main":{"category":"saloon, used vehicle","first_registration":"fr 11/2010","fuel_type":"petrol (e10-enabled)","gearbox":"manual gearbox","power":"155 kw (211 ps)"}},"title":"BMW 330d xDrive Touring","makeAndModel":"BMW 330d xDrive Touring"}'

Server error:

at=warning code=H28 desc="Client Connection Idle" method=POST path="/api/cars/" host=APP_SUBDOMAIN.herokuapp.com request_id=b3a75450-8fa2-4c71-a0b5-526b918dade2 fwd="IP_ADDRESS" dyno=web.1 connect=0ms service=55083ms status=499 bytes=0
2016-10-13T21:22:58.286627+00:00 app[web.1]: Error: request aborted

On the other hand, content such as

 --data '{"_id":"car-data-10","crlData":{"latitude":48.17375412849221,"longitude":11.531698666512966,"mapIcon":"/imgs/car_icon_white.png","mapIconSelected":"/imgs/car_icon_red.png","positionInitialized":true,"rotation":90.0}}'

of Content-Length: 217passes every time without problems.

Locally, everything runs smoothly.

In this demo application, I'm working on reducing the request payload, but

... my question is:

Are there any restrictions that I don’t know about that may cause timeouts?

PS.

+4

Source: https://habr.com/ru/post/1657678/


All Articles