-
Notifications
You must be signed in to change notification settings - Fork 41
Stop the process if download fails. #11
Comments
What do you suggest? Clearing up the temporary folder before running again? |
I think I misunderstood this problem. The download fails but it's currently filed under #13. This is a problem when the .cer could not be loaded. Clearing the |
Or better yet, use unique name for every download to avoid this problem completely. |
In general you want to google for http://www.ruby-doc.org/stdlib-1.9.3/libdoc/tempfile/rdoc/Tempfile.html |
Actually this is not doubled by #13. This happens independently. Sometimes the downloaded cert is just not valid.
|
You should check the validity of the cert and possibly retry the download? |
https://gist.github.com/anonymous/f4a5bcd71a41303ca066 the file that is downloaded during this bug is a html file, you can check |
@alistra Thanks for the tip with |
Since the original problem of this issue is fixed, should we close this and create a feature request for the naming of the temp files @KrauseFx? |
Good idea, @muffe |
This issue was migrated to fastlane/fastlane#2841. Please post all further comments there.
|
I'm using PEM to generate multiple certificates for multiple targets. Sometimes the download failed but you always copy
/tmp/PEM/pem_temp.pem
without checking, I ended up with a duplicate certificate.The text was updated successfully, but these errors were encountered: