rodgeralley Posted June 15, 2017 Report Share Posted June 15, 2017 So, I installed the WebUI Package onto our Plastic Server (running Server 2012 R2), and I'm assuming I did most of it right. Our Plastic Server uses Active Directory Authentication, so when deploying the WebUI package, I selected "ADWorkingMode." Upon completion of the Web Deploy setup of the WebUI package, I am able to see the Plastic SCM WebUI login page. However, my credentials do not work. It keeps saying that the user name and password are incorrect. (Screenshot attached). I've tried it with my domain credentials multiple ways as well: This is what I get after 3 different version of my credentials are used back-to-back: 2017-06-15 15:56:16,541 INFO Global: Application started 2017-06-15 15:56:17,041 ERROR Authentication: Unable to validate user 'CORP\ralley': Access to the path 'plastic4' is denied. 2017-06-15 15:56:24,401 ERROR Authentication: Unable to validate user 'ralley': Access to the path 'plastic4' is denied. 2017-06-15 15:56:32,198 ERROR Authentication: Unable to validate user 'ralley@corp.disti.com': Access to the path 'plastic4' is denied. 2017-06-15 15:57:12,902 INFO Global: Application recycled Any help would be great, as I'm struggling with these authentication errors. Link to comment Share on other sites More sharing options...
rodgeralley Posted June 15, 2017 Author Report Share Posted June 15, 2017 Additionally, I'm using MySQL 5.7 as the backend database. Not sure if that makes a difference when it comes to authentication, but I figured I'd add that as well. Link to comment Share on other sites More sharing options...
calbzam Posted June 16, 2017 Report Share Posted June 16, 2017 Hi, Could you change the application pool's identity to "LocalSystem". It seems the use who runs the WebUI doesn't have permissions to access to the Plastic user foder "C:\Users\xxx\AppData\Local\plastic4". Regards, Carlos. Link to comment Share on other sites More sharing options...
rodgeralley Posted June 16, 2017 Author Report Share Posted June 16, 2017 That seemed to work! I'm able to at least login! Buuuuuttt...it takes me to a repositories list with nothing listed. And I tested it for giggles, and I can login as anyone I want. Attached are two screenshots. One with my actual login, and one with a fake login. And then I when I try to go to a page for an existing repo that I knowingly have permission to (which is probably blocked by permissions) I get the error page. Also see below for logs... 2017-06-16 09:10:49,960 INFO Global: Application started 2017-06-16 09:12:40,869 INFO Global: Application recycled 2017-06-16 09:12:52,245 INFO Global: Application started 2017-06-16 09:13:07,526 INFO Global: Application recycled 2017-06-16 09:13:18,652 INFO Global: Application started 2017-06-16 09:13:40,433 INFO Global: Application recycled 2017-06-16 09:14:04,809 INFO Global: Application started 2017-06-16 09:14:40,810 INFO Global: Application recycled 2017-06-16 09:15:16,233 INFO Global: Application started 2017-06-16 09:18:50,052 INFO Global: Application recycled Link to comment Share on other sites More sharing options...
manu Posted June 16, 2017 Report Share Posted June 16, 2017 Hi! can you please change the "webui.log.conf" file to increase the log level? Just change all the "<level value="INFO" />" entries to "<level value="DEBUG" />", then restart the application and share the log with us. Link to comment Share on other sites More sharing options...
rodgeralley Posted June 16, 2017 Author Report Share Posted June 16, 2017 2017-06-16 11:44:41,603 INFO Global: Application started 2017-06-16 11:44:46,447 DEBUG Global: Time setting user:ralley credentials from request:0 2017-06-16 11:44:47,025 DEBUG Global: Time setting user:ralley credentials from request:0 2017-06-16 11:44:53,588 INFO Global: Application recycled Link to comment Share on other sites More sharing options...
manu Posted June 16, 2017 Report Share Posted June 16, 2017 Ummmm can you send your webui.log.conf file? I think we are missing log, don't you have more INFO configured? Link to comment Share on other sites More sharing options...
rodgeralley Posted June 16, 2017 Author Report Share Posted June 16, 2017 My apologies: <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %-5level %logger - %message%newline" /> </layout> </appender> <appender name="FileAppender" type="log4net.Appender.FileAppender"> <file value="bin\webui.log.txt" /> <appendToFile value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %-5level %logger: %message%newline" /> </layout> </appender> <logger name="Performance"> <level value="DEBUG" /> </logger> <logger name="Global"> <level value="DEBUG" /> </logger> <logger name="Authentication"> <level value="DEBUG" /> </logger> <root> <level value="ERROR" /> <appender-ref ref="FileAppender" /> </root> </log4net> Link to comment Share on other sites More sharing options...
rodgeralley Posted June 20, 2017 Author Report Share Posted June 20, 2017 Didn't know if you missed this? Is there any more information I should provide? Link to comment Share on other sites More sharing options...
manu Posted June 20, 2017 Report Share Posted June 20, 2017 Sorry Rod, I missed your answer. Please change "<level value="ERROR" />" to "<level value="DEBUG" />". Restart the application and send us the new log generated. Link to comment Share on other sites More sharing options...
rodgeralley Posted June 20, 2017 Author Report Share Posted June 20, 2017 This is the content from the webui.log.conf file: <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %-5level %logger - %message%newline" /> </layout> </appender> <appender name="FileAppender" type="log4net.Appender.FileAppender"> <file value="bin\webui.log.txt" /> <appendToFile value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %-5level %logger: %message%newline" /> </layout> </appender> <logger name="Performance"> <level value="DEBUG" /> </logger> <logger name="Global"> <level value="DEBUG" /> </logger> <logger name="Authentication"> <level value="DEBUG" /> </logger> <root> <level value="DEBUG" /> <appender-ref ref="FileAppender" /> </root> </log4net> My log for the "webui.log.txt" is as follows: 2017-06-20 11:12:37,215 INFO Global: Application started 2017-06-20 11:12:37,700 DEBUG UserInfo: Time retrieving CurrentUser 0 ms 2017-06-20 11:12:37,715 DEBUG ServerAlias: Getting the server config for repository server 'localhost:8087', config file 'serveralias.conf' 2017-06-20 11:12:37,731 DEBUG PlasticProtocolConnectionCreator: Create connection to localhost:8087 took 16 ms 2017-06-20 11:12:37,731 DEBUG PlasticPipe: CmCallContext sent to server on connection creation 2017-06-20 11:12:37,762 DEBUG PlasticPipe: sentb: 68|recb: 3|prt: 47|CheckConnection|localhost:8087 2017-06-20 11:12:37,762 DEBUG CmConnection: Protocol for localhost:8087 is Plastic. 63 ms 2017-06-20 11:12:37,762 DEBUG PlasticPipe: sentb: 2|recb: 2|prt: 0|CheckConnection|localhost:8087 2017-06-20 11:12:37,793 DEBUG Global: Time setting user:ralley credentials from request:0 2017-06-20 11:12:37,793 DEBUG PlasticPipe: sentb: 2|recb: 5|prt: 0|GetRepositoryList|localhost:8087 2017-06-20 11:12:37,793 DEBUG PlasticPipe: sentb: 2|recb: 2|prt: 0|CheckConnection|localhost:8087 2017-06-20 11:12:39,903 DEBUG Global: Time setting user:ralley credentials from request:0 2017-06-20 11:12:45,356 INFO Global: Application recycled Link to comment Share on other sites More sharing options...
manu Posted June 20, 2017 Report Share Posted June 20, 2017 I can't see errors in your log file. Is the Plastic SCM server running at the same machine on the 8087 port? Which Plastic SCM user is configured for the WebUI, during the installation the wizard asked for one. Is it having enough Plastic SCM permissions? Can you try to configure a client with that user and run a "cm lrep" command to check it's able to retrieve repositories? Link to comment Share on other sites More sharing options...
rodgeralley Posted June 20, 2017 Author Report Share Posted June 20, 2017 Yes, the Plastic SCM server is running on the same machine (Disti-Plastic-1 is the hostname) on the 8087 port. I configured the WebIIS, Plastic SCM Server and WebUI on my username. However, when I installed via the wizard, I didn't use my credentials, as it said it was only needed for "charts," and I didn't think I needed to store my credentials in the config. I can try to add my credentials if needed, but at the same time, I want all of our users to be able to login, not just me. We have 40 active licenses here, and we want our users to be able to http into Plastic SCM. H:\>cm lrep Repo1 @localhost:8087 Repo2 @localhost:8087 Repo3 @localhost:8087 Repo4 @localhost:8087 Repo5 @localhost:8087 Repo6 @localhost:8087 Repo7 @localhost:8087 Repo8 @localhost:8087 Repo9 @localhost:8087 Repo10 @localhost:8087 Repo11 @localhost:8087 Repo12 @localhost:8087 Repo13 @localhost:8087 Repo14 @localhost:8087 Repo15 @localhost:8087 Repo16 @localhost:8087 Repo17 @localhost:8087 Repo18 @localhost:8087 Repo19 @localhost:8087 Repo20 @localhost:8087 Repo21 @localhost:8087 Repo22 @localhost:8087 Repo23 @localhost:8087 Repo24 @localhost:8087 Repo25 @localhost:8087 Repo26 @localhost:8087 Repo27 @localhost:8087 Repo28 @localhost:8087 Repo29 @localhost:8087 Repo30 @localhost:8087 I apologize if my responses seem somewhat oblivious, but Plastic SCM was a huge project that was thrown at us, and none of us have any experience working with it. Your help is greatly appreciated. Link to comment Share on other sites More sharing options...
manu Posted June 20, 2017 Report Share Posted June 20, 2017 3 minutes ago, rodgeralley said: I didn't use my credentials Aha, that might be the issue. 3 minutes ago, rodgeralley said: I can try to add my credentials if needed, but at the same time, I want all of our users to be able to login, not just me. We have 40 active licenses here, and we want our users to be able to http into Plastic SCM. Yes, please. Reinstalling the web app is the fastest way. Remember al the steps you followed, app permissions and so on. The user the wizard requests is for internal operations, the rest of Plastic SCM users will be able to log in, no problem at all. 7 minutes ago, rodgeralley said: I apologize if my responses seem somewhat oblivious, but Plastic SCM was a huge project that was thrown at us, and none of us have any experience working with it. Your help is greatly appreciated. Hey! No problem, here to help! Link to comment Share on other sites More sharing options...
rodgeralley Posted June 20, 2017 Author Report Share Posted June 20, 2017 Still the same issue. I don't have any repositories showing up, and I can still log in as any random username I choose. Also, when i put my credentials in on the WebDeploy of WebUI, it saves it in clear text in the web.config file. I definitely don't like that, as these are my domain credentials. Link to comment Share on other sites More sharing options...
manu Posted June 21, 2017 Report Share Posted June 21, 2017 Hello Rod, you can alternatively use a different user for that purpose, it won't require a license since it will just run RO operations. BTW, I've sent you a detailed guide of the installation. Hope it helps. Link to comment Share on other sites More sharing options...
Dinesh Kumar Posted July 3, 2017 Report Share Posted July 3, 2017 Hi @manu Sorry to hijack this thread... Can you please send me this installation guide as well? I had the same issues as Rod, initially "ERROR Codice.Web.Activities.AuthenticationHelper: Cannot retrieve seid for user 'uname': Access to the path 'plastic4' is denied." After changing the application pool's identity to "LocalSystem", reinstalling plasticweb and restarting, it gets slightly further but I am still unable to log in I get the following error: "ERROR Authentication: Unable to validate user 'uname': User / password has not been configured. Please run the configuration wizard to set them up." What have I missed? Thanks! Link to comment Share on other sites More sharing options...
calbzam Posted July 5, 2017 Report Share Posted July 5, 2017 Hi @Dinesh Kumar, I'm afraid Manu is not available this week, but he found an issue when configuring and setting up the last WebUI version in our labs. We have created a task to fix it so hopefully we have good news soon. Regards, Carlos. Link to comment Share on other sites More sharing options...
Dinesh Kumar Posted July 5, 2017 Report Share Posted July 5, 2017 @calbzam @manu I came to the same conclusion. I had an old server that was still working. Copying that over to my new install worked fine. Hope this is useful to you - 5.4.16.918 doesn't work. 5.4.16.799 works. Regards, Dinesh Link to comment Share on other sites More sharing options...
manu Posted July 11, 2017 Report Share Posted July 11, 2017 @Dinesh Kumar Thank you for testing this. I had the same suspicion but I didn't get to test it. @rodgeralley I think this is not a valid workaround for you so we'll try to get it fixed asap. Link to comment Share on other sites More sharing options...
rodgeralley Posted July 20, 2017 Author Report Share Posted July 20, 2017 Okay let me know if you find anything else out. Link to comment Share on other sites More sharing options...
diegohb Posted August 22, 2017 Report Share Posted August 22, 2017 @manu - is the WebUI only supported on the same machine as the central server ? I've deployed mine to a seperate server running IIS to connect to the central plastic repo server but I keep getting the error "User / password has not been configured. Please run the configuration wizard to set them up." just wanted to confirm my suspicion... Link to comment Share on other sites More sharing options...
calbzam Posted August 23, 2017 Report Share Posted August 23, 2017 Hi @diegohb, you should be able to use a different machine to installe the WebUI. The problem is, as Manu said, the WebUI current version is not currenlty working. We will update the ticket as soon it's fixed. Regards, Carlos. Link to comment Share on other sites More sharing options...
diegohb Posted October 19, 2017 Report Share Posted October 19, 2017 Is it fixed now with latest build ? Link to comment Share on other sites More sharing options...
manu Posted October 20, 2017 Report Share Posted October 20, 2017 Yes! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.