These are chat archives for ushahidi/Community

24th
Mar 2017
Arturo
@ArturoQuintana
Mar 24 2017 15:46
Hello there @ushbot @jess @davidlosada Jason Mule
We need your help and advice with some data sources (Twilio SMS by now)
We have done all the setup steps following these instructions (https://www.ushahidi.com/support/data-sources), however, it does not working
Here I attach the images that show what we have.
We have tested including the prefix (+1) and without it
Thanks in advance!
ushahidi-41.jpg
ushahidi-42.jpg
ushahidi-43.jpg
ushahidi-44.jpg
Ushbot
@ushbot
Mar 24 2017 17:19
[Will Doran, Ushahidi] hi @ArturoQuintana I'll take a look now
[Will Doran, Ushahidi] I think there might be a mistake in our docs
[Claude Marcello Champier] It's possible to us to update to your new files ?
[Will Doran, Ushahidi] Hi Claude
[Will Doran, Ushahidi] sorry I'm not sure I follow, what do you mean by new files?
[Claude Marcello Champier] Hi
[Claude Marcello Champier] Like your new.version
[Claude Marcello Champier] Of the system
[Will Doran, Ushahidi] oh yes, so are you on version 2 at the moment?
Ushbot
@ushbot
Mar 24 2017 17:24
[Will Doran, Ushahidi] @ArturoQuintana Could you take a look at
https://www.twilio.com/console/dev-tools/debugger
and see if you are getting any error messages?
[Claude Marcello Champier] Yes
[Will Doran, Ushahidi] Right, so at the moment we don't have a direct upgrade path from v2 to v3 but we are working on it. Do you have a lot of data you need to migrate? Apologies if you have already answered that somewhere
[Claude Marcello Champier] Nop
[Claude Marcello Champier] Small data
Ushbot
@ushbot
Mar 24 2017 17:39
[Will Doran, Ushahidi] Well, we're hoping to be able to facilitate direct upgrades but it might be a little while yet
In the meantime, you could set up a v3 deployment, it's possible to import data into v3 from CSV so if you can format the data from v2 and import it that might be a solution. I need to know a bit more to give detailed advice.
Arturo
@ArturoQuintana
Mar 24 2017 17:43
@WillDoran Thank you very much for your time!
Here is what we have in the link that provided us
ushahidi-45.jpg
I do not see errors, just some warnings
Arturo
@ArturoQuintana
Mar 24 2017 17:53
@ushbot @WillDoran What can we do? What could be happening?
Ushbot
@ushbot
Mar 24 2017 17:56
[Will Doran, Ushahidi] could you send a test text message
[Will Doran, Ushahidi] and we should see a new bug
[Will Doran, Ushahidi] then click on the link for that bug and it should give us more info
Arturo
@ArturoQuintana
Mar 24 2017 17:57
ok, I will do it!
Ushbot
@ushbot
Mar 24 2017 17:58
[Will Doran, Ushahidi] thanks
Arturo
@ArturoQuintana
Mar 24 2017 18:00
@ushbot @WillDoran I have a new warning message
ushahidi-46.jpg
Ushbot
@ushbot
Mar 24 2017 18:02
[Will Doran, Ushahidi] ok can you click on that one and let's see what the detailed log is
Arturo
@ArturoQuintana
Mar 24 2017 18:03
@ushbot @WillDoran
ushahidi-47.jpg
@ushbot @WillDoran
ushahidi-48.jpg
Arturo
@ArturoQuintana
Mar 24 2017 18:08
@ushbot @WillDoran more details
ushahidi-49.jpg
ushahidi-50.jpg
Ushbot
@ushbot
Mar 24 2017 18:27
[Will Doran, Ushahidi] Hi, I think the url address is wrong
[Will Doran, Ushahidi] that's the address of the client, it needs to be the address of the backend api
[Will Doran, Ushahidi] what is the url for the api?
Arturo
@ArturoQuintana
Mar 24 2017 18:28
Ushbot
@ushbot
Mar 24 2017 18:28
[Will Doran, Ushahidi] sorry, to be more clear
[Will Doran, Ushahidi] that's the url for the client
[Will Doran, Ushahidi] I believe the api url is
Ushbot
@ushbot
Mar 24 2017 18:29
[Will Doran, Ushahidi] http://weblib02.fiu.edu
[Will Doran, Ushahidi] yep exactly
Arturo
@ArturoQuintana
Mar 24 2017 18:30
hehehehe, thanks!
Ushbot
@ushbot
Mar 24 2017 18:30
[Will Doran, Ushahidi] so that's the address you should be sending the sms to in the twillio setup
[Will Doran, Ushahidi] no problem!
Arturo
@ArturoQuintana
Mar 24 2017 18:30
let me see!
@WillDoran it is working! oh!
finally
Arturo
@ArturoQuintana
Mar 24 2017 18:35
let me see if I fix nexmo as well!
@WillDoran thanks so much!
Ushbot
@ushbot
Mar 24 2017 18:40
[Will Doran, Ushahidi] great
[Will Doran, Ushahidi] no problem at all
Arturo
@ArturoQuintana
Mar 24 2017 18:40
Thanks so much!
Ushbot
@ushbot
Mar 24 2017 18:40
[Will Doran, Ushahidi] I'll amend our docs to make sure it says the api url explicitly
[Will Doran, Ushahidi] no problem at all thanks for using ushahidi =D
Arturo
@ArturoQuintana
Mar 24 2017 18:41
I've tried with Nexmo, doing the same modification, but it is not working
@WillDoran Can you help us with this too?
Ushbot
@ushbot
Mar 24 2017 18:43
[Will Doran, Ushahidi] hmm interesting, I think nexmo has an extra step where you have to include the shared secret key
Arturo
@ArturoQuintana
Mar 24 2017 18:48
@WillDoran This is our setup right now
ushahidi-51.jpg
Ushbot
@ushbot
Mar 24 2017 18:49
[Will Doran, Ushahidi] ah
[Will Doran, Ushahidi] hang on two secs
[Will Doran, Ushahidi] and I'll find the setup
Arturo
@ArturoQuintana
Mar 24 2017 18:49
ok, thanks
@WillDoran by the way,
I see that in the Webhook URL for Delivery Receipt field, we have this value http://weblib02.fiu.edu/
If we change to http://weblib02.fiu.edu/sms/nexmo/reply
We get this message "Delivery Receipt Webhook URL is not responding with status 200, using specified HTTP method"
Ushbot
@ushbot
Mar 24 2017 18:55
[Will Doran, Ushahidi] ah
[Will Doran, Ushahidi] that's interesting
Ushbot
@ushbot
Mar 24 2017 19:02
[Will Doran, Ushahidi] gimme 15 mins I just have to fix something else
Arturo
@ArturoQuintana
Mar 24 2017 19:02
ok, thank you
Ushbot
@ushbot
Mar 24 2017 19:47
[Will Doran, Ushahidi] hi there sorry about that
[Will Doran, Ushahidi] let me see what we can figure out
[Will Doran, Ushahidi] I think you need to set the HTTP method to POST
[Will Doran, Ushahidi] instead of GET
Arturo
@ArturoQuintana
Mar 24 2017 20:53
Hi Will
thanks for your time
;-)
I did it
but I am having the same error
Delivery Receipt Webhook URL is not responding with status 200, using specified HTTP method
I am getting the error when I change from http://weblib02.fiu.edu/ to http://weblib02.fiu.edu/sms/nexmo/reply
in the Webhook URL for Delivery Receipt field
Ushbot
@ushbot
Mar 24 2017 20:56
[Will Doran, Ushahidi] is there any more detail to the error?
Arturo
@ArturoQuintana
Mar 24 2017 20:58
nop
ushahidi-52.jpg
@WillDoran I am sorry, but I got to go.
If you do not mind, we can continue next Monday.
I will let you know.
Thanks for your help!
Have a great weekend!