"Are you sure you want to do this?" registration error

Any tips to troublshooting

"Are you sure you want to do this?" at registration. It seems to popup randomly after awhile.
I take steps to restart nginx login logout delete cookie.. Not sure what fixes it or what causes it.