oroinc / magento-orocrm-bridge

Magento extension, extends SOAP API for OroCRM integration.
http://www.magentocommerce.com/magento-connect/orocrm-bridge.html
16 stars 8 forks source link

Bridge Error #4

Open anjanawijerathne opened 8 years ago

anjanawijerathne commented 8 years ago

Checking dependencies of packages

CONNECT ERROR: Package community/Oro_Api 1.2.5.0: requires PHP version >= 5.2.13 and <= 5.6.0 current is: 5.6.11-1ubuntu3.1

rgrebenchuk commented 8 years ago

What Magento version are you using? If you want to install extension to magento with php 5.6 or above please download extension tgz file and modify package.xml/dependencies section. It will allow to install extension to Magento with unsupported php versions

anjanawijerathne commented 8 years ago

Hey Roman

Magento ver. 1.9.2.2 is the version I am using and I am preparing a oro demonstration website.

I do not anything fancy, I just wants to convince client that the sync of Mage+Oro is super simple.

But my local setup I have php 5.5 but this remote machine [which I do not have the control] has 5.6.1 installed. Even though I manage to edit the package XML and install oro_api

I am getting "Parameters are not valid!" error.

Anjana

On Tue, Dec 8, 2015 at 6:00 PM, Roman Grebenchuk notifications@github.com wrote:

What Magento version are you using? If you want to install extension to magento with php 5.6 or above please download extension tgz file and modify package.xml/dependencies section. It will allow to install extension to Magento with unsupported php versions

— Reply to this email directly or view it on GitHub https://github.com/orocrm/magento-orocrm-bridge/issues/4#issuecomment-162866735 .

lenybernard commented 7 years ago

Hello,

I'm experiencing the same issue. I did install the orocrm bridge from the marketplace, followed the given steps to configure a soap role and a user and then I tried to create a channel and 💥: c2c58a35d3e9558c6e5fbb4a9d0b10ff

After digging in the logs, I did notice this error:

[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   [] []

I'm stucked here... any help is welcome. Thank you !

lenybernard commented 7 years ago

I figured why I experienced this issue. Actually, this wasn't related to orocrm but to magento. That was a firewall issue. Actually, I did add correctly the rules to allow the crm server to attack the magento api but this one needs to reach out itself ! So after some headaches, I just did add a rule on the magento server's firewall to allow itself (the magento server) to reach its own api (kind of external lookup)...

Anyway, I hope this will save some hours to someone