我遇到了同样的问题。我确实安装了需要访问soap api的orocrm桥,按照给定的步骤配置了soap角色和用户,然后尝试连接:
挖掘日志后,我确实注意到了此错误:
[2017-07-03 16:57:46] app.CRITICAL: MageCheck
error: 0: [message]
SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://my.magento.store/index.php/api/v2_soap/index/?wsdl=1' :
failed to load external entity
"https://my.magento.store/index.php/api/v2_soap/index/?wsdl=1"
[request]
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:login>
<username xsi:type="xsd:string">orocrm</username>
<apiKey xsi:type="xsd:string">***</apiKey>
</ns1:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[response]
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>WSDL</faultcode>
<faultstring>
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://my.magento.store/index.php/api/v2_soap/index/?wsdl=1' :
failed to load external entity "https://my.magento.store/index.php/api/v2_soap/index/?wsdl=1"
</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[code] 500 [] []
我弄清楚了为什么会遇到这个问题。实际上,这与orocrm无关,而与magento有关。那是防火墙的问题。实际上,我确实正确添加了规则,以允许crm服务器攻击magento api,但这一规则需要自己解决!因此,经过一番头痛之后,我只是在magento服务器的防火墙上添加一条规则,以允许其自身(magento服务器)访问自己的api(外部查找)...
无论如何,我希望这可以节省一些时间