Getting 500 error on documents API

This error started randomly, when we strated updating docs via api

{"errors":["The service is in read-only mode. Actions that create, update, or delete information are temporarily disabled."]}

Search is working fine though. Also, the dashboard is displaying 500 error message.

Woah, that's odd. Sounds like read-only mode is enabled, but you typically have to enable that explicitly. For instructions on disabling read-only mode, see these instructions: https://swiftype.com/documentation/app-search/self-managed/read-only-mode

@JasonStoltz Hey, Thanks for the quick reply. I tried the read-only status it's already disabled.

And you're still seeing that read-only error message?

yes, here is what i get from logs:

    [2020-04-27T15:51:18.538+00:00][1642][2302][app-server][ERROR]: [a744d900-8483-408b-bedf-8e19a6c18e63] ["The service is in read-only mode. Actions that create, update, or delete information are temporarily disabled."]

    [2020-04-27T15:51:18.548+00:00][1642][2302][action_controller][INFO]: [a744d900-8483-408b-bedf-8e19a6c18e63] Completed 503 Service Unavailable in 96ms (Views: 0.7ms)

after i run api call to get status on readonly mode 

][1642][2272][app-server][INFO]: Done running task: KeepFilebeatAlive
[2020-04-27T15:56:05.288+00:00][1642][2332][app-server][INFO]: [71dcf9e6-6440-4225-9abe-e325dd4abf2b] Started GET "/api/as/v1/internal/read_only_mode" for 49.37.201.236
 at 2020-04-27 15:56:05 +0000
[2020-04-27T15:56:05.295+00:00][1642][2332][action_controller][INFO]: [71dcf9e6-6440-4225-9abe-e325dd4abf2b] Processing by LocoTogo::Api::LocoMoco::V1::Internal::ReadOn
lyModeController#show as */*
[2020-04-27T15:56:05.348+00:00][1642][2332][action_controller][INFO]: [71dcf9e6-6440-4225-9abe-e325dd4abf2b] Completed 200 OK in 52ms (Views: 0.9ms)

Is this your version? 7.6.2? Help setting up App-search using Docker with xpack enabled - Error can't connect to elastic backend

See if you can run the PUT to explicitly disable read-only mode and see if that gets things back in order: https://swiftype.com/documentation/app-search/self-managed/read-only-mode

Not working i tired , its 7.6.0

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.