question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

brotab active/activate: urllib.error.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR

See original GitHub issue

Hello,

brotab active

results in

Traceback (most recent call last):
  File "/home/_user/.local/bin/brotab", line 8, in <module>
    sys.exit(main())
  File "/home/_user/.local/lib/python3.8/site-packages/brotab/main.py", line 670, in main
    exit(run_commands(sys.argv[1:]))
  File "/home/_user/.local/lib/python3.8/site-packages/brotab/main.py", line 663, in run_commands
    result = args.func(args)
  File "/home/_user/.local/lib/python3.8/site-packages/brotab/main.py", line 175, in show_active_tabs
    tabs = api.get_active_tabs(args)
  File "/home/_user/.local/lib/python3.8/site-packages/brotab/api.py", line 115, in get_active_tabs
    return [self.prefix_tab(tab) for tab in self._get('/get_active_tabs').split(',')]
  File "/home/_user/.local/lib/python3.8/site-packages/brotab/api.py", line 249, in _get
    with urlopen(request, timeout=HTTP_TIMEOUT) as response:
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR

I’m on Ubuntu 20.04, and this used to work (just ~2 days ago). Might be an update in Chrome?

(A similar issue occurs with brotab activate)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
balta2arcommented, May 29, 2022

Communication of mediator with browser has been subject to changes in the newly released 1.4.0, so I hope it works better now – so give it a try. If anything, please comment here and I’ll reopen the issue.

1reaction
doctorcolossuscommented, Mar 27, 2022

@bjohas Sorry, I am sometimes bad about keeping up with my github notifications and just saw this. I am overwhelmed with other tasks at the moment, but will put this on my to-do list and link to a pull-request here when I am able to get this done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Focused option doesnt seem to work on Firefox #35 - GitHub
HTTPError : HTTP Error 500: INTERNAL SERVER ERROR ... Two browsers (Chrome and Firefox) both with active installed brotab extensions ...
Read more >
urllib2.HTTPError: HTTP Error 500: Internal Server Error
That's should be the server problem . Internal Error--the server could not fulfill the request because of an unexpected condition.
Read more >
What is “HTTP 500 Internal Server Error” and How to Fix It?
The “HTTP 500 Internal Server Error” is very common and it can be caused by various problems. Learn more about the error and...
Read more >
500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
This error response is a generic "catch-all" response. Usually, this indicates the server cannot find a better 5xx error code to response.
Read more >
brotab - Bountysource
brotab. Control your browser's tabs from the command line ... brotab active/activate: urllib.error. ... HTTPError: HTTP Error 500: INTERNAL SERVER ERROR.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found