Localight / LocalightWebService

Localism Clique Program
http://localism.github.io/LocalightDocs/#/
0 stars 0 forks source link

Country code and SMS failures #577

Closed dwferrell closed 8 years ago

dwferrell commented 8 years ago

Good morning @julianpoy ~ I was showing a demo to Devin at the mayor's office and I asked him to text LBPOST12. He didn't get a response! Then I realized he had entered a 1 before the area code. I had him try again without a 1 and it worked as expected. So maybe we need to make sure the system will work if people enter a 1.

Or some people with 562 numbers will assume they can skip the area code and text to 276-2944. I have a 562 GoogleVoice number, so I just tested this out. Nothing came through at all, without the area code (see attached images). I also tried the Demo server without area code and no response (283-6856). I think this secondary scenario could be resolved with the following: measure the length of a new user's number, and if it's 7 digits we can assume that the Twilio area code they texted to is the same.

In testing the different servers it seems that the demo site is up and I get the proper text replies for lbpost12 and "Gift". But when I try texting the Live 562 number only the lbpost12 keyword works, and I don't get any reply when using "Gift" on Live.

The Demo server isn't totally working either... when I text "Gift" and click the link in the reply text it goes to a blank Forbidden page that says "You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request." Here's the link Demo sent back http://lbgift.com/?q=0wNmgt

I tried this same link in different mobile browser (clean cache) and it didn't work.

Then I tried texting Gift to Demo from a virgin 562 number - (562) 653-4640 - and the link it sent back DID work. http://LBGift.com/?q=t354FS

However then I tried LBPost12 to Live from this virgin number and I didn't receive a reply. I check again using my 9492026850 number sending lbpost12 and got the reply. I went back and tried sending Gift from (562) 653-4640 to the Live server and got nothing in return. So with this issue it seems that the Live server isn't responding to numbers that aren't already in the system?

I experienced these errors yesterday starting at 1:30 pm, and decided to test again later last night and this morning. The errors were the same with each test except for one that happened at 5:14pm yesterday. I tried sending LBPOST12 to Demo at that time (from 9492026850) and didn't receive a response. But when I try it now lbpost12 works. And as I mentioned "Gift" on Demo does send a reply link, but the link is forbidden.

So these issues are urgent, I'm holding on the LBPOST12 advertising until they're resolved. Hopefully my info has provided enough detail.

dwferrell commented 8 years ago

I've witnessed two people fail to receive a text back from the live site when they text lbpost12. I mentioned Devin (iPhone) above, and my friend Adam (Android) also didn't get a reply from Live when he tested it yesterday. I double checked that they entered it correctly. This is now an urgent concern. Devin (310) 435-1819 iPhone Adam (330) 554-9213 Android

julianpoy commented 8 years ago

This was a backend issue. Issues like this should be put here https://github.com/Localism/LocalightBackend/issues/ This was resolved by fixing server issues related to LBGift shorturl service