tailscale / golink

A private shortlink service for tailnets
BSD 3-Clause "New" or "Revised" License
1.2k stars 76 forks source link

Spurious XSRF token mismatches on link creation #130

Open noncombatant opened 2 months ago

noncombatant commented 2 months ago

People are getting "invalid XSRF token" errors when attempting to create new links. Reproducibility seems to be consistent for some people, but to consistently not happen for others.

wahyd4 commented 1 month ago

I am getting this error as well after upgrading my container. The Kubernetes configuration I used to run the container is

args:
    - -dev-listen
    - :8080
    - -sqlitedb
    - /home/nonroot/go-links.db

I had to rollback the docker image to ghcr.io/tailscale/golink:main@sha256:47eaa3af7dbfdc882b3c78e41d07e1449bb3df0dbda638a210afa4d7d9efb930 to get the link creation work.