Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Admin (3 edits)

butler login is going to be an interactive prompt to allow you to log in via your browser. This is not something that is going to work on your CI runner which is running completely headless. See the instructions here: https://itch.io/docs/butler/login.html

Can you confirm that whatever is written in .config/itch/butler_creds is a valid API key for the account/project being pushed?

Running the same script locally may help you identify where the issue is located.

(+2)

Hi Leafo, thanks for reading through all that :)

Interestingly enough, butler login did work... that one time.  It hasn't worked since, so most of my latest experiments have been tried without it.  I still get the "ContentLength=71 with Body length 0" error.


As far as I can tell, the butler_creds file has a valid API key.  I unmasked it and put a `cat` line in there and it looked identical to the one I have on my local machine.  I copied it to my local machine and verified it was working.  Then I revoked it and got a new one because that project's visible to the whole world :)


Everything works perfectly fine on my local windows machine.  Using an invalid key here gives me an invalid key error, so whatever the problem is remotely, it's (probably) not that.