Support » Plugin: WooCommerce Deutsche Post Internetmarke » Soap-Error when trying to update product catalog

  • Resolved dou321

    (@dou321)


    Hi,

    I really love your plugin, but when trying to set up everything and updating the product catalog I get the following error message:

    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://prodws.deutschepost.de:8443/ProdWSProvider_1_1/prodws?wsdl’ : failed to load external entity “https://prodws.deutschepost.de:8443/ProdWSProvider_1_1/prodws?wsdl” in /…/wp-content/plugins/woo-dp-internetmarke/modules/api/global.php:369 Stack trace: #0 /…/wp-content/plugins/woo-dp-internetmarke/modules/api/global.php(369): SoapClient->SoapClient(‘https://prodws….’, Array) #1 /…/wp-content/plugins/woo-dp-internetmarke/modules/admin_settings/hooks/admin_post.php(50): internetmarke\modules\api\ProdWS->__construct() #2 /…/wp-includes/class-wp-hook.php(286): internetmarke\modules\admin_settings\{closure}(”) #3 /…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /…/wp-includes/plugin.php( in /…/wp-content/plugins/woo-dp-internetmarke/modules/api/global.php on line 369

    The shop is running on WordPress 4.9.6.
    Any idea how to fix this problem?

    Many thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author STINA Global

    (@stinaglobal)

    Hello dou321!

    Thank you for contacting us, now let’s try to fix your issue.

    Do you know if you have the php_openssl extension enabled?

    Thanks for your quick response!

    I also read about enabling php_openssl. Unfortunately I can’t access the php.ini in my shared hosting environment.
    My provider only allows me to edit the following settings:

    PHP Version
    OPcache
    add_default_charset
    allow_url_fopen
    allow_url_include
    default_charset
    display_errors
    magic_quotes_gpc
    magic_quotes_runtime
    max_execution_time
    max_input_vars
    memory_limit
    mod_rewrite
    post_max_size
    register_globals
    session.auto_start
    upload_max_filesize

    Plugin Author STINA Global

    (@stinaglobal)

    Hello dou321!

    Your problem seems to be related to the Deutsche Post Webservice itself. We have a suspicion on what the issue could be. We have contacted the Deutsche Post support team and will update you as soon as they answer.

    You guys are awesome. Thank you so much! 🙂

    Plugin Author STINA Global

    (@stinaglobal)

    Hello!

    We have received a response. Their webservice works through port number 8443. Some hosting companies have this port blocked. We recommend that you ask your web-host if they are blocking this port, too. I’m not sure if they will unblock it on your request, but it wouldn’t hurt to ask.

    If they cannot unblock the port then I’m afraid there’s nothing that can be done, unless you switch to another web-host.

    Well, hopefully you can help me again. 😉

    I contacted my hosting company and they need the following information to unblock the port:

    Destination IP address:
    Protocol: TCP/UDP
    Port: 8443

    Thanks for your help!

    Plugin Author STINA Global

    (@stinaglobal)

    Hello dou321,

    the following addressed need to be added:

    IP: https://www.deutschepost.de
    Protocol: TCP/UDP
    Port: 8443

    IP: https://internetmarke.deutschepost.de
    Protocol: TCP/UDP
    Port: 443

    IP: https://prodws.deutschepost.de
    Protocol: TCP/UDP
    Port: 8443

    Please let us know if this has fixed the problem for you, so that we can add it to our FAQ and help others who might have had the same problem!

    Hi again,

    unfortunately my hosting company needs the IP addresses, not the URLs, as well as the protocol types. Are the connections TCP or UDP?

    Oh and is the port 443 for the second address correct?

    IP: https://internetmarke.deutschepost.de
    Protocol: TCP/UDP (?)
    Port: 443

    Plugin Author STINA Global

    (@stinaglobal)

    Hello dou321,

    We would not recommend typing in the IP addresses directly, because these addresses can change. You can check the current IP address in the command line with “nslookup DOMAIN_NAME”. Here are the current addresses:

    Please note that these IP addresses are up-to-date as of June 11 2018.

    http://www.deutschepost.de
    160.58.148.1
    Port: 8443
    Protocol TCP/UDP

    internetmarke.deutschepost.de
    149.239.124.81
    Port: 443
    Protocol: TCP

    prodws.deutschepost.de
    149.239.115.11
    Port: 8443
    Protocol: TCP/UDP

    PS: Yes, the internetmarke.deutschepost.de uses port 443 and TCP, you are right. I will update the original post.

    Please not that if this stops working at any time in the future, then the IP addresses have probably changed and you need to do the DNS lookup anew and send the new IP addresses to your host.

    Let us know if this helped!

    Hi everyone,

    so my hosting company unblocked the ports with your provided information and now everything works like a charm.

    Thank you for bearing with me and providing such a great support!

    Plugin Author STINA Global

    (@stinaglobal)

    Hello dou321,

    OK, great!

    Please do not hesitate to contact us if you have any further questions.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Soap-Error when trying to update product catalog’ is closed to new replies.