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

Several prod FE error logs #1754

Open
FlacoJones opened this issue Apr 5, 2023 · 2 comments
Open

Several prod FE error logs #1754

FlacoJones opened this issue Apr 5, 2023 · 2 comments
Assignees

Comments

@FlacoJones
Copy link
Collaborator

FlacoJones commented Apr 5, 2023

These are some error logs with line identifiers from the past day in prod - any ideas on what might be causing them, if they're serious or not, and how we can address them?

id: UnexpectedError.js2, message: Unexpected token U in JSON at position 0, date: Tue Apr 04 2023 21:48:51 GMT+0000 (Coordinated Universal Time), userAddress: undefined
id: [address.js]3, message: invalid address (argument="address", value="undefined", code=INVALID_ARGUMENT, version=address/5.7.0), date: Wed Apr 05 2023 05:21:58 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]4, message: Could not resolve to a node with the global id of 'mdu6sxnzdwu2odixmdu1mze=', date: Wed Apr 05 2023 05:21:58 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: undefined., date: Wed Apr 05 2023 05:21:58 GMT+0000 (Coordinated Universal Time), userAddress: null
undefined error
id: [address.js]3, message: invalid address (argument="address", value="undefined", code=INVALID_ARGUMENT, version=address/5.7.0), date: Wed Apr 05 2023 06:15:15 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]4, message: Could not resolve to a node with the global id of 'mdu6sxnzdwu2odixmdu1mze=', date: Wed Apr 05 2023 06:15:15 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: undefined., date: Wed Apr 05 2023 06:15:15 GMT+0000 (Coordinated Universal Time), userAddress: null
undefined error
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /app/.env
undefined error
id: UnexpectedError.js2, message: Unexpected token U in JSON at position 0, date: Tue Apr 04 2023 20:53:34 GMT+0000 (Coordinated Universal Time), userAddress: undefined
id: [address.js]3, message: invalid address (argument="address", value="[object Object]", code=INVALID_ARGUMENT, version=address/5.7.0), date: Tue Apr 04 2023 21:28:47 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: [object Object]., date: Tue Apr 04 2023 21:28:47 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]3, message: invalid address (argument="address", value="[object Object]", code=INVALID_ARGUMENT, version=address/5.7.0), date: Tue Apr 04 2023 21:28:53 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: [object Object]., date: Tue Apr 04 2023 21:28:53 GMT+0000 (Coordinated Universal Time), userAddress: null
undefined error
undefined error
id: UnexpectedError.js2, message: Unexpected token U in JSON at position 0, date: Tue Apr 04 2023 21:48:35 GMT+0000 (Coordinated Universal Time), userAddress: undefined
id: [address.js]6, message: OpenQ could not find a contract with address: 0xc450b7d396e53f2f64b77b0598624b010368157f., date: Wed Apr 05 2023 02:22:46 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]3, message: invalid address (argument="address", value="[object Object]", code=INVALID_ARGUMENT, version=address/5.7.0), date: Tue Apr 04 2023 21:29:25 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: [object Object]., date: Tue Apr 04 2023 21:29:25 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]3, message: invalid address (argument="address", value="undefined", code=INVALID_ARGUMENT, version=address/5.7.0), date: Tue Apr 04 2023 22:18:28 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: undefined., date: Tue Apr 04 2023 22:18:29 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]3, message: invalid address (argument="address", value="undefined", code=INVALID_ARGUMENT, version=address/5.7.0), date: Wed Apr 05 2023 04:28:45 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]4, message: Could not resolve to a node with the global id of 'mdu6sxnzdwu2odixmdu1mze=', date: Wed Apr 05 2023 04:28:45 GMT+0000 (Coordinated Universal Time), userAddress: null
id: [address.js]6, message: OpenQ could not find a contract with address: undefined., date: Wed Apr 05 2023 04:28:45 GMT+0000 (Coordinated Universal Time), userAddress: null
undefined error
@ArcAnya
Copy link
Collaborator

ArcAnya commented Apr 5, 2023

Most of them, [address.js]3, 4 or 6 come from getServerSideProps of the contract page - would seem to me that there were hiccups when getting the data (3: get bounty from API, 4: fetching issue from Github and 6: getting a bounty from subgraph)

Was able to reproduce part of these locally by just entering a wrong bountyId and address in the link for the contract - so part of it could have been just accidentally deleting a character from the contract link when moving between bounties:
image

Specifically on the prod messages:

One of the messages says "OpenQ could not find a contract with address: 0xc450b7d396e53f2f64b77b0598624b010368157f" and indeed, when checking the graph it seems like this bounty is non-existent... does it exist in our database? (unsure how to check this on staging or prod)

The other message with the id of "mdu6sxnzdwu2odixmdu1mze=": it seems the code was trying to fetch an issue by that id, but there is no issue with that id to be found on GitHhub

But maybe in both cases there might be a close enough id / address?

@Christopher-Stevers
Copy link
Collaborator

Christopher-Stevers commented Apr 6, 2023

One of the messages says "OpenQ could not find a contract with address: 0xc450b7d396e53f2f64b77b0598624b010368157f" and indeed, when checking the graph it seems like this bounty is non-existent... does it exist in our database? (unsure how to check this on staging or prod)

No it doesn't exist in our db, its the one that was up there before Eth Denver. I'll try to complete it for them over the weekend and, if possible get them to mint a new contract, then blacklist the old one in the api.

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

3 participants