[Solution] 500 Internal Server Error due to tensorboard update
See original GitHub issueSome info redacted.
Uncaught exception POST /api/tensorboard?XXXX
HTTPServerRequest(protocol='http', host='', method='POST', uri='/api/tensorboard?XXXX', version='HTTP/1.1', remote_ip='')
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/tornado/web.py", line 1701, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.6/site-packages/tornado/web.py", line 3178, in wrapper
return method(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post
.new_instance(data["logdir"], reload_interval=reload_interval)
File "/opt/conda/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 221, in new_instance
purge_orphaned_data=purge_orphaned_data)
File "/opt/conda/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 44, in create_tb_app
return application.standard_tensorboard_wsgi(
AttributeError: module 'tensorboard.backend.application' has no attribute 'standard_tensorboard_wsgi'
After some digging around, latest version of tensorboard does not have that attribute in error above: https://github.com/tensorflow/tensorboard/blob/master/tensorboard/backend/application.py
The latest one I saw was tensorboard==2.2
https://github.com/tensorflow/tensorboard/blob/2.2/tensorboard/backend/application.py .
Simple solution would be to tell users to pip install tensorboard==2.2
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9
Top Results From Across the Web
[Solution] 500 Internal Server Error due to tensorboard update
Some info redacted. Uncaught exception POST /api/tensorboard?XXXX HTTPServerRequest(protocol='http', host='', method='POST', ...
Read more >Tensorboard Invalid response: 500 Internal Server Error in ...
Currently, the easiest way to fix it will be to use a lower version of Tensorboard. The latest version where TensorBoardWSGI is available...
Read more >How to Fix a 500 Internal Server Error on Your WordPress Site
The 500 Internal Server Error status code occurs when the server encounters an error that prevents it from fulfilling the request.
Read more >Internal Server Error" on Amazon SageMaker - AWS
When I run an Amazon SageMaker processing, training, or prediction job, the request fails with the response "HTTP Error 500: Internal Server ......
Read more >[Solved] Jupyter Notebook - 500 : Internal Server Error
I checked the Internet and found that the status code 500 means: the server encountered an unexpected error and made an error. What...
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 Free
Top 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
Are the new patches going to be merged into this branch?
For me it is working correctly using the following configuration (with TensorFlow 2.4.1 installed):