• Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Casablanca Release
    • None
    • None

      Below is the error that we are seeing when sending larger files of size 100Kb or greater through DFC to DR.

       

      2018-11-02 11:48:15.454 ERROR 1 — [reactor-http-client-epoll-6] .c.d.s.p.DmaapProducerReactiveHttpClient : Unable to send file to DataRouter. Data: ConsumerDmaapModel{name=samplexNFPM.xml.gz_10, location=target/samplexNFPM.xml.gz_10, compression=gzip, fileFormatType=org.3GPP.32.435#measCollec, fileFormatVersion=V10}

                                                                                                                                                                                                                                                  

      org.springframework.web.client.ResourceAccessException: I/O error on PUT request for "https://172.18.0.10:8443/publish/1/samplexNFPM.xml.gz_10": Broken pipe (Write failed); nested exception is java.net.SocketException: Broken pipe (Write

              at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:743)                                                                                                                                                     

              at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:709)                                                                                                                                                       

              at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:597)                                                                                                                                                      

              at org.onap.dcaegen2.collectors.datafile.web.RestTemplateWrapper.exchange(RestTemplateWrapper.java:62)                                                                                                                              

              at org.onap.dcaegen2.collectors.datafile.service.producer.DmaapProducerReactiveHttpClient.getDmaapProducerResponse(DmaapProducerReactiveHttpClient.java:113)                                                                        

              at org.onap.dcaegen2.collectors.datafile.tasks.DmaapPublisherTaskImpl.execute(DmaapPublisherTaskImpl.java:50)                                                                                                                       

              at org.onap.dcaegen2.collectors.datafile.tasks.ScheduledTasks.publishToDmaapConfiguration(ScheduledTasks.java:93)                                                                                                          …..

       

      This error is caused by trying to write over a dead connection so we believe that there are connections between DFC and DR left open after a file has been published but we’re not sure.

       

      The picture below shows that after the files have been delivered to the subscriber in the top right window that there are still 3 connections ESTABLISHED between DFC and datarouter-node so we think this could be the cause of the error but we would like your opinion on this.

       

       

      Regards,

      Conor

            yanhuanwang yanhuanwang
            yanhuanwang yanhuanwang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: