[GH-ISSUE #268] Getting lots of the following 2 errors running docker-compose build #256

Closed
opened 2026-02-27 15:55:51 +03:00 by kerem · 12 comments
Owner

Originally created by @AYapejian on GitHub (Oct 12, 2019).
Original GitHub issue: https://github.com/RD17/ambar/issues/268

Running latest off master I see lots of index_not_found errors. At what point and whose responsibility is it to post the index to es?

serviceapi_1    | { Error: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" }
serviceapi_1    |     at respond (/node_modules/elasticsearch/src/lib/transport.js:289:15)
serviceapi_1    |     at checkRespForFailure (/node_modules/elasticsearch/src/lib/transport.js:248:7)
serviceapi_1    |     at HttpConnector.<anonymous> (/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
serviceapi_1    |     at IncomingMessage.wrapper (/node_modules/lodash/lodash.js:4929:19)
serviceapi_1    |     at emitNone (events.js:111:20)
serviceapi_1    |     at IncomingMessage.emit (events.js:208:7)
serviceapi_1    |     at endReadableNT (_stream_readable.js:1064:12)
serviceapi_1    |     at _combinedTickCallback (internal/process/next_tick.js:138:11)
serviceapi_1    |     at process._tickCallback (internal/process/next_tick.js:180:9)
serviceapi_1    |   status: 404,
serviceapi_1    |   displayName: 'NotFound',
serviceapi_1    |   message: '[index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" }',
serviceapi_1    |   path: '/ambar_file_data/ambar_file/_search',
serviceapi_1    |   query: { _source: 'false' },
serviceapi_1    |   body:
serviceapi_1    |    { error:
serviceapi_1    |       { root_cause: [Array],
serviceapi_1    |         type: 'index_not_found_exception',
serviceapi_1    |         reason: 'no such index',
serviceapi_1    |         'resource.type': 'index_or_alias',
serviceapi_1    |         'resource.id': 'ambar_file_data',
serviceapi_1    |         index_uuid: '_na_',
serviceapi_1    |         index: 'ambar_file_data' },
serviceapi_1    |      status: 404 },
serviceapi_1    |   statusCode: 404,
serviceapi_1    |   response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"ambar_file_data","index_uuid":"_na_","index":"ambar_file_data"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"ambar_file_data","index_uuid":"_na_","index":"ambar_file_data"},"status":404}',
serviceapi_1    |   toString: [Function],
serviceapi_1    |   toJSON: [Function] }
Originally created by @AYapejian on GitHub (Oct 12, 2019). Original GitHub issue: https://github.com/RD17/ambar/issues/268 Running latest off master I see lots of `index_not_found` errors. At what point and whose responsibility is it to post the index to es? ``` serviceapi_1 | { Error: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" } serviceapi_1 | at respond (/node_modules/elasticsearch/src/lib/transport.js:289:15) serviceapi_1 | at checkRespForFailure (/node_modules/elasticsearch/src/lib/transport.js:248:7) serviceapi_1 | at HttpConnector.<anonymous> (/node_modules/elasticsearch/src/lib/connectors/http.js:164:7) serviceapi_1 | at IncomingMessage.wrapper (/node_modules/lodash/lodash.js:4929:19) serviceapi_1 | at emitNone (events.js:111:20) serviceapi_1 | at IncomingMessage.emit (events.js:208:7) serviceapi_1 | at endReadableNT (_stream_readable.js:1064:12) serviceapi_1 | at _combinedTickCallback (internal/process/next_tick.js:138:11) serviceapi_1 | at process._tickCallback (internal/process/next_tick.js:180:9) serviceapi_1 | status: 404, serviceapi_1 | displayName: 'NotFound', serviceapi_1 | message: '[index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" }', serviceapi_1 | path: '/ambar_file_data/ambar_file/_search', serviceapi_1 | query: { _source: 'false' }, serviceapi_1 | body: serviceapi_1 | { error: serviceapi_1 | { root_cause: [Array], serviceapi_1 | type: 'index_not_found_exception', serviceapi_1 | reason: 'no such index', serviceapi_1 | 'resource.type': 'index_or_alias', serviceapi_1 | 'resource.id': 'ambar_file_data', serviceapi_1 | index_uuid: '_na_', serviceapi_1 | index: 'ambar_file_data' }, serviceapi_1 | status: 404 }, serviceapi_1 | statusCode: 404, serviceapi_1 | response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"ambar_file_data","index_uuid":"_na_","index":"ambar_file_data"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"ambar_file_data","index_uuid":"_na_","index":"ambar_file_data"},"status":404}', serviceapi_1 | toString: [Function], serviceapi_1 | toJSON: [Function] } ```
kerem 2026-02-27 15:55:51 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@AYapejian commented on GitHub (Oct 16, 2019):

So I found that [index_not_found_expcetion] occurs when you don't have a valid langAnalyzer value set in the environment. I mistakenly had en instead of ambar_en so that gets around the the index issue. However now I've built on 2 different systems and everything launches just fine however there are http connection errors ( I don't have that exact message handy I'll have to get it if anyone ever responds to these issues )... at this point I'm not even sure the project is active and have spent quite a bit of time trying to get things running. I'll wait for a response before I dig in further.

<!-- gh-comment-id:542491147 --> @AYapejian commented on GitHub (Oct 16, 2019): So I found that `[index_not_found_expcetion]` occurs when you don't have a valid `langAnalyzer` value set in the environment. I mistakenly had `en` instead of `ambar_en` so that gets around the the index issue. However now I've built on 2 different systems and everything launches just fine however there are http connection errors ( I don't have that exact message handy I'll have to get it if anyone ever responds to these issues )... at this point I'm not even sure the project is active and have spent quite a bit of time trying to get things running. I'll wait for a response before I dig in further.
Author
Owner

@loic49 commented on GitHub (Oct 21, 2019):

I've got the same problem after uploading my first document I have [index_not_found_exception] error, here it is :

2019-10-21 20:37:07.862: [webapi] [error] [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" } Error: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" } at respond (/node_modules/elasticsearch/src/lib/transport.js:289:15) at checkRespForFailure (/node_modules/elasticsearch/src/lib/transport.js:248:7) at HttpConnector.<anonymous> (/node_modules/elasticsearch/src/lib/connectors/http.js:164:7) at IncomingMessage.wrapper (/node_modules/lodash/lodash.js:4929:19) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

In my docker-compose, here my environments variables for serviceapi :
environment:
- mongoDbUrl=mongodb://db:27017/ambar_data
- elasticSearchUrl=http://es:9200
- redisHost=redis
- redisPort=6379
- rabbitHost=amqp://rabbit
- langAnalyzer=ambar_en
- SLAO_HOSTNAME=ambar

Can't find what's wrong with my config. I send you 50$ for prebuild docker image (can't wait to receive my login so I build my own docker image from your source on github), hope you can help me.

Best regards

<!-- gh-comment-id:544701577 --> @loic49 commented on GitHub (Oct 21, 2019): I've got the same problem after uploading my first document I have `[index_not_found_exception]` error, here it is : `2019-10-21 20:37:07.862: [webapi] [error] [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" } Error: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="ambar_file_data" & index_uuid="_na_" & index="ambar_file_data" } at respond (/node_modules/elasticsearch/src/lib/transport.js:289:15) at checkRespForFailure (/node_modules/elasticsearch/src/lib/transport.js:248:7) at HttpConnector.<anonymous> (/node_modules/elasticsearch/src/lib/connectors/http.js:164:7) at IncomingMessage.wrapper (/node_modules/lodash/lodash.js:4929:19) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)` In my docker-compose, here my environments variables for serviceapi : environment: - mongoDbUrl=mongodb://db:27017/ambar_data - elasticSearchUrl=http://es:9200 - redisHost=redis - redisPort=6379 - rabbitHost=amqp://rabbit - langAnalyzer=ambar_en - SLAO_HOSTNAME=ambar Can't find what's wrong with my config. I send you 50$ for prebuild docker image (can't wait to receive my login so I build my own docker image from your source on github), hope you can help me. Best regards
Author
Owner

@loic49 commented on GitHub (Oct 23, 2019):

36 hours after my payment (50$) I didn't receive anything, no response for my last question, project is dead ?

<!-- gh-comment-id:545272629 --> @loic49 commented on GitHub (Oct 23, 2019): 36 hours after my payment (50$) I didn't receive anything, no response for my last question, project is dead ?
Author
Owner

@sochix commented on GitHub (Oct 23, 2019):

Hello, please send your email address to hello@ambar.cloud. Email that
linked to your PayPal account is not working.

ср, 23 окт. 2019 г. в 08:26, loic49 notifications@github.com:

36 hours after my payment (50$) I didn't receive anything, no response for
my last question, project is dead ?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RD17/ambar/issues/268?email_source=notifications&email_token=AALX4YU5HA7R4PDJUOOTFH3QP7N6PA5CNFSM4JAA7H2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECADGNI#issuecomment-545272629,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALX4YUF7DPKEFGS4VGM4GLQP7N6PANCNFSM4JAA7H2A
.

<!-- gh-comment-id:545276934 --> @sochix commented on GitHub (Oct 23, 2019): Hello, please send your email address to hello@ambar.cloud. Email that linked to your PayPal account is not working. ср, 23 окт. 2019 г. в 08:26, loic49 <notifications@github.com>: > 36 hours after my payment (50$) I didn't receive anything, no response for > my last question, project is dead ? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/RD17/ambar/issues/268?email_source=notifications&email_token=AALX4YU5HA7R4PDJUOOTFH3QP7N6PA5CNFSM4JAA7H2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECADGNI#issuecomment-545272629>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AALX4YUF7DPKEFGS4VGM4GLQP7N6PANCNFSM4JAA7H2A> > . >
Author
Owner

@loic49 commented on GitHub (Oct 24, 2019):

I send you a message on your email (hello@ambar.cloud) 13 hours ago, but no response, is it normal ?

<!-- gh-comment-id:545832695 --> @loic49 commented on GitHub (Oct 24, 2019): I send you a message on your email (hello@ambar.cloud) 13 hours ago, but no response, is it normal ?
Author
Owner

@sochix commented on GitHub (Oct 24, 2019):

@isido993 can't send you a message. Got following error:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

loic.a***********@cegetel.****
host smtp-in.sfr.fr [93.17.128.123]
SMTP error from remote mail server after end of data:
550 5.7.1 SPF permanent error:
Reporting-MTA: dns; in02.relay.hosting.nic.ru

Action: failed
Final-Recipient: rfc822;loic.**@cegetel.
Status: 5.0.0
Remote-MTA: dns; smtp-in.sfr.fr
Diagnostic-Code: smtp; 550 5.7.1 SPF permanent error:

<!-- gh-comment-id:545867111 --> @sochix commented on GitHub (Oct 24, 2019): @isido993 can't send you a message. Got following error: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: loic.a***********@cegetel.**** host smtp-in.sfr.fr [93.17.128.123] SMTP error from remote mail server after end of data: 550 5.7.1 SPF permanent error: Reporting-MTA: dns; in02.relay.hosting.nic.ru Action: failed Final-Recipient: rfc822;loic.*****@cegetel.*** Status: 5.0.0 Remote-MTA: dns; smtp-in.sfr.fr Diagnostic-Code: smtp; 550 5.7.1 SPF permanent error:
Author
Owner

@sochix commented on GitHub (Oct 24, 2019):

@loic49 maybe you can provide another email address?

<!-- gh-comment-id:545868525 --> @sochix commented on GitHub (Oct 24, 2019): @loic49 maybe you can provide another email address?
Author
Owner

@loic49 commented on GitHub (Oct 24, 2019):

New message send with loic.a*******@la****.in****, do you received ?

<!-- gh-comment-id:546048853 --> @loic49 commented on GitHub (Oct 24, 2019): New message send with loic.a*******@la****.in****, do you received ?
Author
Owner

@sochix commented on GitHub (Oct 25, 2019):

@loic49 received!

<!-- gh-comment-id:546236120 --> @sochix commented on GitHub (Oct 25, 2019): @loic49 received!
Author
Owner

@AYapejian commented on GitHub (Oct 27, 2019):

So is there only support for those who pay for an image vs. those of us that build our own? Why not just discuss the problem in the issue thread?

<!-- gh-comment-id:546661396 --> @AYapejian commented on GitHub (Oct 27, 2019): So is there only support for those who pay for an image vs. those of us that build our own? Why not just discuss the problem in the issue thread?
Author
Owner

@stale[bot] commented on GitHub (Nov 11, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:552291101 --> @stale[bot] commented on GitHub (Nov 11, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@allsolovey commented on GitHub (Jun 17, 2021):

How to solve this problem?

<!-- gh-comment-id:863319019 --> @allsolovey commented on GitHub (Jun 17, 2021): How to solve this problem?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#256
No description provided.