Skip to content
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

Receive messages (like maintenance messages) from servers #37

Open
ferventcoder opened this issue Jan 21, 2015 · 2 comments
Open

Receive messages (like maintenance messages) from servers #37

ferventcoder opened this issue Jan 21, 2015 · 2 comments

Comments

@ferventcoder
Copy link
Member

And display them to user.

@ferventcoder
Copy link
Member Author

This involves work with the server side as well.

@jpluimers
Copy link

One of the many reasons for this is to less confuse users like me figuring out the cause of problems, for instance when today figuring out the cause for the behaviour I will quote at the bottom of this comment.

I started the searches below to find out some mentioned https://status.chocolatey.org that had the maintenance Window then got a response when tweeting about it and getting directed to this issue.

I will link to this issue from some related issues during my search so it will be easier for others to find this issue and upvote it.

Since https://status.chocolatey.org/ knows about status, I guess that by now a bit of the server side work already is in place making it a tiny bit easier to add a feature like this (which likely is not easy to write test code for given there is client-server interaction involved).

Maybe split this into an approach of smaller steps like:

  1. for 503 and time-out on chocolatey server requests have choco suggest to look at https://status.chocolatey.org
  2. later have choco interrogate server side of https://status.chocolatey.org and inform of a current maintenance window.

The searches I used were for issues containing:

They were based on this choco output:

C:\bin\bin>choco upgrade --yes WakeMeOnLan
Chocolatey v0.11.3
Upgrading the following packages:
WakeMeOnLan
By upgrading, you accept licenses for the packages.
WakeMeOnLan is not installed. Installing...
WakeMeOnLan not installed. An error occurred during installation:
 The remote server returned an error: (503) Server Unavailable. Service Unavailable
WakeMeOnLan package files upgrade failed with exit code 1. Performing other installation steps.
The upgrade of WakeMeOnLan was NOT successful.
WakeMeOnLan not installed. An error occurred during installation:
 The remote server returned an error: (503) Server Unavailable. Service Unavailable

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - WakeMeOnLan (exited 1) - WakeMeOnLan not installed. An error occurred during installation:
 The remote server returned an error: (503) Server Unavailable. Service Unavailable

C:\bin\bin>choco upgrade --yes WakeMeOnLan
Chocolatey v0.11.3
Upgrading the following packages:
WakeMeOnLan
By upgrading, you accept licenses for the packages.
WakeMeOnLan is not installed. Installing...
WakeMeOnLan not installed. An error occurred during installation:
 The operation has timed out
WakeMeOnLan package files upgrade failed with exit code 1. Performing other installation steps.
The upgrade of WakeMeOnLan was NOT successful.
WakeMeOnLan not installed. An error occurred during installation:
 The operation has timed out

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - WakeMeOnLan (exited 1) - WakeMeOnLan not installed. An error occurred during installation:
 The operation has timed out

--jeroen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants