Salary Slip Freezes

hi team,
When I’m trying to submit a new Salary Slip from draft, I get the request timing out everytime. How do I know what the error message is so it can be fixed?

Do you have any custom script.

Please share browser console screenshot.

No custom script. This this what you’re after?

POST
XHR
http://192.168.1.170/ [HTTP/1.1 504 Gateway Time-out 120041ms]
Headers
POST
Response
Cookies
Call Stack
Connectionkeep-aliveContent-Length192Content-Typetext/htmlDateMon, 10 Jul 2017 21:35:44 GMTServernginx/1.10.3 (Ubuntu)
Acceptapplication/json, text/javascript, /; q=0.01Accept-Encodinggzip, deflateAccept-Languageen-US,en;q=0.5Connectionkeep-aliveContent-Length2766Content-Typeapplication/x-www-form-urlencoded; charset=UTF-8Cookieuser_image=; user_id=user%40company.com.au; system_user=yes; full_name=firstname%20Olastname; sid=765957a4e6a5e09cb73d09398762e4ccb94e1fb86e93390d85d617c4; io=ye3nq1HECQ44H5QQAAADHost192.168.1.170Refererhttp://192.168.1.170/deskUser-AgentMozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0X-Frappe-CSRF-Token0faddec866032462655ab212f286910a2d5028787c47e8c5aa5e52fbX-Requested-WithXMLHttpRequest

GET
http://192.168.1.170/assets/css/awesomplete.css.map [HTTP/1.1 404 Not Found 32ms]
Headers
Response
Cookies
Call Stack
Connectionkeep-aliveContent-Length178Content-Typetext/htmlDateMon, 10 Jul 2017 21:34:51 GMTServernginx/1.10.3 (Ubuntu)
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8Accept-Encodinggzip, deflateAccept-Languageen-US,en;q=0.5Cache-Controlno-cacheConnectionkeep-aliveCookieuser_image=; user_id=user%40company.com.au; system_user=yes; full_name=firstname%20lastname; sid=765957a4e6a5e09cb73d09398762e4ccb94e1fb86e93390d85d617c4; io=ye3nq1HECQ44H5QQAAADHost192.168.1.170Pragmano-cacheUser-AgentMozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0

This is from Chrome

jquery.min.js:4 POST http://192.168.1.170/ 502 (Bad Gateway)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
frappe.request.call @ desk.min.js:1301
frappe.call @ desk.min.js:1198
_call @ form.min.js:2356
(anonymous) @ form.min.js:2216
check_name @ form.min.js:2283
save @ form.min.js:2213
frappe.ui.form.save @ form.min.js:2380
(anonymous) @ form.min.js:724

any trace in error log?

Sorry which file contains the error logs? I’ve got too many in logs folder

auto_update_log.log node-socketio.error.log schedule.error.log
backup.log node-socketio.log schedule.log
bench.log redis-cache.error.log web.error.log
frappe.log redis-cache.log web.log
frappe.log.1 redis-queue.error.log worker.error.log
frappe.log.2 redis-queue.log worker.log
frappe.log.3 redis-socketio.error.log
frappe.log.4 redis-socketio.log

I’ve restored a previous install and seems to be working there.