By: Mohamad Taheri user 06 Sep 2016 at 5:16 a.m. CDT

8 Responses
Mohamad Taheri gravatar
I can't add User to gluu with utf-8 name, for example I wan't to add a customer with name "فرهاد". how can I resolve this? Thanks.

By Aliaksandr Samuseu staff 06 Sep 2016 at 7:05 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Mohamad. Could you please provide a bit more info about your issue? Screenshot/text of the error message, when exactly it appears, what exceptions/errors you can see in `/opt/tomcat/logs/wrapper.log` and `/opt/tomcat/logs/oxtrust.log` (within container) when it happens? Best regards, Alex.

By Mohamad Taheri user 08 Sep 2016 at 3:14 a.m. CDT

Mohamad Taheri gravatar
Hi I'm sorry,you are right, it need more description. I want to add user to gluu with SCIM, when I want to add User for example with name "Josh" every thing is OK. but when I try with name "فرهاد" Gluu return this: ``` ResponseError 'latin-1' codec can't encode characters in position 229-232: ordinal not in range(256) ``` in my log files there is nothing about create users error.

By Aliaksandr Samuseu staff 08 Sep 2016 at 3:55 p.m. CDT

Aliaksandr Samuseu gravatar
Could you also check what errors/exceptions are registered in "wrapper.log" and "oxauth.log" under `/opt/tomcat/logs` (within container) when this happens? You could use something like `# tail -F /opt/tomcat/logs/wrapper.log` to monitor it, then repeat action that gives you that error message.

By Mohamad Taheri user 08 Sep 2016 at 4:02 p.m. CDT

Mohamad Taheri gravatar
Of curse. this is my wrapper.log (just changes) ``` INFO | jvm 1 | 2016/09/08 20:58:19 | 2016-09-08 20:58:18,973 INFO [org.xdi.oxauth.auth.Authenticator] Authentication result for user '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B', result: 'false' INFO | jvm 1 | 2016/09/08 20:58:19 | 2016-09-08 20:58:18,976 INFO [org.xdi.oxauth.auth.Authenticator] Authentication success for Client: '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B' ^[[AINFO | jvm 1 | 2016/09/08 20:59:12 | 2016-09-08 20:59:12,583 INFO [org.xdi.oxauth.auth.Authenticator] Authentication result for user '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B', result: 'false' INFO | jvm 1 | 2016/09/08 20:59:12 | 2016-09-08 20:59:12,586 INFO [org.xdi.oxauth.auth.Authenticator] Authentication success for Client: '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B' ``` and this is my oxauth.log: ``` 2016-09-08 21:01:31,843 INFO [org.xdi.oxauth.auth.Authenticator] Authentication result for user '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B', result: 'false' 2016-09-08 21:01:31,846 INFO [org.xdi.oxauth.auth.Authenticator] Authentication success for Client: '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B' 2016-09-08 21:01:46,521 INFO [org.xdi.oxauth.auth.Authenticator] Authentication result for user '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B', result: 'false' 2016-09-08 21:01:46,523 INFO [org.xdi.oxauth.auth.Authenticator] Authentication success for Client: '@!AC1A.58C3.7FC8.44FF!0001!20F2.A094!0008!475D.709B' ```

By Aliaksandr Samuseu staff 08 Sep 2016 at 4:08 p.m. CDT

Aliaksandr Samuseu gravatar
Thanks, Mohamad. Still it doesn't provide any clues. How do you issue this SCIM request btw? What software package do you use for that?

By Mohamad Taheri user 08 Sep 2016 at 4:29 p.m. CDT

Mohamad Taheri gravatar
oooops! I'm sorry, I was wrong, there is an issue in my application :(

By Mohamad Taheri user 01 Oct 2016 at 8:33 a.m. CDT

Mohamad Taheri gravatar
Hi, I have a new issue with utf-8 in Gluu. I cannot see my utf-8 names with SCIM or userinfo endpoint always "??????? ??? ??" return to me. but in admin panel names are true.

By Aliaksandr Samuseu staff 03 Oct 2016 at 6:46 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Mohamad. If it's a new issue, please create a new ticket for it.