By: sumiti monga user 24 Mar 2017 at 7:08 a.m. CDT

8 Responses
sumiti monga gravatar
Hi I am receving error while registering in oxd-php Command parameters are not specified or otherwise malformed Please check error

By Mohib Zico staff 24 Mar 2017 at 7:14 a.m. CDT

Mohib Zico gravatar
>> Command parameters are not specified or otherwise malformed You are getting this error from where? oxD server or Gluu Server?

By William Lowe user 24 Mar 2017 at 8:53 a.m. CDT

William Lowe gravatar
Sumiti, If you want our help, we need full details on how to reproduce the issue. How can we check the error if you don't give us any details on how to reproduce? We don't have access to your server or logs. Also, entering bogus information into the registration form is not a good way to get help from us. When you enter `Organization:dfsfsg` , this just means we have garbage information in our database... We are less likely to help if we don't feel like you are being respectful of our time and free support. Thank you, Will

By sumiti monga user 28 Mar 2017 at 8:34 a.m. CDT

sumiti monga gravatar
Hi Will I have shared the logs many time with you guys .I don't want to waste my time and your time.I have get any error where I go of course I will go for support. **I am Again share my server logs Please read it very carefully ** 2017-03-28 11:24:40,130 ERROR [org.xdi.oxd.server.Convertor] Unable to parse string to params, string: {"authorization_redirect_uri":"https://oxd-php.com/gluu_sso/form/loginform","op_host":"https://ce-dev2.gluu.org/","post_logout_redirect_uri":"https://oxd-php.com/","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid","profile","email"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":"sumiti@ourdesignz.com","ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null} 2017-03-28 11:24:40,130 ERROR [org.xdi.oxd.server.Processor] ErrorResponseException{errorResponseCode=ErrorResponseCode{value='internal_error', description='Command parameters are not specified or otherwise malformed.'}} at org.xdi.oxd.server.Convertor.asParams(Convertor.java:52) at org.xdi.oxd.server.op.BaseOperation.<init>(BaseOperation.java:54) at org.xdi.oxd.server.op.RegisterSiteOperation.<init>(RegisterSiteOperation.java:49) at org.xdi.oxd.server.op.OperationFactory.create(OperationFactory.java:44) at org.xdi.oxd.server.Processor.process(Processor.java:75) at org.xdi.oxd.server.Processor.process(Processor.java:55) at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:60) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2017-03-28 11:24:40,131 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"error","data":{"error":"internal_error","error_description":"Command parameters are not specified or otherwise malformed."}} 2017-03-28 11:24:40,131 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-03-28 11:24:40,131 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-03-28 11:24:40,160 ERROR [org.xdi.oxd.server.SocketProcessor] Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:209) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.read1(BufferedReader.java:210) at java.io.BufferedReader.read(BufferedReader.java:286) at org.xdi.oxd.common.CoreUtils.readCommand(CoreUtils.java:171) at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2017-03-28 11:38:51,175 TRACE [org.xdi.oxd.server.license.LicenseService] Validating license ... 2017-03-28 11:38:51,229 DEBUG [org.xdi.oxd.server.license.LicenseFile] License file location: /var/www/html/oxd-server-2.4.4-distribution/bin/.oxd-license 2017-03-28 11:38:51,235 TRACE [org.xdi.oxd.server.license.LicenseFile] MAC ADDRESS set to : D4-3D-7E-6A-C6-34 2017-03-28 11:38:51,235 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-03-28 11:38:53,981 TRACE [org.xdi.oxd.server.license.LicenseService] License is validated successfully. 2017-03-28 11:38:53,981 TRACE [org.xdi.oxd.server.license.LicenseService] License data: LicenseMetadata{creationDate=Mon Feb 20 12:34:32 IST 2017, licenseId=null, autoupdate=true, active=true, product=oxd, licenseName='Inderpal C#', expirationDate=Sat Oct 31 01:30:00 IST 2020, licenseCountLimit=9999, customerName=, emails=[]} **If you need any requirement Please Let me know.Don't be rude will.Its your work will Please don't get angry with the question.I was also in problem.I don't want to trouble you guys** **Hope you understand it**

By Mohib Zico staff 28 Mar 2017 at 8:53 a.m. CDT

Mohib Zico gravatar
Sumiti, >> I have shared the logs many time with you guys... Your logs are not helping us anyway because you are not following the doc properly or you are not understanding what we are asking for. Your community ticket will automatically closed if you do not meet criteria like: - Fail to provide sufficient points. - Fail to understand what Gluu Engineers are asking from you. - Fail to follow doc properly. From your log: >> "op_host":"https://ce-dev2.gluu.org/" We have been asking you to change your OP_HOST multiple times; still you are using CE-Dev2.gluu.org which is not for any user to use other than Gluu developers. OP_HOST means... OpenID Connect host which is Gluu Server. Gluu Server means... The Gluu IDP. OP_HOST != OXD_Server. We tried to make our documentation helpful to users who will use Gluu products, if it not clear to you... let us know where it's not; we will update our doc. Read the doc carefully please and try to understand the workflow, it will help you massively.

By sumiti monga user 28 Mar 2017 at 9:01 a.m. CDT

sumiti monga gravatar
ok I got your point But I have download example for oxd-php op_host":"https://ce-dev2.gluu.org/" This is working for me I am able to get all profile information what I need can you clear this things why been its working with that example

By William Lowe user 28 Mar 2017 at 9:10 a.m. CDT

William Lowe gravatar
Where did you see to use ce-dev2?

By sumiti monga user 28 Mar 2017 at 12:46 p.m. CDT

sumiti monga gravatar
Hi I have install oxd server on c9 using these commands Make a folder called oxd-server (or whatever you like), and cd to this folder $ wget http://ox.gluu.org/maven/org/xdi/oxd-server/2.4.4/oxd-server-2.4.4-distribution.zip $ unzip oxd-server-2.4.4-distribution.zip $ nohup bin/oxd-start.sh & Can you tell me where I can see the login page where I can set the op host ?Now Its showing like https://oxd-server-odz123.c9users.io/ oxd server is running now but where is login where I can hit the url

By sumiti monga user 28 Mar 2017 at 1:06 p.m. CDT

sumiti monga gravatar
Hi will Please check here there is link of gluu server in op host and its working fine https://github.com/GluuFederation/oxd-php-library/blob/master/client.example.com/oxd-rp-settings.json Please have a look in oxd-php api I am running same and I have issues As you know Thanks