Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP code 0 returned by cloudfront

Setup:

I have an API hosted on AWS and using cloudfront for the same.

Problem:

Analyzing cloudfront logs we came across requests which were returned csstatus(HTTP) 0.

What does it mean??

like image 593
code_it Avatar asked Sep 23 '26 21:09

code_it


1 Answers

There isn't a csstatus, so I assume you are referring to sc-status.

000, which indicates that the viewer closed the connection (for example, closed the browser tab) before CloudFront could respond to a request

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html#LogFileFormat

like image 104
Michael - sqlbot Avatar answered Sep 26 '26 13:09

Michael - sqlbot