Erlcloud SQS message not sent - erlang

Using the Erlcloud library for erlang I tried sending a message to the SQS,
erlcloud_sqs:send_message("ErlangGamesPacket","hi") for this command I am getting in return [{message_id,"8e4a535a-961f-4bc2-bd32-408d665b9323"},
{md5_of_message_body,"c1a5298f939e87e8f962a5edfc206918"}]
but on checking in the console its shows "No message recieved".
Do anyone know anything regarding this?

Related

Unable to view messages in HermesJMS + Solace

I created a successful SolaceSession on HermesJMS. Im able to successfully send message to the JMS queue (TEST.1) from HermesJMS (HermesJMS>>Messages>>Send a text message).
I can see the Messages Spooled count increased by 1 in the SolAdmin.
But when i browse the JMS queue (TEST.1) from HermesJMS, Im not able to view them in HermesJMS.
At the bottom, i see this message on HermesJMS:
Browsing TEST.1 on SolaceSession: Done
Also this message:
Finished. No messages read.
Upon checking the hermes.log, i see the following message:
2018-07-13 09:57:07,654 [Context_3_ReactorThread] DEBUG com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl - Demux pub msg:com.solacesystems.jcsmp.impl.JCSMPGenericXMLMessage[messageId=29609213,ackMessageId=0,prevId=0,CID_count=0,userData=,type=PERSISTENT,priority=-1,redelivered=false,timeToLive=0,expiration=0,dmqEligible=false,topicSeqNum=null,metadataLen=0,contentLen=94,attLen=0,deliverToOne=false,ackImmediately=false,sendCount=0]
Message ID is the same as in SolAdmin.
2018-07-13 09:57:07,670 [Context_3_ReactorThread] DEBUG com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl - Received incoming message with no active flow found for flowId=8676, ignoring.
Could you please let me know why Solace is ignoring the message eventually hermesJMS wouldnt show it up.
Thanks in advance for your help.
It looks like you've not added the -DSolace_JMS_Browser_Timeout_In_MS=1000 JVM system property to Hermes. You can refer to https://dev.solace.com/integration-guides/hermes-jms/ for full details about how to setup Hermes to work with Solace.
If the issue is not fixed even after setting -DSolace_JMS_Browser_Timeout_In_MS=1000, please provide the full set of logs.

Maximo cannot deliever message to endpoint

I've created an interaction in maximo 7.6 and when I try to run it, I get this error message:
BMXAA1481E - Cannot deliver the message to the endpoint. Internal
Error
I've tried fixing it, but nothing works, does anyone how to fix this or even why does it pop up?

AWS A Redis::CommandError occurred

I'm all of a sudden getting this error with my Rails application. I'm not sure what's going on. The word "password" is misspelled in the error message.
A Redis::CommandError occurred in emails#save_and_finish:
ERR invalid passward
app/controllers/emails_controller.rb:222:in `block in _send_blast'
I don't think it has anything to do with the part of the code where it's stopping because it works fine in development.
Not sure if that's the case, but I had the same misspelled "invalid passward" message.
We are using Redis by redislabs.com and we had the billing issue, the "invalid passward" was the (ugly) way they blocked us. So the solution is to contact the support.

Mandrill api log says message is sent, but I don't receive it, and it doesn't show in activity

Using a production key on Mandrill I am attempting to send an email. Previously this has worked without issue. However now, despite receiving a successful response from the API, visible in the api log, no email is being sent, and nothing is present in the outbound activity log.
If I check the api log for the message which appeared to fail it displays:
[
{
"email": [email_address],
"status": "sent",
"_id": [id],
"reject_reason": null
}
]
Replacing the id in the content view of a sent email, with the id from a failed one displays a correctly formatted email:
e.g. https://mandrillapp.com/activity/content?id=20151214_[put_the_id_here]
Is this a bug? What is causing it? Where can I see more information about what happened? How can I monitor if this happens again in the future? How can I prevent it from happening in the future?
I have been in contact with Mandrill support regarding the issue, which they described as 'very strange indeed'. Deleting the API key and generating a new one fixed the issue, but there is no explanation as to why this is they case, how to detect the problem, or how to stop it from happening again in the future.
The messages in question were never actually sent by Mandrill, and displayed no SMTP events, despite reporting as sent by their API
Something else to check is to make sure you're using a working API key instead of a test one. As the name suggests, test keys are designed to work just like a regular key, so the feedback to your program will be identical, but the messages won't actually be sent.
You can see if this is the problem by going to the Mandrill settings and looking at the list of API keys. Test keys have a very clear This is a test key message listed.
This probably won't be an issue if you generated the key yourself, but if you inherited this project it's worth taking a look.
I have faced a similar issue like this last week. The "sent" status only indicates that Mandrill sent it. But reception of the email message is confirmed only if there is a SMTP event corresponding to it with code starting with 2, (example 250 etc), in the info api response, like the following:
"smtp_events": [
{
"ts": 1442448422,
"type": "sent",
"diag": "250 SmtpThread-4622542-14682902148#ps-they-19.uk.miplecast.lan Received OK",
"source_ip": "505.207.171.171",
"destination_ip": "705.139.255.221",
"size": 29501
}
check this link for more info.
https://mandrill.zendesk.com/hc/en-us/articles/205582697-How-to-Confirm-If-an-Email-Was-Actually-Delivered
the issue could be on the recipient server as well, due which delivery could be delayed. In our experience last week, the message was delivered 4 hours after being Sent. we were not able to establish the reason yet why, this delay happened.
HTH,

Storing chat messages with an irc bot

I am trying to code a simple irc bot that detects if a word is inside a chat message and then saves that message to a file. I have the correct 'on text' event set up, but I don't know how to access the message that was sent so I can save it.
on *:TEXT:*txt*:#:
{
var %message $msg
writeini Log.ini Message value %message
}
$msg is clearly wrong. Is there an identifier to have my bot access the messages in the chat, or is there a completely different way to do this? I can't seem to find anything online about this either.

Resources