cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco ADF app & Alfresco Process Services = "Request has been terminated..." error

varlok
Confirmed Champ
Confirmed Champ

Dear community.
For my application on ADF I use Alfres Cocommunity (latest) as the Content Services and Alfresco Process Services 1.5.2x as Process Services.

 Alfresco Process Services started on 8080 port,Alfresco Cocommunity  started on port 9080.
In my Alfresco ADF app I configure the relevant ports and address.
In the configurationAlfresco Process Services file "activiti-app.proportis"
added
"cors.enabled = true
security.csrf.disabled = true"
When I try to log in Alfresco ADF app I get an error message
"Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."


How I can fix this ERROR?

1 ACCEPTED ANSWER

can you try to change it with :

http://192.168.122.238:3000/ecm

http://192.168.122.238:3000/bpm

View answer in original post

15 REPLIES 15

devServer: {
contentBase: helpers.root('dist'),
compress: true,
port: 3000,
historyApiFallback: true,
host: '0.0.0.0',
inline: true,
proxy: {
'/ecm': {
target: {
host: "192.168.122.238",
protocol: 'http:',
port: 9080
},
pathRewrite: {
'^/ecm': ''
}
},
'/bpm': {
target: {
host: "192.168.122.238",
protocol: 'http:',
port: 8080
},
pathRewrite: {
'^/bpm': ''
}
}
}
},

I tried and so it's all the same error ...


I also tried the nginx configuration as in the example, but the result is the same error.

can I see what do you have in settings? the button on top right?

These settings were generated automatically when the ADF-application was created. They correspond to reality - at these addresses and ports are services.

can you try to change it with :

http://192.168.122.238:3000/ecm

http://192.168.122.238:3000/bpm

Thank you! It really worked!!

cool!