| [02:52:25] | * yenzand[m] has quit (Remote host closed the connection) |
| [02:52:27] | * mstenta[m] has quit (Remote host closed the connection) |
| [02:52:27] | * amber65[m] has quit (Read error: Connection reset by peer) |
| [02:52:32] | * spitz234[m] has quit (Write error: Connection reset by peer) |
| [02:52:32] | * xp42[m] has quit (Write error: Connection reset by peer) |
| [02:52:37] | * MatrixTravelerb4 has quit (Write error: Connection reset by peer) |
| [02:52:37] | * donblair[m] has quit (Write error: Connection reset by peer) |
| [02:52:39] | * leogaggl[m] has quit (Remote host closed the connection) |
| [02:52:40] | * jgaehring[m] has quit (Remote host closed the connection) |
| [02:52:40] | * karna[m] has quit (Remote host closed the connection) |
| [02:52:40] | * yova[m] has quit (Read error: Connection reset by peer) |
| [02:52:42] | * chriswilliams[m] has quit (Remote host closed the connection) |
| [02:52:46] | * johanness_charle has quit (Remote host closed the connection) |
| [02:52:47] | * wimpertier[m] has quit (Remote host closed the connection) |
| [02:52:48] | * gsavio[m] has quit (Remote host closed the connection) |
| [02:52:49] | * luigig[m] has quit (Remote host closed the connection) |
| [02:52:49] | * paul121[m] has quit (Remote host closed the connection) |
| [02:52:50] | * lablab[m] has quit (Remote host closed the connection) |
| [02:52:50] | * hawkridgehomeste has quit (Remote host closed the connection) |
| [02:52:50] | * skipper_is[m] has quit (Remote host closed the connection) |
| [02:52:51] | * scoid[m] has quit (Write error: Connection reset by peer) |
| [02:52:51] | * dazinism has quit (Write error: Connection reset by peer) |
| [02:52:51] | * bumann[m] has quit (Remote host closed the connection) |
| [02:52:53] | * munjoma[m] has quit (Write error: Connection reset by peer) |
| [02:52:54] | * msandstrom[m] has quit (Remote host closed the connection) |
| [02:52:55] | * dornawcox[m] has quit (Remote host closed the connection) |
| [02:52:55] | * sudokita[m] has quit (Remote host closed the connection) |
| [02:52:56] | * MockingbirdConsu has quit (Remote host closed the connection) |
| [02:52:56] | * hamishcunningham has quit (Read error: Connection reset by peer) |
| [03:03:30] | * MatrixTravelerb4 has joined #farmos |
| [03:04:10] | * dazinism has joined #farmos |
| [03:43:16] | * donblair[m] has joined #farmos |
| [03:43:17] | * yova[m] has joined #farmos |
| [03:43:17] | * munjoma[m] has joined #farmos |
| [03:43:18] | * spitz234[m] has joined #farmos |
| [03:43:18] | * xp42[m] has joined #farmos |
| [03:43:23] | * mstenta[m] has joined #farmos |
| [03:43:24] | * dornawcox[m] has joined #farmos |
| [03:43:24] | * jgaehring[m] has joined #farmos |
| [03:43:24] | * paul121[m] has joined #farmos |
| [03:43:24] | * hawkridgehomeste has joined #farmos |
| [03:43:24] | * leogaggl[m] has joined #farmos |
| [03:43:25] | * karna[m] has joined #farmos |
| [03:43:25] | * yenzand[m] has joined #farmos |
| [03:43:25] | * skipper_is[m] has joined #farmos |
| [03:43:25] | * scoid[m] has joined #farmos |
| [03:43:25] | * sudokita[m] has joined #farmos |
| [03:43:25] | * johanness_charle has joined #farmos |
| [03:43:25] | * lablab[m] has joined #farmos |
| [03:43:25] | * gsavio[m] has joined #farmos |
| [03:43:26] | * luigig[m] has joined #farmos |
| [03:43:26] | * wimpertier[m] has joined #farmos |
| [03:43:26] | * msandstrom[m] has joined #farmos |
| [03:43:26] | * hamishcunningham has joined #farmos |
| [03:43:27] | * amber65[m] has joined #farmos |
| [03:43:28] | * MockingbirdConsu has joined #farmos |
| [03:43:28] | * chriswilliams[m] has joined #farmos |
| [03:43:28] | * bumann[m] has joined #farmos |
| [15:28:02] | * cycix[m] has joined #farmos |
| [15:33:35] | <cycix[m]> | Hi all. I see the farmos app was put on playstore. I'm interested to try it out. Is there anything that needs enabled or setup on the server side to allow the app to login to the server? I have api for authorized users turned on. But it generates a 404 error. I'm on a 7.x install. |
| [15:34:50] | <mstenta[m]> | Hi cycix[m] |
| [15:35:56] | <mstenta[m]> | You shouldn't need anything on the server side for it to work, assuming you are using an up to date version of farmOS |
| [15:36:08] | <mstenta[m]> | 404 is strange though. When do you see that? |
| [15:42:25] | <cycix[m]> | I go to menu->Login-> Enter website (I'm self hosting) + credentials for a user I've also tried the admin account Message ->submit credentials The error in purple at the top of the app is "Unable to reach the server. Please check that you have the correct URL and that your device has a network connection. Status: 404. It is possible for me to browse to the website on the device. |
| [15:48:12] | <cycix[m]> | I currently have a self generated certificate for https maybe that is the issue/ |
| [16:23:42] | <mstenta[m]> | Oh that could be part of it |
| [16:23:50] | <mstenta[m]> | But the 404 is also strange |
| [16:24:14] | <mstenta[m]> | Is your farmOS installed in a subdirectory? |
| [16:27:57] | <cycix[m]> | nope its in the main and the only thing installed |
| [16:28:38] | <mstenta[m]> | And if you go to /user/login you see the login form? |
| [16:29:06] | <mstenta[m]> | The app works by sending a POST request to that path |
| [16:29:15] | <mstenta[m]> | If it is saying 404, then something is going wrong |
| [16:29:30] | <mstenta[m]> | @jgaehring:matrix.org: is there anything else that could be happening here that you could think of? |
| [16:29:52] | <mstenta[m]> | Or maybe it's the self signed certificate that's breaking everything... |
| [16:30:03] | <mstenta[m]> | You almost definitely need to fix that either way |
| [16:30:14] | <mstenta[m]> | So I would suggest starting there |
| [16:30:52] | <mstenta[m]> | Either get a real cert (via letsencrypt perhaps) or don't use SSL at all |
| [16:31:47] | <mstenta[m]> | If you want to open a feature request to allow the app to support self signed certificates, please feel free... But I don't think that it will work with them right now |
| [16:31:47] | <cycix[m]> | to be clear though the app requires ssl though right? I didnt see the option for the prefix to not be https |
| [16:32:13] | <mstenta[m]> | It actually does support non ssl |
| [16:32:34] | <mstenta[m]> | It will try ssl be default but revert to http if that doesn't work |
| [16:32:56] | <mstenta[m]> | I definitely recommend ssl of course, and with let's encrypt it's free |
| [16:34:03] | <cycix[m]> | ok. humm.. i didnt orgionally ahve https enabled. I was getting the 404 and assumed that was the issue so I made a cert and installed it, hoping to fix the issue. I'm happy to get a real cert. was just trying to test it, so if it reverts to non-https then I dont think thats probaly the issue |
| [16:35:03] | <mstenta[m]> | Oh ok |
| [16:35:35] | <mstenta[m]> | Well then I would suggest turning off ssl and figuring out the 404 error first |
| [16:35:49] | <mstenta[m]> | <mstenta[m] "And if you go to /user/login you"> Did you confirm this works? |
| [16:36:25] | <mstenta[m]> | If that doesn't work, you may not have clean urls enabled |
| [16:37:20] | <cycix[m]> | I bet thats it. /user/login gives a 404. |
| [16:38:12] | <mstenta[m]> | If clean urls are not enabled, the login form will be at /?q=user/login instead of /user/login |
| [16:38:12] | <mstenta[m]> | Ok yea check clean urls |
| [16:38:15] | <mstenta[m]> | Google "Drupal clean urls" |
| [17:28:03] | <cycix[m]> | That fixed it. Just for info it seems to not care about the self generated cert. |
| [17:28:44] | <cycix[m]> | thanks! |
| [17:43:44] | <mstenta[m]> | Great! |
| [17:43:50] | <mstenta[m]> | <cycix[m] "That fixed it. Just for info it "> Oh interesting! Good to know! |