You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rapidpro-dev
First - the telegram integration is incredibly exciting. I think it will allow us to leverage RapidPro to create entirely new forms of apps.
We upgraded and are able to receive messages from Telegram but not able to send. Is there anything in particular we might be missing to get this setup?
Thanks again,
Matt
Nic Pottier
unread,
Feb 16, 2016, 1:03:48 PM2/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Matt Berg, rapidpro-dev
Telegram's API is just plain HTTP/S, so nothing special needed there.
I would maybe add some debugging and make sure that the URL that is
being registered as a callback for your bot is indeed reachable from
the wider internet. (check your TEMBA_HOST in settings.py)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nic Pottier, rapidpro-dev
Thanks Nic will give it a shot.
dwa...@ona.io
unread,
Mar 1, 2016, 7:12:42 AM3/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rapidpro-dev, mb...@ona.io
I have checked the TEMBA_HOST setting.
When sending telegram messages I can see the celery task processing successfully but user not receiving any message.
Nic Pottier
unread,
Mar 1, 2016, 6:40:53 PM3/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dennis Wambua, rapidpro-dev, Matt Berg
What does the sending log say? Are you getting a valid response from Telegram?
Note that telegram bots can only chat with users who have initiated a
chat with them, a bot can't initiate a conversation with a user until
the bot is added by the user.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nic Pottier, Matt Berg, rapidpro-dev
Hi Nic,
We used pip-freeze.txt file to install the dependencies.
From the logs I am get the following
[2411] SENT - None None "None" None "None"
[pid: 17492|app: 0|req: 7/17] 196.207.140.148 () {52 vars in 1099 bytes} [Fri Mar 11 07:38:22 2016] POST /broadcast/send/?_format=json => generated 67 bytes in 146 msecs (HTTP/1.1 200) 2 headers in 65 bytes (1 switches on core 0)
I wonder why the response are None
--
Regards,
Dennis M. Wambua
Dennis Wambua
unread,
Mar 11, 2016, 4:52:50 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nic Pottier, Matt Berg, rapidpro-dev
We have also noticed when i send a message in rapidpro telegram it sends an old text. I think they have been queued somewhere.
How do i clear the queue?
Nic Pottier
unread,
Mar 11, 2016, 9:17:22 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dennis Wambua, Matt Berg, rapidpro-dev
None is normal in the logs for that channel type since we don't have
any more details. (the telegram library is sending it, so we don't
have a trace)
To me it looks like things are being passed off to Telegram just fine,
so not sure what the issue might be. Does the same account work on
TextIt?
Note that outgoing messages to contacts won't work if they have
deleted (and blocked) the bot conversation. Users must initiate the
conversations first.
-Nic
Matt Berg
unread,
Mar 11, 2016, 9:18:56 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nic Pottier, Dennis Wambua, rapidpro-dev
Nic,
Do you now how long the conversation remains open for?
Ie) If I do /start and i'm added as a contact. Can we message that person a month later? Or does /start have to be initiated again.
Matt
Nic Pottier
unread,
Mar 11, 2016, 9:21:00 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Matt Berg, Dennis Wambua, rapidpro-dev
That we've seen so far I haven't seen that there's a timeout.
Matt Berg
unread,
Mar 11, 2016, 9:21:50 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nic Pottier, Dennis Wambua, rapidpro-dev
We got it working. It looks like it breaks when we put things in async mode. Dennis will provide more info.
Dennis Wambua
unread,
Mar 11, 2016, 9:35:02 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Matt Berg, Nic Pottier, rapidpro-dev
When in async mode i.e CELERY_ALWAYS_EAGER = False the messages are been queued in SEND_MSG_TASK and not processed at all even when celery and redis are running.
I had to manually clear the queue to get it to work.
Any ideas why?
Nic Pottier
unread,
Mar 11, 2016, 9:40:48 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message