After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563932 - Tasque Crashes/Hangs when trying to connect to RTM (apparently following 503 server response)
Tasque Crashes/Hangs when trying to connect to RTM (apparently following 503 ...
Status: RESOLVED FIXED
Product: Tasque
Classification: Other
Component: General
git
Other All
: Normal critical
: 0.1.8
Assigned To: tasque-maint
tasque-maint
Depends on:
Blocks:
 
 
Reported: 2008-12-10 00:05 UTC by Udi
Modified: 2008-12-22 23:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Udi 2008-12-10 00:05:45 UTC
Steps to reproduce:
Click on [Click Here To Connect] RTM's backend



Stack trace:
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
RtmNet.RtmWebException: HTTP Error 503, Service Temporarily Unavailable ---> System.Net.WebException: The remote server returned an error: (503) Service Temporarily Unavailable.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] --- End of inner exception stack trace ---

  at RtmNet.Rtm.DoGetResponse (System.String url, System.String variables) [0x00000] 
  at RtmNet.Rtm.GetResponse (System.Collections.Hashtable parameters) [0x00000] 
  at RtmNet.Rtm.AuthGetFrob () [0x00000] 
  at Tasque.Backends.RtmBackend.RtmBackend.GetAuthUrl () [0x00000] 
  at Tasque.Backends.RtmBackend.RtmPreferencesWidget.OnAuthButtonClicked (System.Object sender, System.EventArgs args) [0x00000] 
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Tasque.GnomeApplication.StartMainLoop()
   at Tasque.Application.StartMainLoop()
   at Tasque.Application.Main(System.String[] args)


Other information:
Tested on Ubuntu Intrepid 8.10, both on 0.1.6 and SVN.
Comment 1 Brian G. Merrell 2008-12-10 01:06:44 UTC
Thanks for the bug report.  This looks like a temporary problem with RTM.  I will leave it open just in case it persists.
Comment 2 Brian G. Merrell 2008-12-10 02:08:25 UTC
Looks like they fixed it.
Comment 3 Udi 2008-12-10 06:41:53 UTC
Hey!

Tasque should not crash or hang when a 503 is encountered!
An error msg should be displayed instead.

The problem is at RtmPreferencesWidget, line #96 (SVN Trunk):
string url = rtmBackend.GetAuthUrl();

This line does not have exception handling.

Comment 4 Brian G. Merrell 2008-12-10 08:16:57 UTC
Good point.
Comment 5 Sandy Armstrong 2008-12-22 23:52:13 UTC
Fixed in r171.