Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Upack push returns "Operation was cancelled by user"



  • Hi,

    I'm new to using upack.exe CLI and I've managed to create a .upack package using the
    upack pack command.

    I'm trying to push out this package using the below command:

    "upack push Mypackage-1.0.1.upack "https://proget.consilio.com/upack/<feedname>" --user="$ProgetUsername":"$ProgetPassword" "

    I am passing the username and password by storing them in the variables as seen above.

    This command returns this output:
    Package: Mypackage
    Version: 1.0.1
    Operation was canceled by the user.

    Why does it say "Operation was cancelled", Is it waiting for user input? How do I push the package up to my feed? I cannot have the credentials displayed in plain text.

    This is my current setup :

    • Installed upack v3.1.1 as a dotnet tool
    • running the upack.exe command inside a PowerShell script.

    Could you please help on this?

    Regards,
    Priyanka


  • inedo-engineer

    Hi @priyanka-m_4184 ,

    That message usually indicates a network problem; are you seeing any issues on the ProGet side of things?

    Can you try pushing a package with PowerShell directly instead of using upack.exe? That way you can see an error more clearly, hopefully.

    Cheers,
    Steve



  • Hi @stevedennis ,

    Thanks, Everything looks good from ProGet end

    By PowerShell you mean using Invoke-WebRequest right?

    With Invoke-WebRequest it just took very long (~30 mins) . So maybe it is the network. I will check and add an update.

    Regards,
    Priyanka


  • inedo-engineer

    Hi @priyanka-m_4184 , thanks for updating; yes in this case, it must be a really large package file? 30min is long time, and the upack client must be timing out then.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation