1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>GitHub rate limit reached - Grip</title>
<link rel="icon" href="/__/grip/static/favicon.ico" /><style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42em;
}
code {
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
background-color: #f8f8f8;
border: 1px solid #ddd;
border-radius: 3px;
font-size: 12px;
line-height: 19px;
overflow: auto;
padding: 2px 10px;
}
.error-page {
margin: 32px auto;
width: 500px;
}
.error-page.authenticated {
margin: 64px auto;
width: 600px;
}
.error-block {
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 3px;
padding: 16px 32px;
}
.error-description {
padding: 16px 32px;
}
</style>
</head>
<body>
<div class="page">
<div class="error-page ">
<div class="error-block">
<h1>GitHub Rate Limit Reached</h1>
<p>
The <a href="https://developer.github.com/v3/#rate-limiting">GitHub API rate limit</a>
has been reached for the hour.
</p>
</div>
<div class="error-description">
<h2>What?</h2>
<p>
GitHub imposes a limit of <strong>60 requests/hour</strong> when using their API without authentication.
</p>
<h2>Why?</h2>
<p>
This prevents people from anonymously abusing GitHub's system.
</p>
<p>
As for Grip, it's built to appear as close to GitHub as possible. Using
GitHub's API allows Grip to immediately and accurately reflect any updates
from GitHub, without the delay of busy maintainers or requiring you to upgrade.
</p>
<h2>Ok, fine. Where do I go from here?</h2>
<p>
Until the <a href="https://github.com/joeyespo/grip/issues/35">offline renderer</a> is complete, you can run Grip using <br />
the <code>--user</code> and <code>--pass</code> arguments to use basic auth, <br />
giving you <strong>5,000 requests/hour</strong>. Run <code>grip -h</code> for details.
</p>
<p>
I do apologize for the inconvenience. If you need help, or have ideas on improving this
experience, please reach out <a href="mailto:?subject=I+just+hit+GitHub's+rate+limit+with+grip" target="_blank">[email protected]</a>
</p>
</div>
</div>
</div><script>
function scrollToHash() {
if (location.hash && !document.querySelector(":target")) {
var elements = document.getElementsByName('user-content-' + location.hash.slice(1));
if (elements.length > 0) {
elements[elements.length - 1].scrollIntoView();
}
}
}
window.onhashchange = function() {
scrollToHash();
}
window.onload = function() {
scrollToHash();
}
</script>
</body>
</html>
|