Gwibber 1.0.2: HTTPError: HTTP Error 401: Unauthorized

Bug #360468 reported by jeroenl
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gwibber
Invalid
Undecided
Unassigned

Bug Description

After updating 1.0.1 to 1.0.2, Twitter and Identi.ca are giving this error: "HTTPError: HTTP Error 401: Unauthorized". Only Facebook updates is listed now in my config.

Twitter:

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/__init__.py", line 49, in get_data
    for message in method(client):
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/twitter.py", line 209, in receive
    for data in self.get_messages():
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/twitter.py", line 159, in get_messages
    urllib.urlencode({"count": self.account["receive_count"] or "20"})))
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/twitter.py", line 154, in connect
    url, data, headers = {"Authorization": self.get_auth()})).read()
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

Identi.ca:

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/__init__.py", line 49, in get_data
    for message in method(client):
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/identica.py", line 179, in responses
    for data in self.get_responses():
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/identica.py", line 143, in get_responses
    "https://identi.ca/api/statuses/replies.json"))
  File "/usr/local/lib/python2.5/site-packages/gwibber/microblog/identica.py", line 124, in connect
    url, data, {"Authorization": self.get_auth()})).read()
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Unfortunately, trunk is currently in the process of migrating away from gnome-keyring for storing passwords and back to plain ~/.gconf.

As a result you will need to edit the accounts you have setup and re-enter your passwords and click save to store the credentials.

In the near future Gwibber trunk will be more helpful at informing the user they need to do this.

Changed in gwibber:
status: New → Triaged
Revision history for this message
jeroenl (jeroenl) wrote :

Thanks. That worked. Still problems with ping.fm though.

Revision history for this message
Bruno Lucas (brunolucas) wrote :

Thanks it worked for me also.

Revision history for this message
azanutta (azanutta) wrote :

thanks, worked for all the services but ping.fm ... that service works once a week =((

Revision history for this message
pebosi (pebosi) wrote :

got the same problem on jaunty with 1.2 trunk release and twitter accounts... not working

Revision history for this message
Carlos Arenas (fooka) wrote :

I had the same issue with gwibber v2.0.0 (after upgrading to ubuntu karmic) and the suggested fix worked.

Revision history for this message
Omer Akram (om26er) wrote :

this issue should be fixed in gwibber 2.32 if you still face any issue please report a new bug.

Changed in gwibber:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.