発生している問題
gitlabが動いているサーバにて、CI/CD 環境を構築しているのですが、
gitlab-runner登録時に以下のエラーとなってしまい登録ができません。
ERROR: Registering runner... failed runner="トークン" status=500 Internal Server Error
PANIC: Failed to register this runner. Perhaps you are having network problems
ネットの情報などを頼りにlogから以下のエラー内容を確認し、発行したトークンの認証に失敗していることは
わかりましたが具体的な解消法などが見つけれていません。
何か解消法について、ご教示いただけませんでしょうか。
ご回答宜しくお願いいたします。
以下logからの抜粋です。
Can't verify CSRF token authenticity.
This CSRF token verification failure is handled internally by `GitLab::RequestForgeryProtection`
Unlike the logs may suggest, this does not result in an actual 422 response to the user
For API requests, the only effect is that `current_user` will be `nil` for the duration of the request
Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)
環境
- OS:Centos7
- gitlabバージョン:12.0.3
- runnerバージョン:12.9.0