urllib/http error while updating files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicu.bogus
    Junior Member
    • Jan 2022
    • 2

    #1

    urllib/http error while updating files

    Hi there,

    From 2-3 days I have tons of stuck processes on ubuntu 18 server like this:

    ```
    15434 ? Ss 0:00 /bin/sh -c echo '{"command": ["malware", "on-demand", "check-detached"], "params": {}}' | nc -U /var/run/defence360agent/simple_rpc.sock > /dev/null 2>&1 || :
    15436 ? S 0:00 nc -U /var/run/defence360agent/simple_rpc.sock
    ```
    I found this on /var/log/imunify360/error.log

    ```
    WARNING [2023-10-16 09:30:17,484] defence360agent.files: Files update failed with error: urllib/http error while updating files, url: https://files.imunify360.com/static/...scription.json, err: <urlopen error [Errno 104] Connection reset by peer>, try: 1
    WARNING [2023-10-16 09:30:17,584] defence360agent.files: Files update failed with error: urllib/http error while updating files, url: https://files.imunify360.com/static/...scription.json, err: <urlopen error [Errno 104] Connection reset by peer>, try: 2
    ```

    The imunify-antivirus version is 7.5.2-1

    What can I do to fix it?
    Thank you!​
  • alevchenko
    Administrator
    • Mar 2023
    • 86

    #2
    Hi,

    This solution may be helpful in this case:
    https://cloudlinux.zendesk.com/hc/en...10574775871388

    The fix will be included in v7.5.3.

    Comment

    • nicu.bogus
      Junior Member
      • Jan 2022
      • 2

      #3
      I've replace nc with socat and I'll let you know if this occurs again. Thank you!

      Comment

      Working...