2014-10-17 119 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"