Closed trepidity closed 11 years ago
This is exactly what I was receiving this morning 'Server not responding'. Thanks
Date: Fri, 10 May 2013 09:50:44 -0700 From: notifications@github.com To: Rainy@noreply.github.com Subject: [Rainy] Caught exception: The object was used after being disposed. (#21)
13/05/10_16:45:48.282 [DEBUG] Main->SetupLogging - Writing all log messages to file: debug.log
13/05/10_16:45:48.291 [DEBUG] Main->ConfigureSslCerts - using SSL cert ./data/ssl-cert.cer with private key file ./data/ssl-cert.pvk
13/05/10_16:45:48.694 [DEBUG] Rainy.RainyStandaloneServer->Start - starting http listener at: https://127.0.0.1:8443/
13/05/10_16:46:11.466 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request at: /jjennings/none/api/1.0
Data received:
{
Username: jjennings,
Password: none
}
13/05/10_16:46:11.487 [DEBUG] Rainy.WebService.ApiService->Get - ApiRequest received
13/05/10_16:46:11.499 [DEBUG] Rainy.WebService.ResponseLogFilterAttribute->ResponseFilter - Sending response:
{
user-ref:
{
api-ref: "https://127.0.0.1:8443/api/1.0/jjennings",
href: "https://127.0.0.1:8443/jjennings"
},
oauth_request_token_url: "https://127.0.0.1:8443/oauth/request_token",
oauth_authorize_url: "https://127.0.0.1:8443/oauth/authorize/jjennings/none/",
oauth_access_token_url: "https://127.0.0.1:8443/oauth/access_token",
api-version: 1.0
}
13/05/10_16:46:11.566 [DEBUG] Rainy.WebService.OAuth.OAuthService->Any - granting request token oauth_token=b22e2e11-f2bd-4837-879f-5778031b1808&oauth_token_secret=281fd4db-8797-47dc-8b69-a3cd344d2dd8&oauth_callback_confirmed=true to consumer
13/05/10_16:46:11.574 [ERROR] Rainy.WebService.OAuth.OAuthService->Any - Caught exception: The object was used after being disposed.
Details
Using Mono 3.0.10 http://download.mono-project.com/archive/3.0.10/windows-installer/mono-3.0.10-gtksharp-2.12.11-win32-0.exe
Tomboy 1.13.5
— Reply to this email directly or view it on GitHub.
This doesn't appear to happen if you build Rainy from source. It could be due to Window is missing some libs that are normally shipped with Unix. yet, specifically mono.security.dll.
I've created myself finally a win7 parallels image and can reproduce that. It is however the same issue as issue #20.
The error message "object is used after beeing disposed" is thrown because the underlying Response (HttpResponse) object is not accesible anymore, because the HTTP connection is interrupted. This is because of either the server (rainy) or client (tomboy) cannot handle that the initial POST request (from the client) did not contain a Content-Length field. See bgo https://bugzilla.gnome.org/show_bug.cgi?id=699727
Closing this as a duplicate of #20
@trepidity Now that I got a window at my disposal, you can also send my any experimental tomboy builds for windows.
Would you like source or binary? On May 10, 2013 1:48 PM, "Dynalon" notifications@github.com wrote:
@trepidity https://github.com/trepidity Now that I got a window at my disposal, you can also send my any experimental tomboy builds for windows.
— Reply to this email directly or view it on GitHubhttps://github.com/Dynalon/Rainy/issues/21#issuecomment-17737787 .
Binary would be best as my windows skills are most likely not good enough to set me up a tomboy build environment :)
The latest development build on tomboy downloads is what you want. There is not anything newer.
1.15.1 On May 10, 2013 1:55 PM, "Dynalon" notifications@github.com wrote:
Binary would be best as my windows skills are most likely not good enough to set me up a tomboy build environment :)
— Reply to this email directly or view it on GitHubhttps://github.com/Dynalon/Rainy/issues/21#issuecomment-17738158 .
I tried version 1.15.1 but error is still the same. From the git tree at https://git.gnome.org/browse/tomboy/tree/Tomboy/Addins/WebSyncService/Api/OAuth.cs it seems that the fix i suggest in https://bugzilla.gnome.org/show_bug.cgi?id=699727#c1 is not included. I can see that the Content-Length
header is missing in the request from tomboy, but to fix this it should be Content-Length: 0
(which when using mono, will automatically be added to the request but not if using MS .NET implementation).
Sorry misunderstanding. Tammy is trying to get rainy going so that she can fix this bug.
13/05/10_16:45:48.282 [DEBUG] Main->SetupLogging - Writing all log messages to file: debug.log 13/05/10_16:45:48.291 [DEBUG] Main->ConfigureSslCerts - using SSL cert ./data/ssl-cert.cer with private key file ./data/ssl-cert.pvk 13/05/10_16:45:48.694 [DEBUG] Rainy.RainyStandaloneServer->Start - starting http listener at: https://127.0.0.1:8443/ 13/05/10_16:46:11.466 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request at: /jjennings/none/api/1.0 Data received: { Username: jjennings, Password: none } 13/05/10_16:46:11.487 [DEBUG] Rainy.WebService.ApiService->Get - ApiRequest received 13/05/10_16:46:11.499 [DEBUG] Rainy.WebService.ResponseLogFilterAttribute->ResponseFilter - Sending response: { user-ref: { api-ref: "https://127.0.0.1:8443/api/1.0/jjennings", href: "https://127.0.0.1:8443/jjennings" }, oauth_request_token_url: "https://127.0.0.1:8443/oauth/request_token", oauth_authorize_url: "https://127.0.0.1:8443/oauth/authorize/jjennings/none/", oauth_access_token_url: "https://127.0.0.1:8443/oauth/access_token", api-version: 1.0 } 13/05/10_16:46:11.566 [DEBUG] Rainy.WebService.OAuth.OAuthService->Any - granting request token oauth_token=b22e2e11-f2bd-4837-879f-5778031b1808&oauth_token_secret=281fd4db-8797-47dc-8b69-a3cd344d2dd8&oauth_callback_confirmed=true to consumer 13/05/10_16:46:11.574 [ERROR] Rainy.WebService.OAuth.OAuthService->Any - Caught exception: The object was used after being disposed.
Details