I've been using ngrok for several weeks while building the first version of my Web Server so that I can send it test Webhooks from a Facebook App.
Until today, I could always just update my Webhooks subscriptions with the new auto-generated ngrok URL just fine. But today, when I try to verify my ngrok URL with my Facebook App's Webhooks, I do NOT get an indication from my server that it ever received a GET request, I keep getting the timeout message:
The URL couldn't be validated. Callback verification failed with the
following errors: curl_errno = 28; curl_error = Operation timed out
after 6001 milliseconds with 0 out of 0 bytes received; HTTP Message =
Unknown Response Code
However, when I use Postman to hit the same ngrok URL, everything works fine - I can see that I'm getting back the challenge string and my server indicates that it received the GET request and responded with a 200 code. I haven't changed the logic of the verification endpoint in my server since I last used the Facebook Webhooks (yesterday).
Graph API version is 2.9. I made sure I was using the HTTPS URL ngrok provides, as I have been doing.
Related
I am trying to connect my localhost server to facebook bot for testing by using ngrok.
I tried ngrok to connect my localhost to Facebook webhook subscription.
facebook show the following error : The url https://e431-125-99-185-146.in.ngrok.io/webhooks/facebook/webhook has been identified as malicious and/or abusive.
I'm developing different chatbots for different fb pages but I only have one server to run them.
For the first chatbot I am using https://mydomain/webhook as webhook and everything works fine, all the messages are sent to the 443 port and my program process them. Now I was wondering what should be the webhook for my second chatbot. My idea was to open a https connection on another port and use https://mydomain/webhook:myport as webhook so that each bot listen on a different port and each webhook points to them accordingly.
Unfortunately when I try to validate my webhook from the facebok developer platform I got a 404 not found response. I also tried to use the same webhook on the same port (443) and I get 403 forbidden response.
You can use the exact same webhook, same port and all, for multiple facebook messenger bots. Each payload of messaging events sent to your webhook will be sorted into a list of pages that the messages are for. You can write code to handle each page's payload differently after it has hit your webhook.
My error was to add the port number after "/webhook" while the port number should go after the ip address "https://mydomain". In case anyone else was wondering, yes you can use the same webhook for different messenger apps, just use different ports.
You can receive your response in 443 and then redirect to your specified port by using proxy pass in your server's conf.
server {
listen 443;
server_name mydomain/webhook2;
location /{
proxy_pass http://127.0.0.1:yourportname;
}
}
Paypal upgraded to TLSv1.2. We are trying to verify our system integration with Paypal using https://tlstest.paypal.com (as mentioned in Paypal site).
Accessing this url directly or through Response.Redirect works fine but posting data to this url results in the following error:
Service Unavailable - DNS failure
The server is temporarily unable to service your request. Please try again later.
Reference #11.bb070f17.1459958479.7d82fa3
Does the above url accept the post data?
That URL will not allow posted data, its purely to test the connection from your server to PayPal's.
I am running a sample program on SOAP web service on ecplise with jboss.
In Web Service Tester, when I gave the wsdl url and clicked "invoke" button, i am getting the following error:
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
please help
I got to similar problem. Several things can go wrong.
1) If you are testing something, the system performing the testing could have blacklisted or non whitelisted IP.
2) If there is a mysql backend handling the request you might need to update the previleges for the mysql.
I am trying to call https request in phonegap-iphone app using jquery's methodgetJSON().
It works fine in normal safari, but in mobile safari, It gives error like "Download Failed-Safari cannot download this file".
This error occur because the desired server has invalid certificate!
the https server must have valid secure certificate.