2014-10-17 116 views
1

我已經在我的magento(1.9.1)存儲中安裝了一個模塊來緩存名爲tupertine的清漆頁面,但是我遇到了一些問題。Magento Tupertine身份驗證錯誤

我在文件中進入安裝後:在/ etc /清漆/祕密和複製的祕密密鑰,所以我回到後臺,並粘貼此鍵,但是拯救系統讓我看到以下消息:

Failed to apply the VCL to 127.0.0.1:6082: Got unexpected response code from Varnish: 107 ftfavpxpdqciyfzwuwtddrefouwffsdl Authentication required. 

閱讀模塊文檔:https://github.com/nexcess/magento-turpentine/wiki/Configuration檢查,關鍵包含換行符,則建議把A/N在後臺的關鍵結束

當試圖把/ n的關鍵後端系統顯示以下消息:

Failed to apply the VCL to 127.0.0.1:6082: Varnish data to write over length limit by 122 characters 

Varnish esi_syntax param is not set correctly, please see these instructions to fix this warning. 

的關鍵是:

b6736327-be5e-4b52-a05a-875ea9271424 

,看起來像這樣:

b6736327-be5e-4b52-a05a-875ea9271424\n 
+0

你設法解決這個問題嗎? – 2014-12-03 14:29:24

回答

0

試試這個 編輯文件清漆

sudo nano /etc/default/varnish 

集此爲 「DAEMON_OPTS」

DAEMON_OPTS=" 
      -p cli_buffer=16384 \ 
      -a :80 \ 
      -T localhost:6082 \ 
      -f /etc/varnish/default.vcl \ 
      -S /etc/varnish/secret \ 

      -s malloc,256m"