質問編集履歴

1

2022/01/16 02:08

投稿

z6JST8rNRMLLl1T
z6JST8rNRMLLl1T

スコア19

test CHANGED
File without changes
test CHANGED
@@ -116,6 +116,99 @@
116
116
  t.start()
117
117
  ```
118
118
 
119
+ ### エラー
120
+
121
+ ```py
122
+ * Serving Flask app '' (lazy loading)
123
+ * Environment: production
124
+ WARNING: This is a development server. Do not use it in a production deployment.
125
+ Use a production WSGI server instead.
126
+ * Debug mode: off
127
+ * Running on all addresses.
128
+ WARNING: This is a development server. Do not use it in a production deployment.
129
+ * Running on http://172.18.0.120:9981/ (Press CTRL+C to quit)
130
+ Traceback (most recent call last):
131
+ File "main.py", line 93, in <module>
132
+ client.run("トークン")
133
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 723, in run
134
+ return future.result()
135
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 702, in runner
136
+ await self.start(*args, **kwargs)
137
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 665, in start
138
+ await self.login(*args, bot=bot)
139
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 511, in login
140
+ await self.http.static_login(token.strip(), bot=bot)
141
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/http.py", line 300, in static_login
142
+ data = await self.request(Route('GET', '/users/@me'))
143
+ File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/http.py", line 216, in request
144
+ raise HTTPException(r, data)
145
+ discord.errors.HTTPException: 429 Too Many Requests (error code: 0): <!DOCTYPE html>
146
+ <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
147
+ <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
148
+ <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
149
+ <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
150
+ <head>
151
+ <title>Access denied | discord.com used Cloudflare to restrict access</title>
152
+ <meta charset="UTF-8" />
153
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
154
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
155
+ <meta name="robots" content="noindex, nofollow" />
156
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
157
+ <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/main.css" type="text/css" media="screen,projection" />
158
+
159
+
160
+ <script defer src="https://api.radar.cloudflare.com/beacon.js"></script>
161
+ </head>
162
+ <body>
163
+ <div id="cf-wrapper">
164
+ <div class="cf-alert cf-alert-error cf-cookie-error hidden" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
165
+ <div id="cf-error-details" class="p-0">
166
+ <header class="mx-auto pt-10 lg:pt-6 lg:px-8 w-240 lg:w-full mb-15 antialiased">
167
+ <h1 class="inline-block md:block mr-2 md:mb-2 font-light text-60 md:text-3xl text-black-dark leading-tight">
168
+ <span data-translate="error">Error</span>
169
+ <span>1015</span>
170
+ </h1>
171
+ <span class="inline-block md:block heading-ray-id font-mono text-15 lg:text-sm lg:leading-relaxed">Ray ID: 6ce3c9059b9e6832 &bull;</span>
172
+ <span class="inline-block md:block heading-ray-id font-mono text-15 lg:text-sm lg:leading-relaxed">2022-01-16 02:06:33 UTC</span>
173
+ <h2 class="text-gray-600 leading-1.3 text-3xl lg:text-2xl font-light">You are being rate limited</h2>
174
+ </header>
175
+
176
+ <section class="w-240 lg:w-full mx-auto mb-8 lg:px-8">
177
+ <div id="what-happened-section" class="w-1/2 md:w-full">
178
+ <h2 class="text-3xl leading-tight font-normal mb-4 text-black-dark antialiased" data-translate="what_happened">What happened?</h2>
179
+ <p>The owner of this website (discord.com) has banned you temporarily from accessing this website.</p>
180
+
181
+ </div>
182
+
183
+
184
+ </section>
185
+
186
+ <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
187
+ <p class="text-13">
188
+ <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">6ce3c9059b9e6832</strong></span>
189
+ <span class="cf-footer-separator sm:hidden">&bull;</span>
190
+ <span class="cf-footer-item sm:block sm:mb-1"><span>Your IP</span>: 34.127.75.94</span>
191
+ <span class="cf-footer-separator sm:hidden">&bull;</span>
192
+ <span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
193
+
194
+ </p>
195
+ </div><!-- /.error-footer -->
196
+
197
+
198
+ </div><!-- /#cf-error-details -->
199
+ </div><!-- /#cf-wrapper -->
200
+
201
+ <script type="text/javascript">
202
+ window._cf_translation = {};
203
+
204
+
205
+ </script>
206
+
207
+ </body>
208
+ </html>
209
+
210
+ ```
211
+
119
212
  ### 補足
120
213
 
121
214
  ①これのほかにdisocrd.jsを動かしています。