Dynalon / Rainy

Simple Tomboy/Tomdroid cloud/syncing server. Written in C# with AngularJS web frontend. Supports SQLite & Postgres Backends.
http://dynalon.github.io/Rainy
GNU Affero General Public License v3.0
88 stars 15 forks source link

401 Unauthorized #59

Open aurimus opened 6 years ago

aurimus commented 6 years ago

I'm getting "401 Unauthorized" error when accessing the server first time.

I'm suspecting it's because my proposed username and password are not registered in the server. Basically I don't understand how to do a "sign up" on the server, how to register?

dannaughton commented 5 years ago

I had a similar problem - 500 Internet Server error when trying to initially setup the server.

Steps: start the Rainy server, open Tomboy, enter servername: https//servername:8080 Browsers goes to site - 500 Internal Server Error: Server debug output says this. [DEBUG] Rainy.WebService.OAuth.OAuthRequestTokenService->Get - granting request token oauth_token=c509d36ba904160040d5c05680d0356d&oauth_token_secret=4a2591a06561b25ab360a584ffd3b9b7&oauth_callback_confirmed=true to consumer 19/03/05_15:50:57.466 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request at: /oauth/authorize/?oauth_token=c509d36ba904160040d5c05680d0356d&oauth_callback=http%3a%2f%2flocalhost%3a8000%2ftomboy-web-sync%2f Deserialized data (JSV): {

} 19/03/05_15:50:57.467 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request headers:

19/03/05_15:50:57.467 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Host: webserver.productengineering.com:8080 19/03/05_15:50:57.467 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0 19/03/05_15:50:57.468 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 19/03/05_15:50:57.468 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Accept-Language: en-US,en;q=0.5 19/03/05_15:50:57.468 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Accept-Encoding: gzip, deflate, br 19/03/05_15:50:57.469 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Connection: keep-alive 19/03/05_15:50:57.469 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Upgrade-Insecure-Requests: 1 19/03/05_15:50:57.474 [DEBUG] Rainy.ErrorHandling.ExceptionHandler->HandleException - Index was outside the bounds of the array. 19/03/05_15:50:57.476 [DEBUG] Rainy.ErrorHandling.ExceptionHandler->LogExceptionDetails - at Rainy.WebService.OAuth.OAuthAuthorizeService.Any (Rainy.WebService.OAuth.OAuthAuthorizeRequest request) [0x000ca] in :0 at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object) at ServiceStack.ServiceHost.ServiceRunner`1[TRequest].Execute (ServiceStack.ServiceHost.IRequestContext requestContext, System.Object instance, TRequest request) [0x000ab] in :0

System information: Centos 7 3.10.0-957.5.1.el7.x86_64 mono-complete-5.18.0.268-0.xamarin.3.epel7.x86_64 rainy-0.5.0 (latest release as of today)