XF 1.5 Error validate-field 502 (Bad Gateway)

Error with login form.
During filling fields of "username" and "e-mail" - i get an error
Error validate-field 502 (Bad Gateway)

POST http://forum.myforex.ru/register/validate-field 502 (Bad Gateway)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4c.extend.ajax @ xenforo.js?_v=0f8b132e:226XenForo.AutoValidator.startFieldValidationRequest @ xenforo.js?_v=0f8b132e:346XenForo.AutoValidatorControl.validate @ xenforo.js?_v=0f8b132e:349(anonymous function) @ xenforo.js?_v=0f8b132e:195
xenforo.js?_v=0f8b132e:221 XenForo.activate([div.xenOverlay.__XenForoActivator, prevObject: e.fn.init[1], context: undefined])
- Default style - no errors.

Tried to replace login_form template from default style to custom - no changes.
Tried to replace xenforo.js and jquery-1.11.0.min.js with original - no changes.

No idea how to solve the problem?


Well-known member
These types of 502 bad gateway errors are common with nginx setups usually. Most likely it's the php in nginx that is throwing the error as php is either overloaded or incorrectly configured. Your nginx php configuration most likely needs to be tuned up. Contact your host to do that for you if you are using a shared hosting plan.

Tracy Perry

Well-known member
Was going to try a log in and see if it happened to me, but I don't read what appears to be Cyrillic and when Google performs the translation your Q&A gives me
From 10 subtract dvoechku (answer type the numbers)
and I don't know what a dvoechku is.
Since it's happening with the UI.X framework (hopefully you are using the latest one and have installed it per the instructions) maybe @Mike Creuzer can step in and help - but you also need to post the issue in the discussion topic for the Style here or enter a ticket on their support site.