Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • René 327 posts 852 karma points
    May 19, 2014 @ 13:46
    René
    0

    Login Umbraco7

    HI 

    I have a install Umbraco7.1.3

    I have used it for a cuppels of days, and suddenly i cant login anymore. 

    I have tryed from Chrome, Firefox and internet explorer, same result.

    I get theis error form the console in Chrome

    Failed to load resource: the server responded with a status of 400 (Bad Request)

    http://localhost:53582/umbraco/backoffice/UmbracoApi/Authentication/PostLogin

    )]}',
    {"Message":"The requested resource does not support http method 'GET'."}
  • René 327 posts 852 karma points
    May 19, 2014 @ 13:51
    René
    0

    Hi again 

    Here is some more information.

    1. Remote Address:
      ::1:53582
    2. Request URL:
    3. Request Method:
      POST
    4. Status Code:
       
      400 Bad Request
    5. Request Headersview source
      1. Accept:
        application/json, text/plain, */*
      2. Accept-Encoding:
        gzip,deflate,sdch
      3. Accept-Language:
        en-US,en;q=0.8,da;q=0.6,nb;q=0.4
      4. Connection:
        keep-alive
      5. Content-Length:
        49
      6. Content-Type:
        application/json;charset=UTF-8
      7. Cookie:
        UMB_UPDCHK=1; umb_installId=d0684631-4970-444b-a187-a75e2f0ca53a
      8. Host:
        localhost:53582
      9. Origin:
      10. Referer:
      11. User-Agent:
        Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
    6. Request Payloadview source
       
      {username:[email protected], password:xxxxxx}
      1. password"xxxxxxx"
      2. username"[email protected]"
    7. Response Headersview source
      1. Cache-Control:
        no-cache
      2. Content-Length:
        0
      3. Date:
        Mon, 19 May 2014 11:47:54 GMT
      4. Expires:
        -1
      5. Pragma:
        no-cache
      6. X-SourceFiles:
        =?UTF-8?B?QzpcZGV2XGF1MnN0eWxlX3VtYnJhY283XGF1MnN0eWxlVjFcYXUyc3R5bGVWMVx1bWJyYWNvXGJhY2tvZmZpY2VcVW1icmFjb0FwaVxBdXRoZW50aWNhdGlvblxQb3N0TG9naW4=?=
    Any solution on this issue... Happy monday
    René 
  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 13:57
    Dave Woestenborghs
    0

    What did you change in your application. Did you perhaps used dependency injection ?

  • Tom 713 posts 954 karma points
    Oct 25, 2015 @ 23:02
    Tom
    0

    Hi Dave, Just wondering if you have experience with this using Dependency Injection and how you worked around it?

  • René 327 posts 852 karma points
    May 19, 2014 @ 14:08
    René
    0

    Hi 

    No it is a clean install, with a few ducumentstyps, and a few nodes,  and teacommerce, import, and a few othere pacakages. 

    I did not do any thing, it logs out automaticly, and then i cant log in again.

    René 

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 14:25
    Dave Woestenborghs
    0

    I see you are running IIS express. Do you also have this issue when running on IIS ?

     

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:02
    René
    0

    Hi 

    Sorry to ask.. i have always run on iisexpress, or i have never given this a thought. Where do i change this?

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:03
    Dave Woestenborghs
    0

    I actually checked. I have some "demo" sites running on iisexpress as wel and I am not facing this issue.

    Have you checked the log files ?

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:11
    René
    0

    Hi 

    Here are the info from the log

    2014-05-19 15:10:05,180 [16] INFO  Umbraco.Web.Security.Providers.UmbracoMembershipProvider`2[[Umbraco.Core.Services.IMembershipUserService, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null],[Umbraco.Core.Models.Membership.IUser, Umbraco.Core, Version=1.0.5250.13487, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Cannot validate member [email protected] because they are currently locked out
     

    René 

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:21
    Dave Woestenborghs
    0

    Looking at the log it seems your account is locked out.

    Dave

  • nojaf 91 posts 300 karma points
    May 19, 2014 @ 15:22
    nojaf
    0

    Have you tried logging in with your e-mail instead of your username?

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:23
    René
    0

    HI 

    This part does not give any meaning Cannot validate member [email protected] because they are currently locked out

    Yes i´m locked out, but this is the problem :-)

    I was logged in, and was away from my computer for about a half an hour. Umbraco logs automaticly out w session run out. 

    René 

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:24
    René
    0

    I use my email

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:26
    Dave Woestenborghs
    0

    Strange..I have Umbraco 7.1.3 myself and never seen this behavior before. The user and member table don't have column indication that a user is locked out.

    Dave

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:29
    Dave Woestenborghs
    0

    Maybe a stupid idea..but have you tried using another browser..or clear your cookies ?

    Dave

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:30
    René
    0

    HI 

    I have tryied Internet exploerer, firefox, opera and chrome - same result

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:30
    Dave Woestenborghs
    0

    Or go in to the database and look in the umbracoUser table. Maybe for some reason your user got disabled.

    Dave

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:35
    René
    0

    HI 

    From the db:

    UserDisabled = False

    If i see in the umbracoUserLogins table 

    There is no user, it is empty

    René 

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 15:48
    Dave Woestenborghs
    0

    Can you check the UserNoConsole field in the DB.

     

     

     

  • René 327 posts 852 karma points
    May 19, 2014 @ 15:49
    René
    0

    UserNoConsole = True

  • René 327 posts 852 karma points
    May 19, 2014 @ 16:02
    René
    0

    Where does it get the information from that i´m logged out?

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 16:02
    Dave Woestenborghs
    103

    If you change that to false you will be able to login in again. 

  • René 327 posts 852 karma points
    May 19, 2014 @ 16:09
    René
    1

    Jupiiii - i´m back in business

    I had to touch the web.config file before i could login

    Tanks a lot

    Is this some kind of bug.

    René 

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 16:11
    Dave Woestenborghs
    0

    Doesn't seem to be a bug.

    If you look at the code for the membership it will lock out a an account after x number of failed logins :

    https://github.com/umbraco/Umbraco-CMS/blob/7.1.3/src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs (starting line 518)

    Dave

  • René 327 posts 852 karma points
    May 19, 2014 @ 16:20
    René
    1

    This does give some kind of meaning, but i´m sure i did not spell either the password or username wrong. 

    I expirenced this saturday too, and i thought, i just forgot the password, because i used a new one, instead of the usual one for testing. 

    So now im 100% sure i did not type it wrong, and i had the browser remember the username and password. 

    So maybe there is some kind off a bug. 

    Now im going to make 2 admin acounts, just to be sure. 

    Have a nice monday

    René 

     

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 19, 2014 @ 16:29
    Dave Woestenborghs
    0

    Glad it's sorted out

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 08:37
    Ravindra
    0

    Hii Rene,

    I am also facing the same problem you had once(login failed)..

    what have you done with web.config file to get access to your account!?

     Ravindra

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 08:39
    Ravindra
    0

    Hiiii,

    I am using Umbraco 7.1.4 how to find the related database files in sql server!

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 08:40
    Ravindra
    0

    Hiiii,

    I am using Umbraco 7.1.4 how to find the related database files in sql server!

     

    Ravindra

  • René 327 posts 852 karma points
    Jul 25, 2014 @ 09:04
    René
    0

    HI 

    In the db, find the table umbracoUser, there you can find the "userNoConsole" and set false

    René 

     

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 09:11
    Ravindra
    0

    Hii...

    thanks for Your response Rene..

    during the instalation it didn't ask me about database....i am using Umbraco 7.1.4 before that i installed Umbraco6.1.0..

    now i can find tables related to umbraco6.1.0 but not to umbraco 7.1.4

    Ravindra

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 13:10
    Ravindra
    0

    Hiii.

    Finally its working !

     

     

    Ravindra

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 13:12
    Ravindra
    0

    Thank u very much Rene!

     

     

    Ravindra

  • Ravindra 46 posts 117 karma points
    Jul 25, 2014 @ 14:07
    Ravindra
    0
  • David Dunhill 4 posts 25 karma points
    Oct 03, 2014 @ 17:05
    David Dunhill
    1

    Hi

    So just for future reference to fix this locking of the back end login.

    1) update the value for the problem user in the db userNoConsole=false

    2) edit the web.config (just add a space or something) so the caching recycles.

    and back to the developing...

    D

     

  • Tom 713 posts 954 karma points
    Oct 25, 2015 @ 22:57
    Tom
    0

    Hi Guys, I have exactly the same issue. The front end of the site works fine, but logging in doesn't work the usernoconsole is 0 and the userDisabled is 0

    It has only happened after trying to install ninject. The ninject portion of things works perfectly well but seems to break the login.. just wondering if anyone has come across this before? some people must need to use DI with their umbraco setup?

  • Yury Batsyuro 1 post 71 karma points
    Jun 12, 2016 @ 12:09
    Yury Batsyuro
    0

    Had very close issue:

    Umbraco has a separate Username (Login Name) and email for a user, so when creating a user it's easy to mistake by taping person real name into Login Name, but then try to login using email (as we all used since WEB 2.0).

    After changing Username from real name to email everything worked correctly.

Please Sign in or register to post replies

Write your reply to:

Draft