I have brand portal set up which is working for a aem 6.2 instance.
I am doing an upgrade to AEM 6.4 and created a new JWT application in brand portal , used application id, public key to create brand portal cloud service configuration.
when I click test connection on brand portal replication agents in AEM , the following is the result with 401- failed.
I am really not sure what the issue is. I have redone the set up , replication agents several times.
Any help ? (Is multiple brand portal jwt applications allowed ??)
2018-11-28 13:41:11 - Create new HttpClient for garmindev MP Replication Agent3 Default
2018-11-28 13:41:11 - * HTTP Version: 1.1
2018-11-28 13:41:11 - * Using OAuth 2.0 Authorization Grants
2018-11-28 13:41:11 - * OAuth 2.0 User: mac-companyuser-replication
2018-11-28 13:41:11 - adding header: Action:Test
2018-11-28 13:41:11 - adding header: Path:/content
2018-11-28 13:41:11 - adding header: Handle:/content
2018-11-28 13:41:11 - deserialize content for delivery
2018-11-28 13:41:11 - No message body: Content ReplicationContent.VOID is empty
2018-11-28 13:41:11 - Sending POST request to https://company.brand-portal.adobe.com/bin/receive?sling:authRequestLogin=1
2018-11-28 13:41:12 - sent. Response: 401 Unauthorized
2018-11-28 13:41:12 - Replication (TEST) of /content not successful. Conversation follows
2018-11-28 13:41:12 - ------------------------------------------------
2018-11-28 13:41:12 - Sending message to garmindev.brand-portal.adobe.com:-1
2018-11-28 13:41:12 - >> POST /bin/receive HTTP/1.0
2018-11-28 13:41:12 - >> Action: Test
2018-11-28 13:41:12 - >> Path: /content
2018-11-28 13:41:12 - >> Handle: /content
2018-11-28 13:41:12 - >> Referer: about:blank
2018-11-28 13:41:12 - >> Content-Length: 0
2018-11-28 13:41:12 - >> Content-Type: application/octet-stream
2018-11-28 13:41:12 - --
2018-11-28 13:41:12 - << HTTP/1.1 401 Unauthorized
2018-11-28 13:41:12 - << Date: Wed, 28 Nov 2018 19:41:12 GMT
2018-11-28 13:41:12 - << Server: Apache
2018-11-28 13:41:12 - << WWW-Authenticate: Basic realm="Sling (Development)"
2018-11-28 13:41:12 - << X-Frame-Options: SAMEORIGIN
2018-11-28 13:41:12 - << X-XSS-Protection: 1; mode=block; report=https://service.brand-portal.adobe.com/security-bugs/log/mac
2018-11-28 13:41:12 - << Content-Security-Policy: default-src 'self' https://*.adobe.com https://*.adobe.io https://*.assetsadobe.com http://*.assetsadobe.com http://s7athens.macromedia.com:9090 http://*.macromedia.com https://*.connectme.us:43003; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.brand-portal.adobe.com https://brand-portal.adobe.com https://*.experiencecloud.adobe.com https://use.typekit.net https://*.tt.omtrdc.net https://*.services.adobe.com https://*.adobelogin.com https://*.adobemc.com https://*.scene7.com https://assets.adobedtm.com https://*.testandtarget.omniture.com https://*.demandbase.com https://*.guided.ss-omtrdc.net http://s7athens.macromedia.com:9090 http://*.macromedia.com https://*.cloudfront.net; style-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.brand-portal.adobe.com https://brand-portal.adobe.com https://*.experiencecloud.adobe.com https://use.typekit.net https://*.tt.omtrdc.net https://*.guided.ss-omtrdc.net https://*.scene7.com http://s7athens.macromedia.com:9090 http://*.macromedia.com; img-src * data: ; font-src * data: ; media-src 'self' https://*.assetsadobe.com/DMGateway/ blob: ; frame-src 'self' https://*.brand-portal.adobe.com https://*.experiencecloud.adobe.com https://*.services.adobe.com https://services.adobe.com https://*.omniture.com https://*.adobelogin.com http://s7athens.macromedia.com:9090 http://*.macromedia.com https://*.cloudfront.net; object-src 'self' https://*.scene7.com https://*.assetsadobe.com http://*.assetsadobe.com http://s7athens.macromedia.com:9090 http://*.macromedia.com; report-uri https://service.brand-portal.adobe.com/security-bugs/log/mac
2018-11-28 13:41:12 - << Timing-Allow-Origin: https://*.brand-portal.adobe.com/
2018-11-28 13:41:12 - << Set-Cookie: renderid=rend0; path=/;Secure
2018-11-28 13:41:12 - << Vary: User-Agent,Accept-Encoding
2018-11-28 13:41:12 - << Content-Length: 0
2018-11-28 13:41:12 - <<
2018-11-28 13:41:12 - Message sent.
2018-11-28 13:41:12 - ------------------------------------------------
2018-11-28 13:41:12 - Replication (TEST) of /content not successful.
Replication test failed
Unauthorized
Solved! Go to Solution.
Views
Replies
Total Likes
Delete existing Cloud Configuration for Brand Portal
Delete existing Replication Agents for Brand Portal
and one of the below two or both steps solves the issue
1. Delete the configuration entry responsible for "Adobe Granite Access Token provider" (factory).
2. Create and Delete configuration for Adobe Granite Replication Http Transport Handler (com.day.cq.replication.impl.transport.Http)
Finally reconfiguring the brand portal should work.
Views
Replies
Total Likes
Delete existing Cloud Configuration for Brand Portal
Delete existing Replication Agents for Brand Portal
and one of the below two or both steps solves the issue
1. Delete the configuration entry responsible for "Adobe Granite Access Token provider" (factory).
2. Create and Delete configuration for Adobe Granite Replication Http Transport Handler (com.day.cq.replication.impl.transport.Http)
Finally reconfiguring the brand portal should work.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies