Closed orellazri closed 1 year ago
Update: I think it's not related to the image architecture, but it's something in the network. It seems like the response from the url is not the expected json when trying back up over a different network.
As this issue seems to be related to me I will close it, but just in case someone stumbles here, I used a VPN container (gluetun) and ran this notion-backup container with the same network, and it appears to solve the issue.
When trying to back up on an ARM (linux/arm64/v8) machine (using Docker, normal local backup), it fails with:
I can successfully back up on different machines with the default amd64 image. I'm not sure what is the root cause, but it can also be something else since this machine is in a different network. I can't seem to reproduce this issue on other machines, even when building and running the image in the arm64 arch.
It seems to fail around this part: https://github.com/jckleiner/notion-backup/blob/25265a34548d271d6d8c36259c54eebe3ed41083/src/main/java/com/greydev/notionbackup/NotionClient.java#L165-L167