Re: [Snowy] Tomboy 1.2.1, error 401 on POST /oauth/request_token/ .. client/server time updated



Did you build Tomboy from source with that patch applied?

Sandy

On Thu, Jan 20, 2011 at 1:13 PM, J. Bobby Lopez <jbl jbldata com> wrote:
> Did the 'python manage.py check' command, everything looks good.
>
>
> Here are the errors dumped from tomboy (console) when I attempt to connect
> to my snowy instance:
>
> [jbl@watchtower myscripts]$ [ERROR 15:52:28.248] Caught exception. Message:
> The remote server returned an error: (401) UNAUTHORIZED.
> [ERROR 15:52:28.249] Stack trace for previous exception:   at
> System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult
> result) [0x00000] in <filename unknown>:0
>   at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData
> data) [0x00000] in <filename unknown>:0
> [ERROR 15:52:28.250] Rest of stack trace for above exception:    at
> System.Environment.get_StackTrace()
>    at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method,
> System.String url, System.Collections.Generic.List`1 parameters,
> System.String postData)
>    at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method,
> System.String url, System.String postData)
>    at Tomboy.WebSync.Api.OAuth.Post(System.String uri, IDictionary`2
> queryParameters, System.String postValue)
>    at Tomboy.WebSync.Api.OAuth.GetAuthorizationUrl()
>    at
> Tomboy.WebSync.WebSyncPreferencesWidget.OnAuthButtonClicked(System.Object
> sender, System.EventArgs args)
>    at System.Reflection.MonoMethod.InternalInvoke(System.Object ,
> System.Object[] , System.Exception ByRef )
>    at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags
> invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture)
>    at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[]
> parameters)
>    at System.Delegate.DynamicInvokeImpl(System.Object[] args)
>    at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
>    at System.Delegate.DynamicInvoke(System.Object[] args)
>    at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs
> args)
>    at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
>    at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr
> return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr
> invocation_hint, IntPtr marshal_data)
>    at Gtk.Application.gtk_main()
>    at Gtk.Application.Run()
>    at Gnome.Program.Run()
>    at Tomboy.GnomeApplication.StartMainLoop()
>    at Tomboy.Application.StartMainLoop()
>    at Tomboy.Tomboy.StartTrayIcon()
>    at Tomboy.Tomboy.Main(System.String[] args)
> [ERROR 15:52:28.251] Failed to get auth URL from https://snowy.jbldata.com/.
> Exception was: System.Net.WebException: The remote server returned an error:
> (401) UNAUTHORIZED.
>   at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult
> result) [0x00000] in <filename unknown>:0
>   at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData
> data) [0x00000] in <filename unknown>:0
>
>
>
> It says "unauthorized" but I'm not sure exactly what would be rejecting
> authorization.
>
> -Bobby
>
>
> On Thu, Jan 20, 2011 at 2:14 PM, Jeff Schroeder <jschroeder gnome org>
> wrote:
>>
>> On Thu, Jan 20, 2011 at 10:20 AM, Sandy Armstrong
>> <sanfordarmstrong gmail com> wrote:
>> ...
>> > Also, make sure you followed INSTALL correctly, that your Sites table
>> > is set up, etc.
>> >
>> > Sandy
>>
>> If  you're using the latest git version of snowy, you can try:
>> python manage.py check
>>
>> It will check that you've synced your database and that the sites
>> table isn't set to the default at least.
>>
>> --
>> Jeff Schroeder
>>
>> Don't drink and derive, alcohol and analysis don't mix.
>> http://www.digitalprognosis.com
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]