Mobile Application Issue

Post your Server Bug Report
wared
Posts: 4
Joined: 16 Aug 2013, 19:57
Has thanked: 0
Been thanked: 2 times

Mobile Application Issue

Unread post by wared »

Code: Select all

=========================================================================================
VERSION: MADSONIC 6.0 | BUILD: 7860
SERVLET: TOMCAT (PROXY REVERSE WITH NGINX)
SERVER: CPU: AMD 64 | ARCH: X64 | MEMORY: 16GB | HDD: 1TB
OS: UBUNTU SERVER 15.10
SYSTEM: SERVER
INSTALLER: WAR
JAVA: ORACLE JDK 1.8 ( java 1.8.0_66)
BROWSER: FIREFOX 43
CLIENT: Mobile application Android 5.7
DESCRIPTION: Can't connect
REPRODUCIBLE: YES
=========================================================================================
Hi Madevil,

Thanks again for your great work.

I have an important issue with the mobile application (only since 5.6/5.7) on Android, i get the error "Connection failure. Wrong username or password.". But I'm sure of my credentials and i connect successfully to the web interface.

I checked the log on my server and i get the error :

Code: Select all

80.12.x.x - - [13/Jan/2016:15:52:05 +0100] "POST /rest2/ping.view?u=myuser&t=44207f328572cbc018b086db92axxxx&s=[B@8403xx&v=2.0.0&c=madsonic HTTP/1.1" 200 224 "-" "-"
If I use directly the URL : http://music.mydomain.fr/rest2/ping.vie ... 92axxxx&s=[B@8403xx&v=2.0.0&c=madsonic, I get this error :

Code: Select all

<madsonic-response status="failed" version="2.2.0" type="madsonic"><error code="40" message="Wrong username or password."/></madsonic-response>
But if I use this URL : http://music.mydomain.fr/rest2/ping.vie ... c=madsonic, i get succesfully the response :

Code: Select all

<madsonic-response status="ok" version="2.2.0" type="madsonic"/>
Is there something wrong with the token generated by the mobile application ?

Thanks in advance

wared
wared
Posts: 4
Joined: 16 Aug 2013, 19:57
Has thanked: 0
Been thanked: 2 times

Re: Mobile Application Issue

Unread post by wared »

I can connect correctly with the user "admin" but not with the user "myuser"
wared
Posts: 4
Joined: 16 Aug 2013, 19:57
Has thanked: 0
Been thanked: 2 times

Re: Mobile Application Issue

Unread post by wared »

Ok, I found the problem. If my password is "test1234", it doesn't work. However, if I change my password in "test", it works...
These users thanked the author wared for the post:
Madsonic
Rating: 7.69%
Post Reply