cancel
Showing results for 
Search instead for 
Did you mean: 

activiti cloud quickstart dosen't work

fh1971
Champ in-the-making
Champ in-the-making

I did as activiti cloud quick start, the install works well, then I use postman to test the service, i can get the token , but when I  request any other url, I always get 404 error mesage, why?

I   install   it   in  a centos  virtual Machine, the host machine is windows 7,   I   use postman  in  windows ,  access the ip of the centos

1 ACCEPTED ANSWER

ryandawson
Elite Collaborator
Elite Collaborator

So you are using docker-compose and not kubernetes? I'd recommend looking at Getting Started - Activiti Cloud - Activiti & Activiti Cloud Developers Guide and activiti-cloud-charts/activiti-cloud-full-example at master · Activiti/activiti-cloud-charts · GitHu...  as the kubernetes example is more up-to-date. For the docker-compose there are instructions on an older tag of the repository - GitHub - Activiti/activiti-cloud-examples at 7-201712-EA  If you need to use the docker-compose then for now it's best to use that tag.

View answer in original post

3 REPLIES 3

ryandawson
Elite Collaborator
Elite Collaborator

I guess you are following activiti-cloud-charts/activiti-cloud-full-example at master · Activiti/activiti-cloud-charts · GitHu...  ?

Could you provide an example of a URL you are using that returns a 404 and the output of `kubectl get pods`?

fh1971
Champ in-the-making
Champ in-the-making

POST /rb-my-app/v1/process-instances HTTP/1.1
Host: 192.168.43.21:8080

{
"timestamp": "2018-11-29T15:33:30.594+0000",
"status": 404,
"error": "Not Found",
"message": "No message available",
"path": "/rb-my-app/v1/process-instances"
}

I  follow  Activiti/activiti-cloud-examples:

ryandawson
Elite Collaborator
Elite Collaborator

So you are using docker-compose and not kubernetes? I'd recommend looking at Getting Started - Activiti Cloud - Activiti & Activiti Cloud Developers Guide and activiti-cloud-charts/activiti-cloud-full-example at master · Activiti/activiti-cloud-charts · GitHu...  as the kubernetes example is more up-to-date. For the docker-compose there are instructions on an older tag of the repository - GitHub - Activiti/activiti-cloud-examples at 7-201712-EA  If you need to use the docker-compose then for now it's best to use that tag.