apnex / vmw-cli

CLI and API for programmatic access to my.vmware.com
MIT License
30 stars 9 forks source link

Cannot seem to list or download any product #5

Closed nige316 closed 3 years ago

nige316 commented 3 years ago

As on 10th June 2021 I cannot seem to list or download any product after being able to on previous day. My credentials are fine as I have manually download from vmware website.

I receive the following when running an 'ls':

PS /root> docker run -itd --name $DockerName -e VMWUSER=$Username -e VMWPASS=$Password -v ${PWD}:/files --entrypoint=sh apnex/vmw-cli 362e1dff2a5826c094397516c7fd104519e8a066292141b8867d71725c757c12 PS /root> PS /root> PS /root> docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 362e1dff2a58 apnex/vmw-cli "sh" 15 seconds ago Up 14 seconds vmw PS /root> PS /root> docker exec vmw vmw-cli ls [GET] https://my.vmware.com/channel/public/api/v1.0/products/getProductsAtoZ [GET] https://my.vmware.com/channel/public/api/v1.0/products/getProductsAtoZ [GET] https://my.vmware.com/channel/public/api/v1.0/products/getProductsAtoZ (node:6) UnhandledPromiseRejectionWarning: RequestError: getaddrinfo EAI_AGAIN my.vmware.com at ClientRequest. (/root/node_modules/got/dist/source/core/index.js:891:25) at Object.onceWrapper (events.js:313:26) at ClientRequest.emit (events.js:228:7) at ClientRequest.origin.emit (/root/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20) at TLSSocket.socketErrorListener (_http_client.js:415:9) at TLSSocket.emit (events.js:223:5) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:81:21) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) (node:6) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:6) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.****