-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sfctl upload returns times out or returns cert error when other commands work #187
Comments
Any updates? |
A compress flag was added to this command, which could potentially help if youre hitting time out issues. |
@jeffj6123 Is this in the documentation? https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-sfctl-application#sfctl-application-upload |
I did see similar issues when uploading an application package to ImageStore. I tried the compressed flag without any success. However what solved the problem was editing the following file. "Python\Python311\Lib\site-packages\sfctl\custom_app.py" I changed the jobcount in upload_to_native_imagestore function to 1 and I could upload the package successfully. Following are the changes made. jobcount = get_job_count() I am not sure why it works. but I have seen issues on stackoverflow with parallel uploading with ssl https://stackoverflow.com/questions/71759687/typeerrorcannot-pickle-io-bufferedreader-object |
While running "sfctl upload", either timeout occurs while upload is happening, or the following error is returned "'403 Client Error: Client certificate required for url"
Other commands work in sfctl, and upload works in other clients, such as PowerShell.
This issue may be caused by the first file being uploaded being large. Adding a small empty text file with an alphabetically first file name to the root of the folder being uploaded will mitigate the issue while it the issue is not yet fixed.
The text was updated successfully, but these errors were encountered: