alabs / plesk-ovh-domains

Módulo de registro de dominios para Parallels Plesk a través de OVH
GNU Affero General Public License v3.0
3 stars 0 forks source link

Not working #1

Open legionfx opened 11 years ago

legionfx commented 11 years ago

The following error occured: Registrar ErrorThe following errors appeared while processing the "ovh" module: ovh: Error al conectar con SOAP ovh: Error al conectar con SOAP al tratar de registrar un dominio

joker-x commented 11 years ago

You have to enable "Mis productos -> Espacio fidelidad" (i don't know how appear in English) in your ovh manager in order to SOAPI works. Perhaps you have to set a blank MD5 key too.

legionfx commented 11 years ago

i have Espacio fidelidad activated and also a md5 key set. i think is something on server. i ill get back to you.

joker-x commented 11 years ago

Thanks! I'm very interesting on your case :)

Perhaps, adding a print_r($error, true) to error message can help to detect the origin of the problem...

} catch (SoapFault $error) {
  return $this->registrarError('', 'Error al conectar con SOAP'.print_r($error,true));
}
legionfx commented 11 years ago

well for some reason i get this :

[previous:Exception:private] => [faultstring] => Wrong user id or password: Can't Login [faultcode] => soap:310 [faultactor] => http://soap2.ovh.ha.ovh.net:1663/ )

but the id and password are correct. i have also go to the manager a autorize all requests. i think it as something to do it the manager part of automation tools. it as options to put password, md5 secret keys etc... the thing is ive set all that to the same login password and still nothing.

im ruined... lol here is a screen of the manager (in portuguese but you get the picture)

manager

joker-x commented 11 years ago

Mmm... OVH has upgrade the WSDL file from 1.58 to 1.59: https://www.ovh.com/soapi/soapi-re-1.59.wsdl

I change this: https://github.com/alabs/plesk-ovh-domains/commit/43112a5812ab430b427b1158e2593576183b1a1e

Test it now :)

joker-x commented 11 years ago

Our configuration:

Contraseña [ vacío ] Frase secreta para firma MD5 : [ añadido el 2013-04-11 19:02:42 ] Clave pública S/MIME : [ vacío ] Clave pública PGP/GPG : [ vacío ]

"Frase secreta para firma MD5" is blank, but appear as "añadido date"

legionfx commented 11 years ago

