Probleme im Flow setCustomerClasses_fromRating

Hallo Support,

die Probleme seitens Plenty in den Customer-Calls scheinen soweit beseitigt zu sein, denn mein Flow moveUser_noMail läuft problemlos für alle 158.000 Kunden durch. Nicht so aber der Flow setCustomerClasses_fromRating:

Gerade ist er mit "Step PlentyGetCustomers: AxisFault: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog." gescheitert, im Versuch davor mit "ERROR:RuntimeException: java.io.IOException: chunked stream ended unexpectedly". Beides Fehler die mir nicht weiterhelfen...

Könnt ihr mir sagen was da los ist und wie ich den Flow zum laufen bekomme?

Danke, Daniel

Unser XML-Parser beschwert sich, dass das erwartete XML nicht anfängt wie erlaubt (Content is not allowed in prolog)

D.h. es könnte sein, dass die SOAP API XML-Response von plenty leer war, ein Zeichen am Anfang hatte, dass da nicht hingehört usw.

siehe z.B. hier


Die Ursache ist für uns nicht klar und kann verschiedene Gründe haben. z.B. könnte die plentymarkets SOAP-API abgestürzt sein woraufhin der Webserver eine HTML 404 Page ausgibt... da eine solche Fehlerseite keine erwartete XML-Response darstellt würde dieser Fehler kommen.

"chunked stream ended unexpectedly" deutet auch auf soetwas hin, dass die plötzlich mitten drin die API-weggeschmiert ist..d.h. die Response abgebrochen ist.


Ist der Call im API-Log bei plenty sichtbar? (Vermutlich nicht)

Kommt der Fehler immer wieder an der gleichen Stelle? (wir vermuten es ist einer dieser sporadischen Fehler)




Also getCustomers scheint jetzt durchzulaufen, aber wir scheitern dann mit "chunked stream ended unexpectedly" bei setCustomers im Anschluss. Mehr oder weniger an der gleichen Stelle: mal nach 100 erfolgreichen Kunden, mal nach 150. Die letzte Response im Log sieht aber okay aus:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.samenhaus.de/plenty/api/soap/version115/" 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:SetCustomersResponse>
            <return xsi:type="ns1:PlentySoapResponse_SetCustomers">
                <Success xsi:type="xsd:boolean">true</Success>
                <ResponseMessages xsi:type="ns1:ArrayOfPlentysoapresponsemessage">
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">143208</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">143208</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">143191</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">143191</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">143135</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">143135</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">143134</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">143134</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">143131</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">143131</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142993</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142993</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142765</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142765</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142617</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142617</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142457</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142457</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142449</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142449</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142416</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142416</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142320</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142320</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142147</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142147</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142144</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142144</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142137</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142137</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142129</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142129</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">142040</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">142040</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141966</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141966</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141965</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141965</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141925</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141925</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141829</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141829</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141788</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141788</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141786</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141786</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141747</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141747</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141720</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141720</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141696</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141696</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141590</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141590</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141574</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141574</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141572</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141572</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141505</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141505</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141500</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141500</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141324</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141324</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141323</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141323</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141269</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141269</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">141243</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">141243</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140901</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140901</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140832</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140832</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140768</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140768</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140693</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140693</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140687</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140687</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140678</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140678</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140627</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140627</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140589</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140589</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140567</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140567</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140554</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140554</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140549</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140549</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140486</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140486</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140480</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140480</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140457</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140457</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                    <item xsi:type="ns1:PlentySoapResponseMessage">
                        <Code xsi:type="xsd:int">100</Code>
                        <IdentificationKey xsi:type="xsd:string">CustomerID</IdentificationKey>
                        <IdentificationValue xsi:type="xsd:string">140447</IdentificationValue>
                        <SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
                            <item xsi:type="ns1:PlentySoapResponseSubMessage">
                                <Value xsi:type="xsd:string">140447</Value>
                                <Key xsi:type="xsd:string">CustomerID</Key>
                            </item>
                        </SuccessMessages>
                        <ErrorMessages xsi:nil="true" />
                        <Warnings xsi:nil="true" />
                    </item>
                </ResponseMessages>
            </return>
        </ns1:SetCustomersResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Soll ich mich damit an Plenty wenden? Habt ihr mir irgendwelche Details die ich noch nennen kann? Sonst kommt eh wieder nur "können wir nicht nachvollziehen" :/


Danke, Daniel

Wir werden mal intern überlegen und versuchen etwas tiefer zu debuggen oder logging zu verbessern, um mehr infos zu erhalten. es sieht wirklich nach einen sporadischen Fehler aus, wo die (chunked) Response plötzlich abbricht. Falls es dich im Detail interessiert: das ist die Stelle gaanz tief in unserer verwendeten HTTPClient-Bibliothek, die den Fehler wirft. D.h. soviel wie "da müsste was kommen... kommt aber nichts mehr..."


