I don't know of any way to log the outbound headers, but yes I've logged and sent the card processor the response headers. I assume app engine urlfetch adds some headers on outbound but I can't see how that would matter. Stumped. Waiting for their reply after they look into it.
Can I assume that outbound https with java8 native is "unmolested" or does google still intercept requests and responses? On Thursday, July 13, 2017 at 4:55:09 PM UTC-4, Yannick (Cloud Platform Support) wrote: > > Hello Robert, > > Have you tried logging your requests (with headers) to check in which ways > they differ? There might be some platform-specific differences that the > card processor is not accounting for or handling poorly for some reason. > > On Thursday, July 13, 2017 at 3:07:20 PM UTC-4, Robert Dyas wrote: >> >> On further research it is something to do with native vs urlfetch: >> >> <url-stream-handler>urlfetch</url-stream-handler> >> >> Adding the above to my appengine-web.xml file allows it to run correctly >> in both java7 and java8 (would be nice to have this mentioned in the notes >> about switching to java8 from java7... and a summary of any other >> compatibility settings). >> >> Now the remaining question is: why when using native does it not work? >> >> >> On Thursday, July 13, 2017 at 11:40:28 AM UTC-4, Robert Dyas wrote: >>> >>> We have GAE std app that has been running for a coupe of years on java7 >>> making some https requests out to our credit card processor. Works fine. >>> >>> When we switched to java8 runtime those same https requests are getting >>> a 400 response code from the credit card processor. >>> >>> Any ideas as to what might be causing this or where to look? >>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/df43d909-772a-415a-8e28-6968394377d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