still nohing. im giving up... :(

here is the full log.

Customer & Business Manager failed to provision the subscription 'Domains ' belonging to the customer asad sadas (e-mail: deia19_1987@hotmail.com). The following error occured: Registrar ErrorThe following errors appeared while processing the "ovh" module: ovh: Error al conectar con SOAPSoapFault Object ( [message:protected] => Wrong user id or password: Can't Login [string:Exception:private] => [code:protected] => 0 [file:protected] => /opt/plesk-billing/lib/lib-mbapi/include/modules/registrar/ovh.php [line:protected] => 210 [trace:Exception:private] => Array ( [0] => Array ( [file] => /opt/plesk-billing/lib/lib-mbapi/include/modules/registrar/ovh.php [line] => 210 [function] => __call [class] => SoapClient [type] => -> [args] => Array ( [0] => login [1] => Array ( [0] => [1] => [2] => pt [3] => )

                    )

            )

        [1] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-mbapi/include/modules/registrar/ovh.php
                [line] => 210
                [function] => login
                [class] => SoapClient
                [type] => ->
                [args] => Array
                    (
                        [0] =>
                        [1] =>
                        [2] => pt
                        [3] =>
                    )

            )

        [2] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-mbapi/include/modules/registrar/ovh.php
                [line] => 120
                [function] => iniciarSoap
                [class] => OVH
                [type] => ->
                [args] => Array
                    (
                    )

            )

        [3] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-mbapi/include/modules/registrar/registrar.php
                [line] => 333
                [function] => registerDomain
                [class] => OVH
                [type] => ->
                [args] => Array
                    (
                    )

            )

        [4] => Array
            (
                [file] => /opt/plesk-billing/lib/billing-libs/ModuleTool.php
                [line] => 42
                [function] => Registrar
                [class] => Registrar
                [type] => ->
                [args] => Array
                    (
                        [0] => Array
                            (
                                [domainNameserver1] =>
                                [domainNameserver2] =>
                                [domainNameserver3] =>
                                [domainNameserver4] =>
                                [registrantFirstName] => asad
                                [registrantLastName] => sadas
                                [registrantJobTitle] =>
                                [registrantOrganizationName] =>
                                [registrantEmail] => deia19@hotmail.com
                                [registrantAddress] =>
                                [registrantCity] => bneja
                                [registrantStateProvince] =>
                                [registrantZip] =>
                                [registrantCountry] => PT
                                [registrantPhone] => 927184753
                                [registrantFax] =>
                                [domain_sld] =>
                                [domain_tld] =>
                                [domain_idn_language] =>
                                [domain_date_created] =>
                                [domain_remote_purchase_id] =>
                                [domain_remote_domain_id] =>
                                [domain_date_expires] =>
                                [registrar_id] =>
                                [domain_renew_type] =>
                                [domainYears] => 1
                                [domainDNS] =>
                                [registrantPostalCode] => 7900-258
                                [domainSLD] => safasfas
                                [domainTLD] => pt
                                [domainDateCreated] => 1369146640
                                [domainDateExpires] => 1400682640
                                [registrarID] => 97
                                [domainRenewType] => 2
                                [vendorID] =>
                                [packageID] => 5
                                [domainID] => 5
                                [cycleID] => 6
                                [processSystemQueueId] => 22
                                [subCommand] => registerDomain
                                [packageUserName] => deia22
                                [registrantAddress1] => safdafa asfa
                                [registrantAddress2] =>
                                [registrantState] => bneja
                                [configGroupID] => 97
                                [tldSettings] => Array
                                    (
                                        [tldWhoisServer] =>
                                        [tldWhoisResp] =>
                                        [tldRenewType] => 0
                                    )

                                [idProtect] =>
                                [vendor_id] =>
                            )

                    )

            )

        [5] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-billing/include/lib-mbapi/ProcessRegistrar.php
                [line] => 308
                [function] => getModuleInstance
                [class] => ModuleTool
                [type] => ::
                [args] => Array
                    (
                        [0] => registrar
                        [1] => ovh
                        [2] => Array
                            (
                                [domainNameserver1] =>
                                [domainNameserver2] =>
                                [domainNameserver3] =>
                                [domainNameserver4] =>
                                [registrantFirstName] => asad
                                [registrantLastName] => sadas
                                [registrantJobTitle] =>
                                [registrantOrganizationName] =>
                                [registrantEmail] => deia19@hotmail.com
                                [registrantAddress] =>
                                [registrantCity] => bneja
                                [registrantStateProvince] =>
                                [registrantZip] =>
                                [registrantCountry] => PT
                                [registrantPhone] => 927123456
                                [registrantFax] =>
                                [domain_sld] =>
                                [domain_tld] =>
                                [domain_idn_language] =>
                                [domain_date_created] =>
                                [domain_remote_purchase_id] =>
                                [domain_remote_domain_id] =>
                                [domain_date_expires] =>
                                [registrar_id] =>
                                [domain_renew_type] =>
                                [domainYears] => 1
                                [domainDNS] =>
                                [registrantPostalCode] => 7900-258
                                [domainSLD] => safasfas
                                [domainTLD] => pt
                                [domainDateCreated] => 1369146640
                                [domainDateExpires] => 1400682640
                                [registrarID] => 97
                                [domainRenewType] => 2
                                [vendorID] =>
                                [packageID] => 5
                                [domainID] => 5
                                [cycleID] => 6
                                [processSystemQueueId] => 22
                                [subCommand] => registerDomain
                                [packageUserName] => deia22
                                [registrantAddress1] => safdafa asfa
                                [registrantAddress2] =>
                                [registrantState] => bneja
                                [configGroupID] => 97
                                [tldSettings] => Array
                                    (
                                        [tldWhoisServer] =>
                                        [tldWhoisResp] =>
                                        [tldRenewType] => 0
                                    )

                                [idProtect] =>
                                [vendor_id] =>
                            )

                    )

            )

        [6] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-mbapi/Command.php
                [line] => 826
                [function] => execute
                [class] => MBAPI_ProcessRegistrarCommand
                [type] => ->
                [args] => Array
                    (
                    )

            )

        [7] => Array
            (
                [file] => /opt/plesk-billing/lib/lib-mbapi/mbapi.php
                [line] => 216
                [function] => getData
                [class] => MBAPI_Command
                [type] => ->
                [args] => Array
                    (
                        [0] => 0
                    )

            )

        [8] => Array
            (
                [file] => /opt/plesk-billing/htdocs/mbapi/remote.php
                [line] => 73
                [function] => dispatchMBAPI
                [args] => Array
                    (
                        [0] => <mbapi><remoteAccessHash>7a05c1e99856ece8252659955a8345733537f578</remoteAccessHash>
                                     <command>ProcessRegistrar</command>
                                     <subCommand>registerDomain</subCommand>
                                            <params>
                                                    <vendorID></vendorID>
                                                    <packageID>5</packageID>
                                                    <domainID>5</domainID>
                                                    <cycleID>6</cycleID>

                                            </params>
                                      </mbapi>
                        [1] => 0
                        [2] => 0
                        [3] => 22
                    )

            )

    )

[previous:Exception:private] =>
[faultstring] => Wrong user id or password: Can't Login
[faultcode] => soap:310
[faultactor] => http://soap4.ovh.ha.ovh.net:1663/

)

ovh: Error al conectar con SOAP al tratar de registrar un dominio