Upgraded to latest version camunda 7.14

We are using camunda springBoot, We updated to latest version. Then we are facing issue with flow deployment.

Suddenly we are seeing athenictaction while deploying the flow.
We tried different users with which we are able to login into camunda cockpit.

This would happen only if you’ve turned on authentication.
the problem is likely the rest end point you’re using is the one intended for the webapps so you shouldn’t us it for deploying a process from an external source. instead use:
https://<server>:<port>/engine-rest/

@Niall How to turnoff authentication to the rest-api in the springboot camunda environment

@Niall I am not able to deploy flows after upgrade. Its kind of road blocker

Is your problem still that you don’t know how to turn off the authentication of the rest api?

@Niall For the previous version , i am able to hit the webapps end point deploy the flow. Now in current version we are getting athentication error.
error : Credentials doesnt match with server

1 → Can we disable webapps authentication so we can use same endpoint.

I even tried this
https://:8080/engine-rest/

Got this error : Should point to running camunda

https://::443/engine-rest/ → camunda is reporting error please check the status

Error in the server – .springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL contained a potentially malicious String “//”

@Niall My pom.xml file

<groupId>com.test.usx</groupId>
<artifactId>erb</artifactId>
<version>1.4</version>
<name>erb</name>
<description>Workflow</description>

<inceptionYear>2019</inceptionYear>


<repositories>
    <repository>
        <id>cloudera</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </repository>
    <repository>
        <id>confluent</id>
        <url>http://packages.confluent.io/maven/</url>
    </repository>
    <repository>
        <id>camunda-bpm-nexus</id>
        <name>Camunda Maven Repository</name>
        <url>https://app.camunda.com/nexus/content/groups/public</url>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>cloudera</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </pluginRepository>
    <pluginRepository>
        <id>confluent</id>
        <url>http://packages.confluent.io/maven/</url>
    </pluginRepository>
</pluginRepositories>

<distributionManagement>
    <repository>
        <id>releases</id>
        <name>Internal Releases</name>
        <url>http://nexus.rxcorp.com:8081/nexus/repository/releases/</url>
    </repository>
    <snapshotRepository>
        <id>snapshots</id>
        <uniqueVersion>true</uniqueVersion>
        <name>Internal Snapshots</name>
        <url>http://nexus.rxcorp.com:8081/nexus/repository/snapshots/</url>
    </snapshotRepository>
</distributionManagement>


<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.level>8</java.level>
    <java.version>1.${java.level}</java.version>
    <jdk.version>${java.version}</jdk.version>
    <scala.binary.version>2.11</scala.binary.version>
    <scala.version>${scala.binary.version}.12</scala.version>
    <maven.compiler.source>${java.version}</maven.compiler.source>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <kafka-avro-serializer.version>3.3.1</kafka-avro-serializer.version>
    <spring.vault.version>2.1.0.RELEASE</spring.vault.version>
    <avro.version>1.8.2</avro.version>
    <camunda.version>7.14.0</camunda.version>
    <camunda-bpm-spring-boot.version>3.3.1</camunda-bpm-spring-boot.version>
    <javax.mail.version>1.6.2</javax.mail.version>
    <spray.json.version>1.3.5</spray.json.version>
    <jackson.mapper.version>1.9.12</jackson.mapper.version>
    <event-schema-utils.version>1.5</event-schema-utils.version>
    <logback-classic.version>1.3.0-alpha4</logback-classic.version>
    <logback-elastic.version>1.6</logback-elastic.version>
    <scala-maven-plugin.version>3.2.2</scala-maven-plugin.version>
    <ojdbc.version>12.1.0.2</ojdbc.version>
    <logback-elastic.version>1.6</logback-elastic.version>
    <springfox-swagger.version>2.9.2</springfox-swagger.version>
    <h2batabase.version>1.4.197</h2batabase.version>
    <git-commit-id-plugin.version>3.0.1</git-commit-id-plugin.version>
    <jgitflow-maven-plugin.version>1.0-m5.1</jgitflow-maven-plugin.version>
    <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