Warum es dazu kommt...keine Ahnung.



"Da kommt nix mehr" klingt halt mal wieder wie ein typisches Plenty-Problem O.o Das scheint ja bei SOAP neuerdings öfter mal ein Problem zu sein, für gewöhnlich aber halt "no data", und nicht garnix.


Anyway: Lasst mich bitte wissen wenn ihr info-mäßig irgendwie weiterkommt. Vielleicht könnt ihr herausfinden an welcher Stelle genau es abbricht...


Gruß Daniel

Ja wir melden uns hier, wenn wir etwas herausfinden.

Wir vermuten 3 verschiedene Fehlerklassen:


1. No data - d.h. die SOAP-Response konnte erzeugt werden, aber die Programmlogik, die die Response befüllt, hat keine Daten reingepackt. Klingt eher nach Programmier/Logikfehler auf Seite des SOAP-Response-Erzeugers. D.h. irgendein Stück PHP-Code entscheidet sich dort "no data" reinzuschreiben.


2. Gar nix - Klingt eher nach Infrastruktur oder dass der vorgeschaltete Web-Server vom App-Server nix zur Auslieferung bekommt (irgendetwas schmiert ab z.B. das PHP-Script, die SOAP-Response konnte gar nicht erzeugt werden, oder DB überlastet, oder oder oder..)


3. Da kommt plötzlich nix mehr (chunked stream ended unexpectedly) klingt ähnlich wie 2., bloss dass die SOAP-Response schon beginnt erzeugt zu werden, aber es mitten drin, während der Übermittlung abbricht.

Vermutlich ist das auch für plenty schwer zu debuggen, weil man nicht so richtig sieht wo man ansetzen kann.

Du könntest versuchen plenty den letzten erfolgreichen Request- und Response mitzuteilen. Dort steht ja sicher eine Kunden-ID drin oder so. Dann könntest du mal schauen, ob du im Spreadsheet herausfinden kannst, welche Kunden-ID als nächstes gekommen wäre (vielleicht zusätzlich mal noch vorher eine CSV-Datei rausschreiben, wo du reinschauen kannst). Das zusammen mit einer genauen Uhrzeitangabe an plenty. Vielleicht sehen die dann in irgendwelchen Logfiles irgendwas. Im Worst-case passiert vielleicht sowas wie hier oder hier (aber nur eine Vermutung...kann völlig falsch sein).


Vielleicht wird aber bei plenty auch gerade neuer Code verteilt und du hast Pech, dass genau bei deinen Runs der App-Server auf den du gerade den request schickst gerade durchgestartet wird oder mit neuem Code bespielt wird....



Hallo Daniel,


wir haben versucht den Fehler nachzustellen, aber in unserem Plenty Testsystem tritt der Fehler (natürlich) nicht auf. Habt ihr schon auf AutoScaling umgestellt ?


Können wir deinen Flow für einen Test ausführen ? Wir würden mal versuchen den gesamten Traffic zu loggen. Vielleicht können wir dann etwas erkennen.


Viele Grüße

Torsten

Noch eine Sache wäre interessant:

Wie viele SetCustomers Request von uns sind im SOAP API Log bei Plenty zu sehen (14.06.2017 ca. 19:35 Uhr) ? 3 oder 4 ?

Hallo Torsten,
das war soooo absehbar dass es bei euch geht :D

Ja, wir sind auf Autoscaling, mit externer Domain. Das könnts evtl sein?
Den Flow könnt ihr gern ausführen! Da kann nix kaputt gehen, der setzt nur Kundenklassen... Dauert nur ewig, da er halt alle 158.000 Kunden abruft (in Zukunft wird er dann wieder mit prop_lastruntime laufen, aber wollen ihn halt erst einmal komplett durchlaufen lassen)

Wir haben da vier Requests stehen:

image


Logging war auch aktiv, wenn nötig kann ich dir die Daten geben?

Gruß Daniel

Hi Daniel,


danke für die Hilfe. Da vier Request geloggt wurden, kommt der Request auf alle Fälle an (50 Kunden pro Request). Die von Plenty geloggte Response sieht auch ok aus. Warum die Response nicht vollständig bei uns ankommt kann ich auch nicht wirklich sagen.


Beim Test ist natürlich nicht der "chunked stream ended unexpectedly" Fehler aufgetreten, sondern der alt-bekannte mit der leeren Response (siehe weiter oben 2.). Wir versuchen es bei Gelegenheit nochmal.


VG & schönes Wochenende

Torsten

Hallo Torsten,
da der Flow jetzt zwischenzeitlich mal durchgelaufen ist, stell ich den wieder auf lastUpdateFrom=prop_lastruntime. Da sich damit die Zahl der Datensätze damit stark reduziert, geh ich eher mal davon aus dass der Effekt nicht mehr auftreten wird. Falls doch melde ich mich :)