Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Server author crashes #85

Closed
planetf1 opened this issue Feb 10, 2021 · 5 comments
Closed

Server author crashes #85

planetf1 opened this issue Feb 10, 2021 · 5 comments
Assignees
Labels
bug Something isn't working no-issue-activity

Comments

@planetf1
Copy link
Member

planetf1 commented Feb 10, 2021

The following exception is seen on console

{
  error: Error: self signed certificate
      at TLSSocket.onConnectSecure (node:_tls_wrap:1518:34)
      at TLSSocket.emit (node:events:378:20)
      at TLSSocket._finishInit (node:_tls_wrap:942:8)
      at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:716:12) {
    code: 'DEPTH_ZERO_SELF_SIGNED_CERT',
    config: {
      url: 'https://localhost:9444/open-metadata/platform-services/users/garygeeke/server-platform/servers',
      method: 'get',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: [Agent],
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [ClientRequest],
      _currentUrl: 'https://localhost:9444/open-metadata/platform-services/users/garygeeke/server-platform/servers',
      [Symbol(kCapture)]: false
    },
    response: undefined,
    isAxiosError: true,
    toJSON: [Function: toJSON]
  }
}
/Users/jonesn/IdeaProjects/egeria-react-ui/cra-server/node_modules/express/lib/response.js:1123
    : JSON.stringify(value);
           ^

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'httpsAgent' -> object with constructor 'Agent'
    |     property 'sockets' -> object with constructor 'Object'
    |     ...
    |     property 'errored' -> object with constructor 'Object'
    --- property 'config' closes the circle
    at JSON.stringify (<anonymous>)
    at stringify (/Users/jonesn/IdeaProjects/egeria-react-ui/cra-server/node_modules/express/lib/response.js:1123:12)
    at ServerResponse.json (/Users/jonesn/IdeaProjects/egeria-react-ui/cra-server/node_modules/express/lib/response.js:260:14)
    at ServerResponse.send (/Users/jonesn/IdeaProjects/egeria-react-ui/cra-server/node_modules/express/lib/response.js:158:21)
    at /Users/jonesn/IdeaProjects/egeria-react-ui/cra-server/router/routes.js:386:23
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
Proxy error: Could not proxy request /open-metadata/platform-services/users/garygeeke/server-platform/servers?tenantId=coco from localhost:3000 to https://localhost:8091.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET).

[nodemon] app crashed - waiting for file changes before starting...

At this point the UI is entirely unusable.

The root cause appears to be:

  error: Error: self signed certificate

This is likely due to incorrect/incomplete cert checking

I will check this with existing certs, and also after updating the base certs

@planetf1 planetf1 added the bug Something isn't working label Feb 10, 2021
@planetf1 planetf1 self-assigned this Feb 10, 2021
davidradl referenced this issue in davidradl/egeria-react-ui Mar 5, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 5, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 6, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 6, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 6, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 6, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 6, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
@planetf1 planetf1 assigned davidradl and unassigned planetf1 Mar 8, 2021
davidradl referenced this issue in davidradl/egeria-react-ui Mar 11, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 11, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl referenced this issue in davidradl/egeria-react-ui Mar 16, 2021
Signed-off-by: David Radley <david_radley@uk.ibm.com>
davidradl added a commit that referenced this issue Mar 16, 2021
#85 Initial version of Glossary Author explorer
@github-actions
Copy link

github-actions bot commented May 8, 2021

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

@planetf1 planetf1 changed the title Server author crashes in dev mode (self signed cert) Server author crashes May 28, 2021
@planetf1
Copy link
Member Author

This was also noted testing 2.10 - not just dev mode, but in k8s too

@planetf1 planetf1 mentioned this issue May 28, 2021
26 tasks
@github-actions
Copy link

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

@davidradl
Copy link
Member

#234 will fix this.

@github-actions
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants