Connection timeout

Hi All,

When I try to upload a file though a request I got connection timeout message when file is big is size. any body can help me in this?

Thanks,
Kamran

You need to configure the max_input_time on your php.ini
See more here.

1 Like

I have increase the max_input_time but I am getting same message

“Abort / timeout”

add “Connection: close” header which should be used by the server to close the connection after it finish generating response

Basically I am sending file upload request to my api from another server, its connection get lost for a file which size is in-between 1to 2 MB

I am able to resolve the issue, it my server nginx, I am able to resolve my issue with the reference of below links,

thanks basically your tip help me :slight_smile:

1 Like