-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore password fails via SOAP. Fatal error "cannot connect to host" #16
Comments
hmmm, |
$config['soap_cp_command'] = 'account set password {USERNAME} {PASSWORD} {PASSWORD}'; Set password for account. So I don't know why it doesn't work. Change your account password. This is for the latest Cmangos. |
Could it be the case that the script sends the SOAP input as a HTTP document instead of a SOAP command, which the server simply refuses? |
Contact me on Discord, Let me check it with remote. |
same problem here : Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /var/www/hhhhh/application/include/functions.php:185 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://127.0.0....', 'urn:MaNGOS#exec...', 1, 0) #1 /var/www/hhhhhh/application/include/functions.php(185): SoapClient->__call('executeCommand', Array) #2 /var/www/hhhhhh/application/include/user.php(548): RemoteCommandWithSOAP('account set pas...') #3 /var/www/hhhhhh/application/include/user.php(19): user::restorepassword_setnewpw('amaetest', '3b2242aab4a1fc4...') #4 /var/www/hhhhh/index.php(34): user::post_handler() #5 {main} thrown in /var/www/xxxxxxxxx/application/include/functions.php on line 185 OS: Debian 10 uptodate How to reproduce: Any solution ? |
What is your core? Check the change password command! |
Restore password only works when said account actually has an email, regardless of SOAP enabled or not.
The mail gets sent but when the link is clicked the following error displays:
Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /var/www/html/application/include/functions.php:164 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://127.0.0....', 'urn:MaNGOS#exec...', 1, 0) #1 /var/www/html/application/include/functions.php(164): SoapClient->__call('executeCommand', Array) #2 /var/www/html/application/include/user.php(454): RemoteCommandWithSOAP('account set pas...') #3 /var/www/html/application/include/user.php(19): user::restorepassword_setnewpw('', '...') #4 /var/www/html/index.php(34): user::post_handler() #5 {main} thrown in /var/www/html/application/include/functions.php on line 164
I have a very barebones SOAP registration script right now which works to create an account with user and password, I have even tried a newly made account as the SOAP user to test if it has proper access, it has.
OS: Centos 7
PHP: 7.3.13
PHP modules installed and enabled.
How to reproduce:
Enable SOAP. Restore a password. Click the link in the e-mail. The error shows up.
The text was updated successfully, but these errors were encountered: