Exception reading response - business-process-management

I created an java stand alone application to send an email to gmail using smtp Everything fine with running it in eclipse. But i uploaded it in the bpm and using it as java integration service to send an email but it was showing an error is:::-Exception reading response.
please help me with this..

Related

timeout in telegram.bot webhook - asp.net mvc

I had been developed a telegram bot using Telegram.Bot.
I tried to rework with the bot, First I created bot using BotFather and got token.
I set webhook server api address in telegram api. But when I check webhookinfo it returns this error
https://api.telegram.org/botToken/getWebhookinfo
respone:
"last_error_date":1585419712,"last_error_message":"Connection timed out"
I checked it need TLS12 to have secure connection using
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
But It's not getting updates in my server and show time out error.
I tried posting using postman and ngrok to run on my iisexpress and I'm getting data and can sending messages to bot in my localhost.
But In hosting it's not working, whats wrong with new Telegram.Bot library or telegram server?
update
I checked with postman my hosting url, post man also cant connect to that url. what can be wrong with my codes?
This is response when i'm call update receiving URL in my hosting:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.10.34.35:443
I got problem, the certificate which we use should be valid one, not free.
For more information please study this link:
https://core.telegram.org/bots/webhooks

Error connecting to Quickbooks Desktop POS through the web connector

I have a client that needs to connect his website to the Quickbooks Desktop POS 18.0. I Downloaded the Quickbooks webconnector, but the latest version gives an error and says I need quickbooks 2015 or later, so I downloaded the 2.1.0.30 version and was able to install it on the machine.
I then used the following php application https://github.com/consolibyte/quickbooks-php. I installed it on my server, got the ssl certificate and everything needed for security. I'm only using it for tests now, but the problem is that when I generate the .qwc file and use it on the web connector I get the following error: Error QBWC1048: QuickBooks Web Connector Could not verify the web application server certificate.
The domain I use is https://filcp.com/
Here is the certificate for the server
This is how my qwc file looks like
<?xml version="1.0"?>
<QBWCXML>
<AppName>My QuickBooks SOAP Server</AppName>
<AppID></AppID>
<AppURL>https://filcp.com/QuickBooks/SOAP/Server.php</AppURL>
<AppDescription>An example QuickBooks SOAP Server</AppDescription>
<AppSupport>https://filcp.com</AppSupport>
<UserName>userName</UserName>
<OwnerID>{57F3JK78-86F1-4FCC-B1FF-9H64VB813D20}</OwnerID>
<FileID>{57F3JK78-86F1-4FCC-B1FF-9H64VB813D20}</FileID>
<QBType>QBPOS</QBType>
<Notify>false</Notify>
<Scheduler>
<RunEveryNMinutes>10</RunEveryNMinutes>
</Scheduler>
<IsReadOnly>false</IsReadOnly>
</QBWCXML>
I followed many tutorials about configuring ie and all, but nothing has worked so far. I can access the application through ie, but I still get that error on the web connector.
Can someone help me to figure out what may be causing it and if there is any other way that I can connect the client's website to Quickbooks POS?
If you visit the URL you're referencing in the .QWC file:
https://filcp.com/QuickBooks/SOAP/Server.php
You can clearly see that you're getting back a response of:
500 Internal Server Error
Your code is broken. Fix your code. If you need further hope, post your code so we can help you. Also, post your logs from the Web Connector (hit the View Log button).

Sending Email from .NET using windows live smtp

I have configured smtp settings in web.config and I was able to successfully send email when working on my local machine. But when I uploaded the code on the server, its giving me following exception
Mailbox unavailable. The server response was: 5.7.3 Requested action aborted
Meanwhile, I also received an email from Microsoft telling me that an attempt to login to my account from a new location was blocked. I clearly understand the problem that server is in a different part of the world than where I usually login to a Windows Live account. That's why it is blocking the account to login. But I want it to login and send email using my credentials on from remote server. There must be some settings in Windows Live account but I failed to find one.
Contacting Hotmail Support Center first to find out if its really possible what you are intending to do might be helpful. I think if hotmail web administration has put a security check, it must be for a purpose of stopping such remote login activities.

Demo code indy mail server ( TIdsmtpserver)

I need to send e mail's inside a larger company network. Sending mails via the INDY smtp component is no problem and works fine for me. The only draw back about the configuration as I need a company mailbox and password shared within the source code. If I use a google mail box also everybody with access to the source code may send e mails using this account.
I wonder now wheather a own E mail server (TIdSMTPserver) will solve my issues, as I can define the password for sending Email by myself and I can create a sending name like "ShortNewsUpdate.com"
I already found INDY SMTP SERVER#1 and INDY SMTP SERVER#2with a link to the demo file , but the demo zip file does not compile with latest INDY library (http://indy.fulgan.com/ZIP/Indy10demo.zip )
is the a new public sample code for a mail server with Indy 10 ?

I can send an email from my Rails app, but not an SMS text through an email gateway

I have application that needs to send emails and sms text messages. It sends emails just fine, but when I try to send text messages using email gateways (for verizon, xxxyyyzzzz#vtext.com) I get nothing. I have texted the phone using though the email gateway using my gmail account, so I know it works. I would just think that from my app's point of view I am just sending out another email. Any idea why this doesn't work? Or what I can do to troubleshoot it?
I should also note that I am doing this from a Rails app on my local computer...not that it should matter.
Maybe Verizon has software that can identify emails sent from software rather than humans, and rejects yours?
Try making your software add all the same headers (eg. X-Mailer) that a normal email client would add.
Verizon could be doing a reverse DNS query as a simple spam check. Your ISP's info could show up during this look up instead of the return address info that your email message contains, and thus could be getting blocked.
To troubleshot this make sure that the return e-mail address that you are using is coming from an ISP e-mail account.
Here is how to debug it on Linux. Run your Rails application server with strace:
strace -s99999 -e connect,read,write,close -o strace.log script/server
Then examine strace.log and see exactly which SMTP server the Rails application connects to, and what it reads and writes.
Then do the same with your favorite mail client (recommended: mutt, because Thunderbird is slow in strace).
Try to send exactly the same bytes from Rails what your mail client sends.
I have used SMS_Fu in the past to send out text messages. It has worked wonderfully.
I have written a client app for Ruby for sending SMS, please see http://freebiesms.blogspot.com/2009/07/send-free-sms-from-ruby.html to download
complete source code.
Regards
Dan

Resources