Open ghost opened 8 years ago
I'm encountering the same issue also with google api in heroku. Did you ever find a solution?
I found https://github.com/KSP-CKAN/CKAN/issues/24 which may fix it but I'm not sure how to apply that to the buildpack.
I followed the solution here: http://answers.unity3d.com/questions/914894/help-me-reading-a-spreadsheet-from-google-drive-us.html
but doesn't seem like the right fix.
I think the issue here is the mono version; try Mono 4.8.1 and the TLS support has been improved.
I never found a solution mydogisbox, but I haven't tried changing the mono version as haf is proposing.
The second solution I can think of is updating the CA list… The message states "Trust failure", not "Handshake failure", so let me suggest http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync
I will add that to my todo list to investigate.
I have created a small test site where I am calculating a route from Paris to Berlin using Google's directions API (through a JSON type provider) and returning it to the user. It works locally and I can successfully deploy and build it on Heroku. However, once I try to access the site from Heroku I get this (in the log):
The code can be found here: https://github.com/zenplement/suaveherokutypeprovidertest Note that a google api key needs to be set as a config variable in Heroku (GOOGLE_API_KEY)
It might simply be a newbie mistake on my part (first time using Suave.IO), so any pointers would be greatly appreciated. I might also be related to #9.