Some package uploads from Andrews Forest fail without a clear cause.
Add debug level logging on portal-d for the package entity download process:
- In the download loop, add
- Logging of bytes downloaded so far
- Exceptions
- HTTP connection status
- Exit status
- Any other potentially useful information, if available
- Final status after completed download
- Note that the downloads run in a separate thread, which may affect logging
Before starting work on this, contact Suzanne at Andrews Forest, and:
- Determine how the download data is generated and served through HTTP
- Let them know that be accessing their server for testing
Example URL that caused issue on package-d, but not in local VM:
Example download URLs from their Level-0 EML: