docker-firefox-syncserver icon indicating copy to clipboard operation
docker-firefox-syncserver copied to clipboard

WARNING:mozsvc.user:Authentication Failed: invalid hawk signature

Open kangaroo72 opened this issue 4 years ago • 4 comments

Hi,

I'm starting "docker-firefox-syncserver" like this...

docker run -d -p 5000:5000 --name firefox_syncserver -e TZ="Europe/Paris" -e FF_SYNCSERVER_SECRET="xxxxxxxxxxx" -e FF_SYNCSERVER_FORWARDED_ALLOW_IPS="*" -e FF_SYNCSERVER_PUBLIC_URL="http://sync.domain.tld" -e force_wsgi_environ="true" -e FF_SYNCSERVER_ALLOW_NEW_USERS="true" -v $(pwd)/ff-sync:/data crazymax/firefox-syncserver:latest

I'm getting "WARNING:mozsvc.user:Authentication Failed: invalid hawk signature" Can someone help me with that issue??

Thanks, -Tom-

kangaroo72 avatar Oct 05 '21 20:10 kangaroo72

hey, have you managed to find a solution? I'm having exactly the same problem with docker...

mind-overflow avatar Feb 04 '22 14:02 mind-overflow

Hi, I have managed to run the FireFox-SyncServer with Docker-Compose. I also have written a howto. It's in German, but maybe it's interesting for you. Click here.

kangaroo72 avatar Feb 04 '22 17:02 kangaroo72

Thank you so much! I finally figured it out with your guide. My issue was simply that, in the NGINX Reverse proxy, I was redirecting public HTTPS to local HTTP, but I was using the X-Forwarded-Proto https header, which made it look like HTTPS in the Firefox Sync Server. However, I had set the FF_SYNCSERVER_PUBLIC_URL environment variable with http://... and not with https://..., which is what caused the WARNING:mozsvc.user:Authentication Failed: invalid hawk signature issue.

Thanks!

mind-overflow avatar Feb 04 '22 17:02 mind-overflow

You're very welcome. I'm also not an expert, but I'm working hard to get something working, what I want. I also have some contacts to experienced coders ;-) Sometimes the result is okay - have a nice day :-)

kangaroo72 avatar Feb 04 '22 17:02 kangaroo72