Jump to content

Web UI Config on Windows Server - User / password has not been configured - when it works


Recommended Posts

Executive summary:  WebUI install on Windows Server 2016.  Browser gets login window, however no user can log in - browser shows "Login failed.The user name or password provided is incorrect."  - webui.log.txt shows " ERROR Authentication: Unable to validate user 'USER': User / password has not been configured. Please run the configuration wizard to set them up."

Much longer information:  Windows Server 2016 standard. Server's real name is Playpen, but host name for PlasticSCM purposes is "plastic.csl"   (can't be problem, but so you understand any logs / configs posted here).

When I started attempting to configuring Web UI I was on plastic v 5.something and first halfway-successful attempt where I got these symptoms was with version 6.0.15.1158. But upgrading made no difference.

Plastic Admin Tool shows  "Version 6.0.16.1365 " and Authentication mode "Plastic SCM own user and password database"   Licence expires 27/10/2017 (many months away). Database backend - Jet./  Listening on port 8087  (with SSL on 8088 although this isn't relevant).  Server Configuration wizard shows all the same stuff.

Plastic "Users and Groups management" tool shows two users, "walter" and "matt"

Web UI  frrom PlasticSCM-6.0.16.1365-web-frontend.zip  was installed ,  into root for Site http://plastic.csl/ it runs in its own Application pool with the identity set to "LocalSystem"

NO matter which user attempts to log in through browser,  get the same "Login failed" message

web.config contains - I've confirmed this is the active one ( by making a visible change that did take effect)

<appSettings>
    <add key="Language" value="en"/>
    <add key="SEIDWorkingMode" value="UPWorkingMode"/>
    <add key="Server" value="localhost:8087"/>
    <add key="IdleProcessUser" value="walter"/>
    <add key="IdleProcessPassword" value="--deleted here but was the right one--"/>
    <add key="LogRequestTime" value="false"/>
  </appSettings>

( Out of desperation at one point I trying changing "localhost:8087" to "plastic.csl:8087" which is how all the developer machines are configured, but as expected, no improvement )

webui.log.conf contains:   <logger name="Performance"> <level value="DEBUG" /> ...  Global = DEBUG, Authentication=DEBUG and <root> level = DEBUG

webui.log.txt shows:

2017-07-13 16:48:48,437 INFO  Global: Application started
2017-07-13 16:50:37,645 ERROR Authentication: Unable to validate user 'matt': User / password has not been configured. Please run the configuration wizard to set them up.

That's all it shows. No Debug information of any kind.  No matter what I fiddle with, no change in symptoms, and no further debug info in this log, either.

plastic.server.log shows  this .  @17:03:29 is the server starting up ...

2017-07-13 17:03:29,412 (null) NT AUTHORITY\SYSTEM at (null) INFO  Channel - Using certificate file C:\Program Files\PlasticSCM5\server\ssl-certificate.pfx
2017-07-13 17:03:29,663 (null) NT AUTHORITY\SYSTEM at (null) INFO  Channel - Start listening on protocol ssl:// port 8088
2017-07-13 17:03:29,667 (null) NT AUTHORITY\SYSTEM at (null) WARN  Tube - No license for Tube, won't initialize.

@17:04  I visit http://plastic.csl  and are eventually presented with login page. This log entry probably has nothing to do with that!

2017-07-13 17:04:31,129  NT AUTHORITY\SYSTEM at  INFO  Transaction - Transaction timeout -> 120000ms

@17:05  I attempt to login as "walter".  Nothing at all is recorded in the server log. 

(webui.log.txt shows yet another Unable to validate user 'walter': User / password has not been configured. "

Server log did have activity like this previously which is the Windows GUI running on a remote machine ..

2017-07-13 16:49:26,035  NT AUTHORITY\SYSTEM at  INFO  ChannelCall - protocol:plasticproto recb:     2|rect:  0|sentb:    88|sendt:  0|queuedt:       0|prt:       0|th:   14|dest:   0|mt:       0|sert:   0|zip:   0|cpu:       0|   192.168.68.44|user::walter|GetLiceseData
2017-07-13 16:49:54,265  NT AUTHORITY\SYSTEM at  INFO  Security - AuthPerCall running. bDontCheckAuth = [False]
2017-07-13 16:49:54,275 00000000-0000-0000-0000-000000000000 NT AUTHORITY\SYSTEM at PLAYPEN INFO  Operations - Retrieve repository list
2017-07-13 16:49:54,428  NT AUTHORITY\SYSTEM at  INFO  ChannelCall - protocol:plasticproto recb:     2|rect:  0|sentb:  1128|sendt:  0|queuedt:      16|prt:     250|th:   14|dest:   0|mt:       0|sert:   0|zip:   0|cpu:      93|   192.168.68.44|user::walter|GetRepositoryList

So - I'm right out of ideas.    Does anyone else have any ?

- Walter

 

 

 

 

 

 

Link to comment
Share on other sites

Thanks - I thought I had put a comment on that thread but can't see it now (perhaps I got as far as preview).  At time time it seemed the symptoms were different enough to deserve a separate thread - the first post on that thread is nothing like my issue, Dinesh's is exactly.  Note I don't seem to get anythng logged in webui.log.conf though, unlike rodger.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...