</properties>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.camunda.bpm</groupId>
            <artifactId>camunda-bom</artifactId>
            <version>${camunda.version}</version>
            <scope>import</scope>
            <type>pom</type>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>${scala.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.kafka</groupId>
        <artifactId>spring-kafka</artifactId>
    </dependency>
    <!--   <dependency>
           <groupId>com.rxcorp.usx.ebo</groupId>
           <artifactId>ebo-custom-webapp</artifactId>
           <version>7.11.0-SNAPSHOT</version>
       </dependency>-->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter</artifactId>
        <version>${camunda.version}</version>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
        <version>${camunda.version}</version>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
        <version>${camunda.version}</version>
        <!--    <exclusions>
                <exclusion>
                    <groupId>org.camunda.bpm.webapp</groupId>
                    <artifactId>camunda-webapp-webjar</artifactId>
                </exclusion>
            </exclusions>-->
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-security</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-jdbc</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>com.rxcorp.usx.ebo</groupId>
        <artifactId>event-schema-utils</artifactId>
        <version>${event-schema-utils.version}</version>
    </dependency>
    <dependency>
        <groupId>com.sun.mail</groupId>
        <artifactId>javax.mail</artifactId>
        <version>${javax.mail.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-configuration-processor</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.extension.swagger</groupId>
        <artifactId>camunda-bpm-swagger-json</artifactId>
        <version>7.8.0</version>
    </dependency>
    <dependency>
        <groupId>org.webjars</groupId>
        <artifactId>swagger-ui</artifactId>
        <version>3.1.4</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>${h2batabase.version}</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>com.oracle</groupId>
        <artifactId>ojdbc7</artifactId>
        <version>${ojdbc.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro</artifactId>
        <version>${avro.version}</version>
    </dependency>
    <dependency>
        <groupId>io.confluent</groupId>
        <artifactId>kafka-avro-serializer</artifactId>
        <version>${kafka-avro-serializer.version}</version>
    </dependency>
    <dependency>
        <groupId>com.internetitem</groupId>
        <artifactId>logback-elasticsearch-appender</artifactId>
        <version>${logback-elastic.version}</version>
    </dependency>
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger2</artifactId>
        <version>${springfox-swagger.version}</version>
    </dependency>
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger-ui</artifactId>
        <version>${springfox-swagger.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-vault-config</artifactId>
        <version>${spring.vault.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.kafka</groupId>
        <artifactId>spring-kafka-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>io.spray</groupId>
        <artifactId>spray-json_${scala.binary.version}</artifactId>
        <version>${spray.json.version}</version>
    </dependency>
</dependencies>
<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <mainClass>com.rxcorp.usx.ebo.EventBasedOrchestratorApplication</mainClass>
                <layout>ZIP</layout>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>${maven-compiler-plugin.version}</version>
            <configuration>
                <source>${maven.compiler.source}</source>
                <target>${maven.compiler.target}</target>
            </configuration>
            <executions>
                <execution>
                    <phase>compile</phase>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>external.atlassian.jgitflow</groupId>
            <artifactId>jgitflow-maven-plugin</artifactId>
            <version>${jgitflow-maven-plugin.version}</version>
            <configuration>
                <enableSshAgent>true</enableSshAgent>
                <noDeploy>true</noDeploy>
                <noReleaseBuild>true</noReleaseBuild>
                <noFeatureBuild>true</noFeatureBuild>
                <noHotfixBuild>true</noHotfixBuild>
                <enableFeatureVersions>false</enableFeatureVersions>
                <releaseBranchVersionSuffix>RC</releaseBranchVersionSuffix>
                <allowSnapshots>true</allowSnapshots>
                <pushReleases>true</pushReleases>
                <pushHotfixes>true</pushHotfixes>
                <pushFeatures>true</pushFeatures>
                <flowInitContext>
                    <versionTagPrefix>v</versionTagPrefix>
                </flowInitContext>
            </configuration>
        </plugin>
        <plugin>
            <groupId>net.alchim31.maven</groupId>
            <artifactId>scala-maven-plugin</artifactId>
            <version>${scala-maven-plugin.version}</version>
            <configuration>
                <scalaCompatVersion>${scala.binary.version}</scalaCompatVersion>
                <scalaVersion>${scala.version}</scalaVersion>
                <jvmArgs>
                    <jvmArg>-Xmx4g</jvmArg>
                </jvmArgs>
                <recompileMode>incremental</recompileMode>
                <useZincServer>true</useZincServer>
            </configuration>
            <executions>
                <execution>
                    <id>scala-compile-first</id>
                    <phase>process-resources</phase>
                    <goals>
                        <goal>add-source</goal>
                        <goal>compile</goal>
                    </goals>
                </execution>
                <execution>
                    <id>scala-test-compile</id>
                    <phase>process-test-resources</phase>
                    <goals>
                        <goal>testCompile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>pl.project13.maven</groupId>
            <artifactId>git-commit-id-plugin</artifactId>
            <version>${git-commit-id-plugin.version}</version>
            <executions>
                <execution>
                    <id>get-the-git-infos</id>
                    <goals>
                        <goal>revision</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
                <prefix>git</prefix>
                <verbose>false</verbose>
                <generateGitPropertiesFile>true</generateGitPropertiesFile>
                <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
                <format>json</format>
                <gitDescribe>
                    <skip>false</skip>
                    <always>false</always>
                    <dirty>-dirty</dirty>
                </gitDescribe>
            </configuration>
        </plugin>
    </plugins>
</build>

You should remove this. you don’t need this and the camunda-bpm-spring-boot-starter-rest artifact.

You’re using spring security - this could be the problem with how you can’t reach camunda. you should look into that