Add E-Mail Domain Freezes at Saving

I am having hard time to finding the errors when I try to Add E-Mail Domain in Settings of ERPNext.

I have check logs at:
/frapper/frapper-bench/logs/*
/var/logs/nginx/error.log

It is a new installation on my VPS server. The site would just freeze when saving the settings for New/Edit E-Mail Domain.

I am running on CentOS 7.

Please help.

@Jason_Lin,

please check the browser console for the error log, Also can you please share the browser’s console log

Thanks,
Makarand

Thank you for your reply.

I got the following errors few seconds after I click the “save” button


Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs(dot)com/guides/#/warnings/js-date/ for more info.
Arguments: [object Object]
Error
at Function.createFromInputFallback (http://erp.erpsite.com/assets/js/libs.min.js:73:482)
at eb (http:/erp.erpsitecom/assets/js/libs.min.js:185:129)
at pb (http:/erp.erpsitecom/assets/js/libs.min.js:225:413)
at ob (http:/erp.erpsitecom/assets/js/libs.min.js:225:274)
at nb (http:/erp.erpsitecom/assets/js/libs.min.js:223:503)
at qb (http:/erp.erpsitecom/assets/js/libs.min.js:230:164)
at j (http:/erp.erpsitecom/assets/js/libs.min.js:67:419)
at Function.A [as tz] (http://erp.erpsitecom/assets/js/libs.min.js:740:3599)
at prettyDate (http://erp.erpsitecom/assets/js/desk.min.js:703:75)
at HTMLSpanElement. (http://erp.erpsitecom/assets/js/desk.min.js:714:177)


Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object. (desk.min.js:128)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
(anonymous) @ desk.min.js:128
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
z @ jquery.min.js:4
(anonymous) @ jquery.min.js:4


POST http:/erp.erpsitecom/ 524 (Origin Time-out)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
frappe.request.call @ desk.min.js:125
frappe.call @ desk.min.js:121
refresh_notifications @ desk.min.js:1049
(anonymous) @ desk.min.js:1049


Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object. (desk.min.js:128)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
(anonymous) @ desk.min.js:128
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
z @ jquery.min.js:4
(anonymous) @ jquery.min.js:4


Thank you
Jason