Problem/Motivation

I am getting this error:

Service error: 401 Unauthorized : CSRF validation failed in DeployServiceRest->httpRequest() (line 74 of /var/www/html/blah/docroot/sites/all/modules/contrib/deploy/includes/DeployServiceRest.inc

during deployment process. I am using dev release of deploy, services, entity, uuid module (modules listed in Drupal 7 documentation).

Any idea why I am getting this error? I have spent days to debug this problem, but I am not getting any lead.

Proposed resolution

N/A

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Comments

subhojit777’s picture

Issue summary: View changes
subhojit777’s picture

May be we are getting this error due to this https://www.drupal.org/node/1246470#comment-8950163

jribeiro’s picture

Same thing here.

badjava’s picture

This issue is most likely caused by mixed mode sessions. Try setting:

$conf['https'] = FALSE;

in your settings.php file.

chankongching’s picture

u gotta run the git clone once before execution of any command to add the remote resources into your know_hosts