haskell - sudden yesod tls exception, DecodeError -
i've started encountering following errors when attempting use gmail authentication (yesod.auth.googleemail2
) in yesod application:
failedconnectionexception2 "www.googleapis.com" 443 true sendbuf: resource vanished (broken pipe)
and
tlsexceptionhostport (handshakefailed (error_packet_unexpected "alert [(alertlevel_fatal,decodeerror)]" " expected: change cipher")) "www.googleapis.com" 443
the second error more common. it's still possible log in---reloading after error gives
statuscodeexception (status {statuscode = 400, statusmessage = "bad request"}) [("content-type","application/json; charset=utf-8"),("cache-control","no-cache, no-store, max-age=0, must-revalidate"),("pragma","no-cache"),("expires","mon, 01 jan 1990 00:00:00 gmt"),("date","wed, 24 aug 2016 01:13:02 gmt"),("content-encoding","gzip"),("x-content-type-options","nosniff"),("x-frame-options","sameorigin"),("x-xss-protection","1; mode=block"),("server","gse"),("alternate-protocol","443:quic"),("alt-svc","quic=\":443\"; ma=2592000; v=\"35,34,33,32,31,30\""),("transfer-encoding","chunked"),("x-response-body-start","{\n \"error\" : \"invalid_grant\",\n \"error_description\" : \"code redeemed.\"\n}"),("x-request-url","post https://accounts.google.com:443/o/oauth2/token")] (cj {expose = []})
and heading through auth route after getting message logs in.
i'm building on yesod scaffolded site, , far can tell, nothing has changed in foundation.hs or application.hs since before problem started showing up. application being deployed keter, , compiled in stack lts-6.12
twofold question: what's cause, , what's fix?
Comments
Post a Comment