<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic APS Error connecting to Alfresco repository using Basic Authentication in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/aps-error-connecting-to-alfresco-repository-using-basic/m-p/40433#M16949</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am running a docker compose using APS 2.4 and ACS 7.3, and have setup a connector to the Alfresco repository in APS using basic authentication.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I go to configure an account using the admin credentials (or any other credentials) an error appears and on the backend the process container logs show:&lt;/P&gt;&lt;PRE&gt;com.fasterxml.jackson.core.JsonParseException: Unexpected character ('&amp;lt;' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
2023-11-02 12:41:34  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2418) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:749) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:673) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2784) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:907) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:793) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4761) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4667) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3666) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.activiti.alfrescoconnector.service.AlfrescoServicesImpl.readReponse(AlfrescoServicesImpl.java:215) ~[activiti-app-alfresco-cloud-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.alfrescoconnector.service.AlfrescoContentService.getAllSites(AlfrescoContentService.java:93) ~[activiti-app-alfresco-cloud-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.service.runtime.integration.alfresco.AlfrescoOnPremService.getAllSites(AlfrescoOnPremService.java:269) ~[activiti-app-logic-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource.getAllSites(AlfrescoOnPremResource.java:82) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource$$FastClassBySpringCGLIB$$94b7eb10.invoke(&amp;lt;generated&amp;gt;) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:48) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:34) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.AbstractMetricMethodInterceptor.invoke(AbstractMetricMethodInterceptor.java:59) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource$$EnhancerBySpringCGLIB$$35efe50c.getAllSites(&amp;lt;generated&amp;gt;) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]&lt;/PRE&gt;&lt;P&gt;Any suggestions on what could be going wrong would be great. It seems that the response back is HTML instead of the expected JSON.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 12:52:00 GMT</pubDate>
    <dc:creator>mattinpute</dc:creator>
    <dc:date>2023-11-02T12:52:00Z</dc:date>
    <item>
      <title>APS Error connecting to Alfresco repository using Basic Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aps-error-connecting-to-alfresco-repository-using-basic/m-p/40433#M16949</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am running a docker compose using APS 2.4 and ACS 7.3, and have setup a connector to the Alfresco repository in APS using basic authentication.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I go to configure an account using the admin credentials (or any other credentials) an error appears and on the backend the process container logs show:&lt;/P&gt;&lt;PRE&gt;com.fasterxml.jackson.core.JsonParseException: Unexpected character ('&amp;lt;' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
2023-11-02 12:41:34  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2418) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:749) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:673) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2784) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:907) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:793) ~[jackson-core-2.14.1.jar:2.14.1]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4761) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4667) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3666) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
2023-11-02 12:41:34     at com.activiti.alfrescoconnector.service.AlfrescoServicesImpl.readReponse(AlfrescoServicesImpl.java:215) ~[activiti-app-alfresco-cloud-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.alfrescoconnector.service.AlfrescoContentService.getAllSites(AlfrescoContentService.java:93) ~[activiti-app-alfresco-cloud-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.service.runtime.integration.alfresco.AlfrescoOnPremService.getAllSites(AlfrescoOnPremService.java:269) ~[activiti-app-logic-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource.getAllSites(AlfrescoOnPremResource.java:82) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource$$FastClassBySpringCGLIB$$94b7eb10.invoke(&amp;lt;generated&amp;gt;) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:48) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:34) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at com.ryantenney.metrics.spring.AbstractMetricMethodInterceptor.invoke(AbstractMetricMethodInterceptor.java:59) ~[metrics-spring-3.1.3.jar:na]
2023-11-02 12:41:34     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) ~[spring-aop-5.3.29.jar:5.3.29]
2023-11-02 12:41:34     at com.activiti.rest.runtime.integration.AlfrescoOnPremResource$$EnhancerBySpringCGLIB$$35efe50c.getAllSites(&amp;lt;generated&amp;gt;) ~[activiti-app-rest-2.4.1.2.jar:2.4.1.2]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
2023-11-02 12:41:34     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]&lt;/PRE&gt;&lt;P&gt;Any suggestions on what could be going wrong would be great. It seems that the response back is HTML instead of the expected JSON.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 12:52:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aps-error-connecting-to-alfresco-repository-using-basic/m-p/40433#M16949</guid>
      <dc:creator>mattinpute</dc:creator>
      <dc:date>2023-11-02T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: APS Error connecting to Alfresco repository using Basic Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aps-error-connecting-to-alfresco-repository-using-basic/m-p/40434#M16950</link>
      <description>&lt;P&gt;Turns out I was using the wrong URLs in the Alfresco respository configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot that when using docker containers you can't reach other containers using localhost, instead you need a fixed address like your local IP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I just changed the endpoint addresses in the configuration from localhost to my local IP and worked fine after that.&lt;/P&gt;&lt;P&gt;Stupid, but easy mistake to make &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 10:00:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aps-error-connecting-to-alfresco-repository-using-basic/m-p/40434#M16950</guid>
      <dc:creator>mattinpute</dc:creator>
      <dc:date>2023-11-15T10:00:47Z</dc:date>
    </item>
  </channel>
</rss>

