REST-interface returns nothing after Postgres Password Change
unfortunately I had to change the password of the user that SOS uses to connect to the Postgres 9.5 db. I simultaneously changed the password in the admin interface in SOS v.4.3.8. I tried to access REST-interface then, but Tomcat threw an error so I restarted the instance. Requests using the SOS OGC interface are working well, nevertheless the REST interface still returns an empty list.
Re: REST-interface returns nothing after Postgres Password Change
I have checked your provided logfile but I can not find any hints why
the REST interface returns an empty list.
But there are several exception log statements regarding your
InsertObservation requests and the observations are not inserted into
The OM_Observation in your InsertObservation requests contains a
gml:identifier which should be unique for each inserted OM_Observation
because the gml:identifier can be used for querying GetObservationById.
If the gml:identifier is not required, you can omit this
Back to the REST interface.
Which REST request returns an empty list?
The getData request?
If you have not defined a timespan query parameter, the REST interface
return the data from the last seven days. If there are no data in the
database which are in this time period, an empty list is returned.