Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

H18 Server request interrupted

Tags:

heroku

My application is running the free hobby-dev program and free hobby-dev database (https://orandno.herokuapp.com/Files).

If I send a small file in POST body all fine, but if the file is big I recieve error H18 - Server Request Interrupted.

My code in golang on sever side now do almost nothing:

func DBUploadFile(c *gin.Context) { c.JSON(200, gin.H{"Uploaded": "OK"}) return }

Heroku staff wrote me "There is not a limit on filesize for uploads"... But why error H18 arise?

like image 679
Ivan Delov Avatar asked May 09 '26 07:05

Ivan Delov


1 Answers

Heroku gave more reason why you might end up with that error, which I will advice you read for more clarification H18 - Server Request Interrupted, but this answer should also solve your issue.

like image 98
antzshrek Avatar answered May 11 '26 02:05

antzshrek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!