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.
Related
I am running a ruby Sinatra server on my development machine with ngrok.
I have verified that the accessing the publicly exposed url through ngrok does get routed to the ruby server and the correct response is returned.
I also used apitester.com to verify that the exposed url is accessible from the internet and the correct response is returned.
When I attempt to execute using the Alexa Simulator through the alexa developer console I only get "I am unable to reach the requested skill". I get the same response using a physical echo also.
I have double checked the endpoint configuration of the developer console and everything looks like ok to me.
I am using https for the endpoint with the "My development endpoint is a sub-domain of a domain that has a wildcard certificate" as the SSL certificate type.
Using the JSON request that is generated when attempting to use the Alexa Simultor does successfully send the request to my Sinatra server and the appropriate response is returned. This eliminated my concern that this was related to the sinatra/ngrok configuration, but it continues to fail when entering text (or speaking) into the simulator.
This is my first attempt at creating an Alexa skill, so I may be overlooking something obvious.
Does anyone have any suggestions?
Solved
I had set the default and North America endpoint urls containing the same URL.
Removing the optional North America endpoint url solved the problem for me.
I just created an REST API in API Connect and the endpoint works when I test it in the APIC assemble tab. It requires a client id and client secret. When I send a request through Postman, I currently get a “Could not get any response” message from when I try to add them as header values or OAuth authorization. I’m using the request endpoint that’s displayed when I hit the debug button from the successful response on the Assemble tab. Is this the correct endpoint to use? How do I properly include the client id and client secret in a Postman request?
If you get a "Could not get any response in Postman", that means that Postman can't reach the destination of the request.
There are several reasons for that:
Is it an intranet or internet endpoint?
Are you using a proxy? (check proxy config)
Is the hostname resolvable? (try ip)
If it is an https
endpoint, with a self signed certificate, check if you have SSL
Certificate verification enabled (Settings-> general)
On the other hand, to send the client-id and client-secret headers, just click on Headers tab and add both (see the following picture)
Please check the below things to get access to API Connect published services.
Service needs to be allowed to invoke from postman(System from which you are invoking.)
Please check the web-api MPGW service titled in DataPower default domain created when you configure your API connect with DataPower have you created an access control list in the front-side-handler.
Please disable the SSL configuration in the postman, sometime this may create a problem(since the service exposed from API Connect will be with SSL)
From the error you are getting, I suspect there is no connection or only one-way traffic is enabled which means you are blocking response. If there is an issue with the request parameters you are sending, an error will be different saying, wrong client id or client secret.
Testing API which is on-boarded from API Connect will be straightforward or same we invoke other rest services.
Thx Srikanth
I needed to include the client id and client secret in the headers using the correct name for them, which is specified when creating/editing the api under the 'Security Definitions' category as 'Parameter Name'.
I was also hitting the wrong endpoint. To find the correct endpoint click the hamburger icon in the upper left of api connect website, select dashboard, click on the environment you want such as sandbox or dev, click settings, click gateway, then you'll see the endpoint.
i have read that in in able to test IPN in localhost magento site ,i can use Advance Rest API in google chrome ,now i downloaded already the app and test some values, but it showed The response was Empty..
how to test it correctly? am i doing the right thing there in the picture above? thank you,
You cannot test IPN on your localhost, as IPN is all about PayPal's server initiating a server-side POST to a URL you define.
As a result, your IPN script must be accessible by the outside world (or you can use a tunnel such as ngrok.me/localtunnel.me)
You can test on localhost using ngrok :- https://ngrok.com/
Simply run ngrok locally then paste test url that ngrok gives you (something like http://1bc7d09d.ngrok.com/)
It provides a tunnel to your localhost.
More information visit this URL :-Paypal Sandbox Test Tool IPN Simulator in Localhost
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.
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.