DMXzone Server Connect Support Product Page

Answered

Server Action canceled at 30s

Asked 22 Apr 2017 05:19:08
1
has this question
22 Apr 2017 05:19:08 Firdaus Rohman posted:
I'm not sure if it is the real issue but I suspect my Upload script is cancelled at 30s timeout. I've set upload limit in php.ini to 200MB and have no issue on local environment (obviously because uploading on local in fast without network limit) but when the website is online, the upload will be cancelled half way when a large file is being uploaded. I checked on web console and noticed the script is canceled at 30s timeout.

I've increased the Upload Server Action Script Timeout to 120 and later to even more than that but the script still cancels at 30s.

Please assist me on this.

Replies

Replied 22 Apr 2017 05:33:04
22 Apr 2017 05:33:04 Firdaus Rohman replied:
Update: Ok I have increased the default timeout value in dmxAppConnect.js and this seems to fix the issue. I'm not sure if this is the right way to fix it and I obviously just want to alter the timeout for particular Server Action, not all.
Replied 24 Apr 2017 08:32:39
24 Apr 2017 08:32:39 Teodor Kuduschiev replied:
Hi Firdaus,
This option is already available in the server connect UI:
Replied 24 Apr 2017 08:55:33
24 Apr 2017 08:55:33 Firdaus Rohman replied:
Hi Teodor. That's what I did but as I reported above the script is still being cancelled at 30s until I changed the default time out in dmxAppConnect.js.
Replied 24 Apr 2017 09:54:22
24 Apr 2017 09:54:22 Teodor Kuduschiev replied:
Ah, sorry i missed that. Yes, indeed there is also a timeout setting set in the appconnect.js file. You can set it to 0 there and this way it won't have a limit. In this week's update we are going to set it to 0 by default.

Reply to this topic