Git Product home page Git Product logo

Comments (6)

lpsinger avatar lpsinger commented on July 30, 2024 1

Any chance this is related, or is this expected behaviour?

No, that's not related. The Remix app server starts up faster than OpenSearch does; you'll get that error message if you navigate to a route that talks to OpenSearch before it is ready. It's unrelated and harmless.

from architect-plugin-search.

lpsinger avatar lpsinger commented on July 30, 2024

@Courey, I took the liberty of editing the stakeholders section.

from architect-plugin-search.

tylerbarna avatar tylerbarna commented on July 30, 2024

I've also noticed that at startup, an error is raised with the opensearch sandbox connection before the sandbox is able to start properly:

(base) tbarna@Desktop:~/gcn.nasa.gov$ npm run dev  
npm run dev

> dev
> run-p "dev:*"


> dev:remix
> remix dev --manual -c "arc sandbox -e testing --host localhost"


> dev:esbuild
> node esbuild.js --dev


> dev:sass
> sass --watch -Inode_modules/nasawds/src/theme -Inode_modules/@uswds -Inode_modules/@uswds/uswds/packages app:app

[watch] build finished, watching for changes...

 💿  remix dev

Sass is watching for changes. Press Ctrl-C to stop.

 info  building...
 info  built (5.3s)
         App ⌁ remix-gcn
      Region ⌁ us-east-1
     Profile ⌁ @aws profile / AWS_PROFILE not configured
     Version ⌁ Architect 10.16.3
         cwd ⌁ /home/tbarna/gcn.nasa.gov

✓ Sandbox @tables created in local database
✓ Sandbox @events and @queues ready on local event bus
✓ Found new functions to hydrate!
⚬ Hydrate Hydrating dependencies in 1 path
⦾ Hydrate Hydrating python/
environment variable ORIGIN must be set for production. Proceeding anyway since we are in development
environment variable ORIGIN must be set for production. Proceeding anyway since we are in development
environment variable SESSION_SECRET must be set for production. Proceeding anyway since we are in development
⦿ Hydrate Hydrating python/
environment variable ORIGIN must be set for production. Proceeding anyway since we are in development

environment variable ORIGIN must be set for production. Proceeding anyway since we are in development

environment variable SESSION_SECRET must be set for production. Proceeding anyway since we are in development

environment variable GITHUB_API_TOKEN must be set for production. Proceeding anyway since we are in development
⊙ Hydrate Hydrating python/
environment variable GITHUB_API_TOKEN must be set for production. Proceeding anyway since we are in development
⊙ Hydrate Hydrating python/
making up fake object size

making up fake object size

environment variable RECAPTCHA_SITE_KEY must be set for production. Proceeding anyway since we are in development

ConnectionError: connect ECONNREFUSED 127.0.0.1:9200
    at ClientRequest.onError (/home/tbarna/gcn.nasa.gov/node_modules/@opensearch-project/opensearch/lib/Connection.js:129:16)
    at ClientRequest.emit (node:events:518:28)
    at Socket.socketErrorListener (node:_http_client:495:9)
    at Socket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  meta: {
    body: null,
    statusCode: null,
    headers: null,
    meta: {
      context: null,
      request: [Object],
      name: 'opensearch-js',
      connection: [Object],
      attempts: 3,
      aborted: false
    }
  }
}

I've only included a snippet here so as to not leave an overly long comment, but this error is raised about 5 times before the sandbox connects.

Any chance this is related, or is this expected behaviour?

from architect-plugin-search.

lpsinger avatar lpsinger commented on July 30, 2024

We have a new lead to chase down: nasa-gcn/gcn.nasa.gov#2010.

from architect-plugin-search.

Courey avatar Courey commented on July 30, 2024

This ticket is blocked by nasa-gcn/gcn.nasa.gov#2010

from architect-plugin-search.

lpsinger avatar lpsinger commented on July 30, 2024

@Courey, would you please check if architect/sandbox#732 made a difference?

from architect-plugin-search.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.