-
Notifications
You must be signed in to change notification settings - Fork 96
Description
We use zowe cli to do automated uploads of git repository contents to our mainframe (both in pipelines and from local developer machines). In some (seemingly random) cases we are encountering errors when uploading.
This is an example of the error occuring.
Commands: zowe files upload dir-to-pds [...] [...]
success: false
from: [...]
to: [...]
error:
message:
Rest API failure with HTTP(S) status 500
receiveResponseHeader: timeout receiving response (>30 secs): TsoServerConnection(USER=[...], ASID=0x0283, QID=0x0010000c)
stack:
Error: Rest API failure with HTTP(S) status 500
receiveResponseHeader: timeout receiving response (>30 secs): TsoServerConnection(USER=[...], ASID=0x0283, QID=0x0010000c)
at ZosmfRestClient.populateError (/usr/local/lib/node_modules/@zowe/cli/node_modules/@zowe/imperative/lib/rest/src/client/AbstractRestClient.js:729:16)
at requestEnd (/usr/local/lib/node_modules/@zowe/cli/node_modules/@zowe/imperative/lib/rest/src/client/AbstractRestClient.js:631:35)
at ZosmfRestClient.onEnd (/usr/local/lib/node_modules/@zowe/cli/node_modules/@zowe/imperative/lib/rest/src/client/AbstractRestClient.js:646:13)
at IncomingMessage. (/usr/local/lib/node_modules/@zowe/cli/node_modules/@zowe/imperative/lib/rest/src/client/AbstractRestClient.js:556:18)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
file_to_upload: 768
success: 26
error: 1
skipped: 741
Rest API failure with HTTP(S) status 500
receiveResponseHeader: timeout receiving response (>30 secs): TsoServerConnection(USER=[...], ASID=0x0283, QID=0x0010000c)
Unable to perform this operation due to the following problem.
receiveResponseHeader: timeout receiving response (>30 secs): TsoServerConnection(USER=[...], ASID=0x0283, QID=0x0010000c)
We are uploading to a previously created dataset (command used: zowe files create pds "[...]" --dsntype LIBRARY --recfm FB --lrecl 80 --asu CYL --ps 10 --ss 10 --blksize 32720)
Observations:
- Increased timeout parameter (up to 10 minutes max) has no effect
- Once an error scenario occurs, always the same file fails (also if uploaded as a single file)
- Upload may work again when making (seemingly random) changes to the file in question
- Upload fails from all locations once errourous state is reached
Metadata
Metadata
Assignees
Labels
Type
Projects
Status