andrew-svirin / ebics-client-php

PHP library to make requests by EBICS protocol for financial establishments.
https://andrew-svirin.github.io/ebics-client-php/
MIT License
43 stars 31 forks source link

DOM Node List #178

Closed chatis closed 1 year ago

chatis commented 1 year ago

Hello,

I try to create the HPB when bank has accepted everything, but I got this error : DOM Node List should have an item.

RuntimeException: DOM Node List should have an item. in .../ebics/vendor/andrew-svirin/ebics-client-php/src/Services/DOMHelper.php on line 27

When I run the code in localhost, I don't have any trouble. When I try in production, I have the error

chatis commented 1 year ago

any one has an idea ? Very annoying....

andrew-svirin commented 1 year ago

Looks like something went not by protocol. Read carefully instructions and then reset connection to establish new one.

chatis commented 1 year ago

Thank you for your answer.. but what, why and how to fix that?

chatis commented 1 year ago

I have already try to reset and rebuild configuration

andrew-svirin commented 1 year ago

It looks like the bank response not expected response, usually it happens on exception. You can catch what bank respond and look what is there.

chatis commented 1 year ago

This is the exception I have when I do the Try{} catch(Exception $e) on ->ini() function

chatis commented 1 year ago

So I don't think I can have a better bank respond.. or how ?

chatis commented 1 year ago

I'm sorry to come back again. But as this is working in local environment. That's not a problem with the bank no ? This is something on the server ? They mention the port 443 in the letter of the bank. Do I have to do something with that ?

andrew-svirin commented 1 year ago

@chatis probably firewall but it is not certainly

chatis commented 1 year ago

I have disable firewall but still not working :-(

How can I know the answer from the bank? What I need to catch?

chatis commented 1 year ago

any one has an idea?

andrew-svirin commented 1 year ago

@chatis is this question still actual?

chatis commented 1 year ago

No everything right yet. Finally it was the bank that has blacklisted my server. After they white list it, everything has been worked perfectly