I have run the start camunda batch file and the applications is loaded, but the camunda modeler doesnt detect the process engine

I have run the start camunda batch file and the applications is loaded, but the camunda modeler doesnt detect the process engine

It says " Could not connect to server. Did you run the engine?"

Camunda modeler deployement was working fine till last day.

Can anyone help me on this?

what is the URL endpoint being using by the modeler?
What camunda distro are you using?
Can you log into the camunda webapp?

Hi Nial,

URL endpoint : http://localhost:8080/engine-rest
Using Camunda Community Edition

Yes I can perform all operations like start process and anything on cockpit works fine. Basically application is running perfect.

I have even worked on postman and everything had worked fine before , but now even postman doesn’t detect the server that is up.

Thanks in advance
Shonima

I hope the context-path to the camunda rest resources should be /rest instead of /engine-rest

Hi Aravind,

Thanks for the help but even this is not working.

Regards
Shonima

@shonimavivek can you provide the error log here (formatted) ? camunda-tomcat distribution or camunda-springboot setup?

Since the application is running fine, there are no tomcat errors.

Iam unable to connect via rest API , that is the issue

Are you overriding context path in java config or properties file?

Are you able to get response for the below api?

https://docs.camunda.org/manual/7.12/reference/rest/engine/get-names/

After executing this api check what’s the http status code.

@shonimavivek the image is not much informative to analyze further.

What action you performed in camunda?
Provide formatted log of stack trace.
Which api you’re trying to access?
Basic auth enabled?
Application setup?

1 Like

What action you performed in camunda?

  1. Downloaded the zip[from git hub - tomcat] available in camunda site.
  2. ran start-camunda batch file
  3. prepared a BPMN file in camunda modeller
  4. Tried deploying BPMN file from camunda modeller
  5. The rest api path was given as mentioned above.
  6. The camunda modeller deploy window says “cannot connect to server. have you started the engine”.

Provide formatted log of stack trace.
Which api you’re trying to access?
rest API

Basic auth enabled?
am using default authentication - demo/demo in Camunda application.
In modeller, dint use any authentication

Application setup?
the sample tomcat zip file provided by camunda org

The windows defender security, has notified that it blocked some of the features of Java™ platform SE library.

I had allowed access to it .

This was the only change in my system which happened 2 days back ; which I assume from then on , the process engine is not detected.

Please suggest if you have any idea on this;
There were 3 network types mentioned in the defender namely - Domain, private and public.
Currently am in domain and public connection.

If anyone knows what setting is to be done on the defender security, please update on this.