-
Notifications
You must be signed in to change notification settings - Fork 57
Iphone App Login Issue #11
Comments
im having the same problem |
I just ran through this exact problem, and it was because I was using a shared host, and the rewrite rules in .htaccess don't work well - it's not a problem with the iPhone app, but a problem with the PHP server. I was able to confirm this by repeating the exact calls through the Firefox REST Client. I installed OpenVBX on a VPS Ubuntu server, and the iOS app worked. |
@jefflinwood Did you ever figure out what in the rewrite rules doesn't work on a shared host? |
@jrstarke No, I spent a decent amount of time on it, but it was easier for me to set it up on a VPS than to continue trying to debug the authentication with .htaccess - I did end up trying most of the possible solutions here. |
Thanks @jefflinwood. I managed to figure it out on my end. For anyone else facing this problem, I took a suggestion from twilio/OpenVBX#122 (comment) to log the incoming requests. I found in my case that although the system supports changing |
Just to add a bit of back-story to the login + crashing issues with the OpenVBX iOS app. I'd wondered for quite some time why the iOS app stopped working ~ iOS 3-4. I'd tried hosting OpenVBX on shared hosting w/ HostGator + Site5, a managed VPS on Site5, with all functional working except the systemic iOS app crashing, login issues, etc. I decided to take another crack at the iOS issue recently (late 2013), this time setting up OpenVBX (1.2.13) as an Amazon AWS EC2 instance (ubuntu 12.0.4 - Free Tier). A few immediate observations, which may mirror a bit of what @jefflinwood found when testing OpenVBX on a VPS Ubuntu server:
Here's the resource I used to install OpenVBX on EC2 > http://sidielazhari.blogspot.ca/2013/10/how-to-install-openvbx-on-amazon-ec2.html?m=1 (by sidielazhari) Cheers, -Jeff (Vancouver) |
Quick fix for this problem if using EC2 and may apply to other servers. The problem does seem to be with mod_rewrite. It appears both Iphone and Android App requires the mod_rewrite to be working. On EC2 the modrewrite was loaded by default, but you have to check the following: Check your etc/httpd/conf/httpd.conf file. It should have the following in it: AllowOverride All Basically, you’ll be adding All insted of None to AllowOverride, you do not want to edit the main directory configuration, you want to edit the one that looks like this: <Directory “/var/www/html”> Not: Then restart Apache with: sudo service httpd restart from the command line. Credits to jafty.com who pointed me in the right direction with: http://jafty.com/blog/enable-mod_rewrite-on-apache-ec2-linux-server/ |
I am running Openvbx on a vps server with Cpanel. Can't seem to get the Iphone app to work, just says login is invalid, even though I am giving it the correct login. Everything else works fine through a browser. I have tried all of the suggestions that are posted online and still seem to have no success. I do have root access to my server if that helps at all. Also, app seems to randomly crash when you click next after entering the URL.
The text was updated successfully, but these errors were encountered: