Deployment problem (Google Cloud) : Internal Server Error
See original GitHub issueBinderhub deployed on Google cloud, running into some issue
kubectl --namespace=binder logs <binderhub-deployment-*>
reports:
[I 180115 18:37:44 app:269] BinderHub starting on port 8585
[I 180115 18:38:34 web:2063] 304 GET / (10.36.0.1) 28.11ms
[E 180115 18:39:32 web:1590] Uncaught exception GET /build/gh/nicain/hello-world.git/master (10.36.0.1)
HTTPServerRequest(protocol='http', host='35.202.206.223', method='GET', uri='/build/gh/nicain/hello-world.git/master', version='HTTP/1.1', remote_ip='10.36.0.1', headers={'Host': '35.202.206.223', 'Connection': 'keep-alive', 'Accept': 'text/event-stream', 'Cache-Control': 'no-cache', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', 'Referer': 'http://35.202.206.223/v2/gh/nicain/hello-world.git/master?filepath=helloworld.ipynb', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'en-US,en;q=0.9'})
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/tornado/web.py", line 1511, in _execute
result = yield result
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/usr/local/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "<string>", line 4, in raise_exc_info
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
File "<string>", line 6, in _wrap_awaitable
File "/usr/local/lib/python3.6/site-packages/binderhub/builder.py", line 170, in get
image_manifest = await self.registry.get_image_manifest(*image_name.split('/', 1)[1].split(':', 1))
File "<string>", line 3, in __await__
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/usr/local/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "<string>", line 4, in raise_exc_info
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
File "/usr/local/lib/python3.6/site-packages/binderhub/registry.py", line 38, in get_image_manifest
auth_resp = yield client.fetch(auth_req)
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/usr/local/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "<string>", line 4, in raise_exc_info
tornado.httpclient.HTTPError: HTTP 400: Bad Request
[I 180115 18:39:32 web:2063] 200 GET /build/gh/nicain/hello-world.git/master (10.36.0.1) 271.47ms
config.yaml:
hub:
url: http://130.211.222.80
jupyterhub:
hub:
rbac:
enabled: false
rbac:
enabled: false
registry:
enabled: true
prefix: gcr.io/reliable-cairn-192018/dev
secret.yaml:
hub:
services:
binder:
apiToken: <token1, redacted>
jupyterhub:
hub:
services:
binder:
apiToken: <token1, redacted>
proxy:
secretToken: <token2, redacted>
registry:
password: '|{"private_key": "-----BEGIN PRIVATE KEY-----\n ... <redacted>
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Check a crashed app for errors by using Error Reporting
To download and deploy an app to App Engine, do the following: ... Internal Server Error The server encountered an internal error and...
Read more >AppEngine 500 Server Error after deploy -- error in code?
App Engine 500 (Internal Server Error) almost always means that your Python code threw an unhanded exception that was caught by the runtime....
Read more >500 Server Error after deployment [35893626] - Issue Tracker
Directly after after a GAE application has been deployed and a few seconds after that a HTTP 500 server error often happens, with...
Read more >Troubleshoot Google App Engine 500 internal server error
Is there any way to properly troubleshoot GAE 500 server errors? I know I can check from console.developers.google.com -> Monitoring -> logs ......
Read more >Server error 500 after deploying site to Google App Engine #38
Full disclosure, I'm not experienced in doing this sort of thing, and am unsure of even where to start troubleshooting this problem! I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s keep this open so that we can re-address this once I get the instructions updated, sound good?
hey @nicain - we took a pass at updating the instructions in #402 - the current version should have the RBAC problems fixed and should work with google cloud…wanna give a deployment another shot? Happy to help spot-check and/or send updates to the cookiecutter as well. LMK!