mstine/grails-paypal-plugin — Issue #2: IPN notify throws exception on inputStream
Author: tomfarnham
Created: 2011-10-14 22:50:40+00:00
State: open

At this line: def result = conn.inputStream.text?.trim() in PayPalController.groovy

java.io.FileNotFoundException: https://www.sandbox.paypal.com/cgi-bin/webscr
at org.grails.paypal.PaypalController$_closure1.doCall(PaypalController.groovy)
at org.grails.paypal.PaypalController$_closure1.doCall(PaypalController.groovy)
at java.lang.Thread.run(Thread.java:636)

I've tried everything I can think of. It also throws a SSLException, but I fixed that by overriding the HostnameVerifier on HttpsURLConnection.