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

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

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

Jump to solution

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 Solution

Accepted Solutions
Highlighted
Moderator
Moderator

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

Jump to solution

can you try to change it with :

http://192.168.122.238:3000/ecm

http://192.168.122.238:3000/bpm

View solution in original post

15 Replies
Highlighted
Moderator
Moderator

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

Jump to solution

Can you please confirm you are using the Enterprise version of the Process Services, not the Community one? The Community one won't login in any case.

Highlighted
Active Member II

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

Jump to solution

I using the Enterprise version of the Process Services with an established trial license for 30 days (as in step-by-step induction).

The image shows the software version and the license validity period.

Highlighted
Active Member II

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

Jump to solution

Is it really only my problem - at the beginning? ...

Highlighted
Moderator
Moderator

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

Jump to solution
Highlighted
Active Member II

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

Jump to solution

In fact, I tried all three strategies ... And still there is an error...( 

Highlighted
Moderator
Moderator

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

Jump to solution

what do you have in the settings page?

Can I see the configuration of your webpack.common.js proxy part?

Highlighted
Active Member II

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

Jump to solution
devServer: {
contentBase: helpers.root('dist'),
compress: true,
port: 3000,
historyApiFallback: true,
host: '0.0.0.0',
inline: true,
proxy: {
'/ecm': {
target: {
host: "0.0.0.0",
protocol: 'http:',
port: 8080
},
pathRewrite: {
'^/ecm': ''
}
},
'/bpm': {
target: {
host: "0.0.0.0",
protocol: 'http:',
port: 9999
},
pathRewrite: {
'^/bpm': ''
}
}
}
},‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Highlighted
Moderator
Moderator

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

Jump to solution

So from your first screenshot seems that you have the PS in a different domain and port that the one configured in the Proxy

Highlighted
Moderator
Moderator

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

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

should be something like that your conf for Process Service