sam-lord
  • Joined on 2021-04-07
sam-lord pushed to master at sam-lord/acme.js 2021-04-08 13:22:57 +00:00
0aa939a227 Bug fix: Polling status using POST-as-GET wherever possible
sam-lord created repository sam-lord/acme.js 2021-04-08 11:51:51 +00:00
sam-lord commented on issue root/acme.js#9 2021-04-08 11:51:11 +00:00
ACME.js attempts to POST challenges repeatedly rather than GET the authorization status

SO ACME._pollOrderStatus should use the same GET on order._orderUrl as was used in ACME._postChallenge. I've made a patch for this locally and it works great.

I'll tidy it up a bit and…

sam-lord commented on issue root/acme.js#9 2021-04-08 11:23:46 +00:00
ACME.js attempts to POST challenges repeatedly rather than GET the authorization status

Seems like this issue can be solved in ACME._postChallenge in the checkResult function by adding 'pending' to the possible states that result in pollStatus getting called. I'll submit a patch…

sam-lord opened issue root/acme.js#9 2021-04-07 11:01:17 +00:00
ACME.js attempts to POST challenges repeatedly rather than GET the authorization status