By: Himanshu Sharma user 05 Nov 2018 at 10:37 p.m. CST

6 Responses
Himanshu Sharma gravatar
Hi, I am trying to clone and build oxAuth project from github (3.1.4) with no changes and deploy in Gluu server 3.1.4. After deploying the oxauth.war I am getting "Failed to execute registration script". When I try the same for oxAuth 3.1.3 on Gluu server 3.1.3 it is working fine with no error . Could you please check why just a build with no change in oxAuth is failing for Gluu 3.1.4 ?

By Thomas Gasmyr Mougang staff 06 Nov 2018 at 12:06 a.m. CST

Thomas Gasmyr Mougang gravatar
Profile oxauth.log and oxtrust.log files

By Yuriy Movchan staff 06 Nov 2018 at 7:22 a.m. CST

Yuriy Movchan gravatar
Also oxauth_script.log can help us too. Why you decided to do upgrade manually? We have script which do upgrade to 3.1.4

By Himanshu Sharma user 08 Nov 2018 at 4:04 a.m. CST

Himanshu Sharma gravatar
Hi, @Thomas Gasmyr.Mougang @Yuriy.Movchan I am not upgrading manually. I am only trying to build oxAuth 3.1.4 and deploy the generated oxauth.war in Gluu 3.1.4. There is no upgrade I am trying here . Just mentioned that same steps if I follow in Gluu 3.1.3 , I dont see any issue. Also, I dont see any error in log files. But it does not show the message "Sucessfully loaded oxAuth Configuration" (OpenIdService.Java) in oxTrust log file. Here are the steps I am trying 1- Install Gluu server 3.1.4 and Make sure everything looks good 2- Clone oxauth 3.1.4 from github build it and generate oxauth.war . No code change just build what I had cloned from github 3- Stop Gluu Server and deploy oxauth.war at /opt/gluu/jetty/oxauth/webapps/ 4- Start Gluu server 5- And when I am trying to access gluu server I get "Failed to execute registration script" Please find the log files here: oxauth.log: https://drive.google.com/open?id=1HJjOEG_rYrHQjT3KHlRdFLOU64UzulH7 oxauth_script.log: https://drive.google.com/open?id=14ITQFe9eptfUy6EtIvel4M8fh7GL1OAj oxtrust.log: https://drive.google.com/open?id=14VSdiAf07jz0B5qYQQUYruvw43EURSI5 Error Screenshot: https://drive.google.com/open?id=18WMz20axd_nukk3bCPrzBWSFQc7a4af0

By Thomas Gasmyr Mougang staff 08 Nov 2018 at 4:34 a.m. CST

Thomas Gasmyr Mougang gravatar
Do the following: 1. Login in gluu container 2. Move to folder named **/opt/gluu/jetty/oxauth** 3. Edit the file named **start.ini** 4. Search this line **--module=http-forwarded** 5. And comment it out 6. Then restart oxauth service

By Himanshu Sharma user 08 Nov 2018 at 10:54 a.m. CST

Himanshu Sharma gravatar
@Thomas Gasmyr.Mougang Above method didn't work. Here are the latest log files: oxauth.log: https://drive.google.com/open?id=1B2SKNlvxXHdH6s1riVYABIeCCKjzLgOH oxauth_script.log: https://drive.google.com/open?id=1okVj_8FTqtJiCmwu3v7qVnO0uAnpP4YC oxtrust.log: https://drive.google.com/open?id=1jluq0Jf3GS6G28LsVkYtjuRZN7yjKMIJ

By Thomas Gasmyr Mougang staff 08 Nov 2018 at 11:24 a.m. CST

Thomas Gasmyr Mougang gravatar
I'm closing this ticket now. It is outside to support scope