Code Monkey home page Code Monkey logo

Comments (12)

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024 1

This is the ticket for the Guardian Load Error we are getting as per @sergmetelin . This is an issue on the Hedera side, so today 11/18 we will be discussing with Hedera. The test for this issue was prepared already.

from guardian.

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024 1

@voycey and @engineforce Good Morning Gentleman. We are checking on this and I will get back to you.

from guardian.

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024 1

@engineforce Glad you brought this up as we are working on this issue in this sprint now. I will update you this week. Cheers

from guardian.

voycey avatar voycey commented on July 17, 2024

To clarify - we can reproduce this by changing the clocks on the system, however our GKE cluster was running on UTC and we were seeing the same issue there. This was clearly related to daylight savings kicking in and gave us enough downtime to be noticeable here in Australia (where the effect is largest when EU / US clocks change).

from guardian.

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024

As per @Pyatakov We will wait for some time while working on getting the Guardian to load properly. ETA to close is Friday.

from guardian.

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024

@envisionblockchainpm We are unable to reproduce this issue. Please check this issue and we will reopen the ticket if not fixed.

from guardian.

blockchain-biopharma avatar blockchain-biopharma commented on July 17, 2024

@engineforce I'm the Project Manager for this issue and was wondering if you could check to see if this was fixed. Our Dev Team has mentioned this is now fixed. - Thanks in Advance!

from guardian.

engineforce avatar engineforce commented on July 17, 2024

Will check today

from guardian.

engineforce avatar engineforce commented on July 17, 2024

Hi @envisionblockchainpm,

Sorry I can still reproduce this today, by changing my clock to 1 hour before

guardian-service_1  | /usr/vc-modules/node_modules/@hashgraph/sdk/lib/PrecheckStatusError.cjs:23
guardian-service_1  |     super(props, `transaction ${props.transactionId.toString()} failed precheck with status ${props.status.toString()}`);
guardian-service_1  |     ^
guardian-service_1  |
guardian-service_1  | PrecheckStatusError: transaction [email protected] failed precheck with status TRANSACTION_EXPIRED
guardian-service_1  |     at new PrecheckStatusError (/usr/vc-modules/node_modules/@hashgraph/sdk/lib/PrecheckStatusError.cjs:23:5)
guardian-service_1  |     at TopicCreateTransaction._mapStatusError (/usr/vc-modules/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:944:12)
guardian-service_1  |     at TopicCreateTransaction.execute (/usr/vc-modules/node_modules/@hashgraph/sdk/lib/Executable.cjs:392:22)
guardian-service_1  |     at processTicksAndRejections (node:internal/process/task_queues:96:5) {
guardian-service_1  |   status: Status { _code: 4 },
guardian-service_1  |   transactionId: TransactionId {
guardian-service_1  |     accountId: AccountId {
guardian-service_1  |       shard: Long { low: 0, high: 0, unsigned: false },
guardian-service_1  |       realm: Long { low: 0, high: 0, unsigned: false },
guardian-service_1  |       num: Long { low: 2966684, high: 0, unsigned: false },
guardian-service_1  |       _checksum: null
guardian-service_1  |     },
guardian-service_1  |     validStart: Timestamp {
guardian-service_1  |       seconds: Long { low: 1638150893, high: 0, unsigned: false },
guardian-service_1  |       nanos: Long { low: 879241968, high: 0, unsigned: false }
guardian-service_1  |     },
guardian-service_1  |     scheduled: false
guardian-service_1  |   }
guardian-service_1  | }

Following are the steps:

  1. Make sure guardian-service/config.json only contains OPERATOR_ID and OPERATOR_KEY, no other properties, which force guardian service to generate other properties (e.g., ADDRESS_BOOK, VC_TOPIC_ID, and DID_TOPIC_ID)
  2. docker-compose down
  3. Change to clock to 1 hour before the current time (I am in Melbourne)
  4. docker-compose up --build
  5. Above error shows

from guardian.

voycey avatar voycey commented on July 17, 2024

Australia at the moment vs the US is a +16 hour difference to EST, a lot of libraries for some reason max out at 12 hours, this has been the cause of frustration to us in the past a lot as often when trying to calculate date deltas the maths doesn't work.

We are currently on Australian Eastern Daylight Time (GMT / UTC +11) in Melbourne

from guardian.

voycey avatar voycey commented on July 17, 2024

@envisionblockchainpm - any response on the above? We are in the process of implementing this and want to ensure next time the clocks change this doesnt fail as that will be right around the launch time with a big customer

from guardian.

engineforce avatar engineforce commented on July 17, 2024

@envisionblockchainpm This is happening again since 4pm Melbourne Time (2022-01-14) without modifying my system time.

Following are the logs from your latest main

docker-compose logs -f --timestamps guardian-service

Attaching to engineforce-guardian_guardian-service_1
guardian-service_1  | 2022-01-16T00:31:49.962813000Z
guardian-service_1  | 2022-01-16T00:31:49.962859300Z > [email protected] start
guardian-service_1  | 2022-01-16T00:31:49.962878700Z > node dist/index.js
guardian-service_1  | 2022-01-16T00:31:49.962898000Z
guardian-service_1  | 2022-01-16T00:31:52.593596300Z (node:19) Warning: Accessing non-existent property 'abort' of module exports inside circular dependency
guardian-service_1  | 2022-01-16T00:31:52.593648400Z (Use `node --trace-warnings ...` to show where the warning was created)
guardian-service_1  | 2022-01-16T00:32:52.704235500Z node:internal/process/promises:246
guardian-service_1  | 2022-01-16T00:32:52.704300000Z           triggerUncaughtException(err, true /* fromPromise */);
guardian-service_1  | 2022-01-16T00:32:52.704320900Z           ^
guardian-service_1  | 2022-01-16T00:32:52.704338200Z
guardian-service_1  | 2022-01-16T00:32:52.704355000Z [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Failed to create Address Book:
guardian-service_1  | 2022-01-16T00:32:52.704395900Z Transaction timeout exceeded".] {
guardian-service_1  | 2022-01-16T00:32:52.704416200Z   code: 'ERR_UNHANDLED_REJECTION'
guardian-service_1  | 2022-01-16T00:32:52.704433500Z }
engineforce-guardian_guardian-service_1 exited with code 1

from guardian.

Related Issues (20)

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.