Skip to content

failed to load external entity "http://dockerized-magento.local/api.php?type=v2_soap&wsdl=1" #57

Open
@tothpaul

Description

@tothpaul

Hello,

nice Docker, easy to install, but the SOAP API fails at http://dockerized-magento.local/api/v2_soap/index

<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 'http://dockerized-magento.local/api.php?type=v2_soap&wsdl=1' : failed to load external entity "http://dockerized-magento.local/api.php?type=v2_soap&wsdl=1" </faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

it seem's that de image could not resolve dockerized-magento.local (the WSDL refer to the server itself)

I've tried to enter php to add 127.0.0.1 in /etc/hosts but it doesn't fix the problem.

any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions