Skip to content

rsync operation stuck in jetbrains-gateway #1401

@JakkuSakura

Description

@JakkuSakura

Describe the bug

This is a recurring issue. If I use rsync operation in jetbrains-gateway IDEs, it will stuck. If I manually run the rsync command shown with -vvv, the deployment will proceed.

If I run with ssh, no rsync stuck issue

To Reproduce

Steps to reproduce the behavior, please include where possible:

  1. connect jetbrains-gateway to a server, say use PyCharm
  2. run a rsync operation to upload some files to another server
  3. it will stuck
  • Operation code & usage
  # Set up rsync flags
  rsync_flags = ['-avizh']
  # Perform the rsync operation
  rsync(
      name=f'Sync {src_path} to {dest_path}',
      src=source_str,
      dest=str(dest_path),
      flags=rsync_flags
  )
  • Target system information
    JetBrains Getway Client -- MacOS
    Host -- Manjaro Linux
    Remoe -- Manjaro Linux

Expected behavior

It runs smoothly

Meta

  • Include output of pyinfra --support.
    If you are having issues with pyinfra or wish to make feature requests, please
    check out the GitHub issues at https://github.com/Fizzadar/pyinfra/issues .
    When adding an issue, be sure to include the following:

    System: Linux
      Platform: Linux-6.12.28-1-MANJARO-x86_64-with-glibc2.41
      Release: 6.12.28-1-MANJARO
      Machine: x86_64
    pyinfra: v3.3.1
      click: v8.1.8
      coverage: v7.6.12
      coverage: v7.6.12
      distro: v1.9.0
      gevent: v24.11.1
      jinja2: v3.1.5
      packaging: v24.2
      paramiko: v3.1.0
      pytest: v8.3.4
      pytest: v8.3.4
      pytest-cov: v6.0.0
      pytest-cov: v6.0.0
      python-dateutil: v2.9.0.post0
      pywinrm: v0.5.0
      pyyaml: v6.0.2
      pyyaml: v6.0.2
      setuptools: v75.8.1
      typeguard: v4.4.2
      typing-extensions: v4.12.2
    Executable: /home/jakku/Dev/SakuraCapital/SakuraInfra/.venv/bin/pyinfra
    Python: 3.12.9 (CPython, Clang 19.1.6 )
  • How was pyinfra installed (source/pip)?
    pip
  • Include pyinfra-debug.log (if one was created)
  • Consider including output with -vv and --debug.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions