Protection Engine for Cloud Services

 View Only
  • 1.  Protection Engine- Unable to open a stream to recieve the data from the server

    Posted Nov 03, 2014 09:32 AM

    Hello,

    I am evaluating Protection Engine for Cloud Services 7.5 features using trail version. I am using java API (SymJavaAPI.jar) to scan files.

    I am randomly getting 'Unable to open a stream to recieve the data from the server' while scanning files specially with large Files.

    Any help would be appreciated !!

     



  • 2.  RE: Protection Engine- Unable to open a stream to recieve the data from the server

    Posted Nov 05, 2014 03:33 AM
    Hi, How big is the file? Is it a zip file? How long does it take to get the results? You may be getting scan error due to time out or over sized files. In that case, you may have to adjust container scanning policies: (1) Go to SPE Web console (2) Go to [Policies]->[Filtering]->[Container Handling] tab (3) Try adjusting folloing settings: - "Time to extract file meets or exceeds" - "Maximum extract size of file meets or exceeds" Hope this helps, Haro


  • 3.  RE: Protection Engine- Unable to open a stream to recieve the data from the server

    Posted Jan 07, 2023 06:27 PM
    Running into what might be this. How do I make these changes via Linux command line?


  • 4.  RE: Protection Engine- Unable to open a stream to recieve the data from the server

    Posted Nov 05, 2014 05:31 AM

    Hi Haro,

    I really appreciate your quick response.

    I am scanning 1.12 GB zip file with following settings :

    1) Time to extract file meets or exceeds- 600 sec

    2) Maximum extract size of file meets or exceeds - 2048 MB

    3) Maximum extract depth of file meets or exceeds - 10

    4)  SocketTimeOut - 5 min

    Still getting 'Unable to open a stream to recieve the data from the server' .

    Thanks in advance.

    Jignesh Dalwadi

     

     

     

     

     

     

     



  • 5.  RE: Protection Engine- Unable to open a stream to recieve the data from the server

    Posted Nov 05, 2014 06:40 AM
    Hello Jignesh, Wow, thats a big file. Go look into log file of SPE or Detailed report of "Container Violation Found" on SPE Web console. If you see something like "Container file size limit exceeded" or "time limit" related, then you should increase Container Handling paramters. If you do not see any errors on SPE size, then you may have to increase "readWriteTime" attribute when calling createScanEngine() method in ScanEngine class of Java API. Hope this helps, Haro


  • 6.  RE: Protection Engine- Unable to open a stream to recieve the data from the server
    Best Answer

    Posted Nov 05, 2014 07:36 AM

    Hello Haro,

    Increasing "readWriteTime" attribute value resolved the problem :)

    We are enterprise level software company which deals with large content. We are evaluating SPE as per our business needs.

    Haro, I really appreciate your help :)

    Thanks.

    Jignesh