Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faucets crash often #438

Open
mutantcornholio opened this issue Sep 10, 2024 · 0 comments
Open

Faucets crash often #438

mutantcornholio opened this issue Sep 10, 2024 · 0 comments
Assignees

Comments

@mutantcornholio
Copy link
Contributor

mutantcornholio commented Sep 10, 2024

errors mostly look like

/faucet/node_modules/@polkadot-api/substrate-client/dist/index.js:505
        return error ? cb.onError(new RpcError(error)) : cb.onSuccess(result, (opaqueId, subscriber) => {
                                  ^
RpcError: Internal error
    at onMessage (/faucet/node_modules/@polkadot-api/substrate-client/dist/index.js:505:35)
    at /faucet/node_modules/@polkadot-api/json-rpc-provider-proxy/dist/index.js:145:7
    at Array.forEach (<anonymous>)
    at onHalt (/faucet/node_modules/@polkadot-api/json-rpc-provider-proxy/dist/index.js:144:26)
    at /faucet/node_modules/@polkadot-api/json-rpc-provider-proxy/dist/index.js:195:101 {
  code: -32603,
  data: undefined
}
Node.js v22.6.0

here's the uptime log
Screen Shot 2024-09-10 at 16 51 49

polkadot-api/polkadot-api#710
polkadot-api/polkadot-api#713

@mutantcornholio mutantcornholio self-assigned this Sep 10, 2024
mutantcornholio added a commit that referenced this issue Sep 12, 2024
This should fix `TypeError: Cannot read properties of undefined (reading
'number')` crashes.
See polkadot-api/polkadot-api#710

Related to #438, but isn't the only reason for crashes
mutantcornholio added a commit that referenced this issue Sep 13, 2024
This should fix `TypeError: Cannot read properties of undefined (reading
'number')` crashes.
See polkadot-api/polkadot-api#710

Related to #438, but isn't the only reason for crashes
mutantcornholio added a commit that referenced this issue Sep 13, 2024
Unfortunately, the crashes from #438 do not reproduce locally, and papi
team desperately needs more logs in order to get to the bottom of this.
My plan is not to merge this change, but deploy it directly through a
tag with prefix, and roll everything back after getting the logs
mutantcornholio added a commit that referenced this issue Sep 20, 2024
[This change](polkadot-api/polkadot-api#723)
is aimed to fix faucet crashes.
Related to #438
mutantcornholio added a commit that referenced this issue Sep 20, 2024
[This change](polkadot-api/polkadot-api#723)
is aimed to fix faucet crashes.
Related to #438
mutantcornholio added a commit that referenced this issue Oct 16, 2024
yet another upgrade, promising to fix the crashes:
#438
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant