Julian Lyndon-Smith (whoGloo Limited) asked a question.

Getting error trying to use the autonomous rest connector

When I create a data source using an ARC and try to add an endpoint I get this error

 

  1. An error occurred when sampling data from the REST service. Verify that a valid endpoint is specified.
  2. If the problem persists, refer to the Progress Community website.
  3. [DataDirect][AutoREST JDBC Driver][AutoREST]I/O Error com.ddcloudop.jdbc.autorest.util.aj: Error establishing socket to host and port: api.spacexdata.com:443.
  4. Reason: Cannot recover key Caused...

now, as it specifically tells me to ask the Progress Community, I am doing so ;)

 

The config is a service running in docker, using an external database (postgres)

 

in the logs/das folder there is a file called "[system][d2cadmin][autonomous rest connector][spacex].2024-01-26.log" with some errors but doesn't make sense to me ;

 

[message=Missing or invalid table definitions in config file]

26-Jan-2024 13:05:44.223 CONFIG [pool-DASCommon-1] [system][d2cadmin][autonomous rest connector][spacex][d2cadmin][oKVYyPNs1lN2ROcH].[OData4 model creation worker] connection[success=false]Data Source{[Name=spacex][D2C User=d2cadmin][Data Source User=null][URL=jdbc:ddcloudop:autorest:][Logging Level=CONFIG][Log Privacy=ALLOWNONE]Properties{[Config=data:application/json,][ResultMemorySize=10][clientTimezone=GMT][enableCancelTimeout=true][disableFeatures=31][HealthUri=d2cadmin][doCleanUpDuringFinalization=false][persistenceid=1][connectionRetryCount=0][ServerName= https://api.spacexdata.com/v4/]}}

26-Jan-2024 13:05:44.223 INFO [pool-DASCommon-1] [system][d2cadmin][autonomous rest connector][spacex][d2cadmin][oKVYyPNs1lN2ROcH].[OData4 model creation worker] OData Model creation error

 com.ddtek.cloudservice.servlets.i: Missing or invalid table definitions in config file

    at com.ddtek.cloudservice.servlets.ErrorManager.a(SourceFile:1575)

    at com.ddtek.cloudservice.servlets.x.a(SourceFile:1230)

    at com.ddtek.cloudservice.servlets.cw.a(SourceFile:602)

    at com.ddtek.cloudservice.odata.model.n.run(SourceFile:156)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    at java.lang.Thread.run(Thread.java:748)

 

would appreciate any help or insights !