trog.codes

Figured out why wmill sync is broken

wmill sync was busted for me (as noted in an earlier post). I have not tested this but it dawned on me earlier that the instance I’ve been trying to sync from I have placed behind cloudflare proxies with authorization, such that requests should not be permitted if they are not first authorized via one of the methods I’ve set up. This would include requests from wmill cli, of course.

So the way I see it, the following course of action is logical:

  1. Temporarily disable auth on the domain and see if there is still a failure
  2. If so, to solve the issue, either:
    1. leave auth off, since it’s not really necessary for this subdomain, only the management of the bare metal itself
    2. explore something to grant programmatic auth, which I think on CF is service tokens