Android app issues

85 views
Skip to first unread message

Noah Wood

unread,
Feb 8, 2012, 11:32:32 PM2/8/12
to domuslink-users
I'm a huge fan of the work that goes on here. I love domus and use it
all the time. Anyway, I'm having an issue with the android app. Here
is my scenario: My domuslink is hosted on my server. I have a domain
attached to this server and configured port 8008 to go to domus, i.e.
if I go to myserver.com:8008 I get my domus link login page. The
mobile interface works fine on my phone, but when I try to enter it
into the app, I always get an error.

What I Enter: Error I get
www.myserver.com:8008/index.php : Problem communicating with the API
www.myserver.com:8008/ : Invalid response from server: HTTP/1.1 404
Not Found
www.myserver.com:8008 : (Same as above)

Any ideas as to what's going on here?

Brad

unread,
Feb 9, 2012, 5:34:58 PM2/9/12
to domusli...@googlegroups.com
Hmm, at first glance looking at your issue, it looks as if apache is doing a url rewrite when it gets the full url from the android app. What it tries to send is http://www.myserver.com:8008/api.php/<request>. Will look some more this evening at my apache config.

Brad

Brad

unread,
Feb 19, 2012, 10:19:34 PM2/19/12
to domusli...@googlegroups.com
Sorry it took a while to get back to this.

My production domus.Link virtual host file is as follows:

NameVirtualHost *:80
<VirtualHost *:80>
<IfModule mod_alias.c>
    Alias /domus.Link /usr/local/domus.Link
</IfModule>

        <Directory "/usr/local/domus.Link">
            DirectoryIndex index.php
                AllowOverride None
                Options ExecCGI -MultiViews FollowSymLinks Includes Indexes
                Order allow,deny
                Allow from all
        </Directory>

</VirtualHost>


I do not have any rewrite rules and the site is available on all interfaces. Let me know if this helps.

Brad

Geoffroi Gouesmel

unread,
May 5, 2012, 6:11:17 AM5/5/12
to domusli...@googlegroups.com
Hello,

I seem having the same issue.

I removed urlrewrite in apache and I put the same thing (in config.php and android app) aka mysite/domus.Link

It works fine from browser but nothing happens with my cellphone (a SonyEriccson Xperia X10 mini with android 2.1).

Android app can touch the api.php but I have the answer "error communicating with Domus: Problem parsing API reponse Update Settings or Exit"

Is there a debug solution?

Regards

Geoffroi Gouesmel

Brad

unread,
May 5, 2012, 4:35:28 PM5/5/12
to domusli...@googlegroups.com
I assume that this is fixed for you based on the other post you have about  PHP version being greater than or equal to 5.2.

Brad

Geoffroi Gouesmel

unread,
May 8, 2012, 7:58:00 AM5/8/12
to domusli...@googlegroups.com
Correct! thank you again. I have another issue but I still work on it.

Regards

Geoffroi
Reply all
Reply to author
Forward
0 new messages