-
Notifications
You must be signed in to change notification settings - Fork 208
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
Cannot deliver "getBridge" to target. error from agoric start #6189
Comments
I'm struggling to find Agoric v 0.16.0 fdf6ea2 |
Thanks for your help! =) from the "agoric-sdk" directory the command from my "card-store" dapp directory the command returns |
I encountered the exact same error with master from 6th of September. Wallet app then hangs. |
Did you see any more stack trace around |
Aha. Something missed the RUN->IST memo:
(edited title to reflect partial diagnosis) |
Thanks for the follow up @vejmelkam and the support @dckc! We've got the LatAm University conference tomorrow. Will this be fixed before then? Or should we let them know we've identified a bug, are working hard on it, and should postpone until next week? I'd rather get ahead of it by telling them about the bug than letting them take the time for the session only to get derailed. Please advise. |
Perhaps you were using the beta version of the card store dapp? If so, this looks like the problem: const moneyIssuerP = E(home.agoricNames).lookup('issuer', 'RUN'); You might try the replacement in the main branch: const moneyIssuerP = E(home.agoricNames).lookup('issuer', 'IST'); or you might try the whole main branch. @samsiegart any recommendations? |
I don't think the error is dapp contract specific. I'm having the same difficulty while trying to spin up a generic "demo" dapp like the instructions at "Initialize |
Odd. We have robots that test those instructions on every change. By "same difficulty" you mean you're seeing p.s. let's avoid "here" links when writing hyperlinks. |
Good morning! We're seeing |
I don't seem to have enough info to reproduce those symptoms. I recorded myself starting fro zero up thru The recording captures the sdk version that I tried: 7165dea |
okay back up I'm sorry... two different issues and I crossed streams before breakfast this morning....
APOLOGIES! We're seeing "SES UNHANDLED REJECTION: (TypeError#1) Cannot deliver "getBridge" to target." in Terminal 1*. You and I @dckc saw this in my terminal together last Monday night. It's in your video at 6:23. That was the original bug described at the beginning of this thread. This issue is halting any interaction with my wallet for any other dapps like the faucet dapp. I could not reproduce "nameKey" on execution of |
tried again this morning with 2022-09-20T13:16:50.334Z outbound: invoking deliverator; 7 new messages for sim-chain
Deployed Wallet!
SES_UNHANDLED_REJECTION: (TypeError#1)
TypeError#1: Cannot deliver getBridge to target; typeof target is undefined
2022-09-20T13:16:50.518Z web: 127.0.0.1:54329[1]: client closed
2022-09-20T13:16:51.336Z fake-chain: delivering to sim-chain (trips=20)
2022-09-20T13:16:51.615Z outbound: invoking deliverator; 6 new messages for sim-chain |
yeah, without more of a stack trace, diagnosing that looks kinda challenging. |
So this is some odd terminal output that isn't to blame for my inability to interact with my wallet nor authorize any Dapp templates? Please advise thanks! =) |
some discord discussion cites d952e56 as causing problems with local development. Using the previous commit, fedf049 , might be a work-around here. Give it a try, @cboydstun ? |
no unfortunately that branch showed the same bug and similarly had issues with the wallet in the browser... @tgrecojs recommends dapp-fungible-faucet agoricxnet-7-19-gcb34f55da that i'll hunt for after some sleep 😴 |
Just to help out a bit - this is the message I see in the browser console, when using current master (914626ebb15de990d61bc1a2fe45e8c68c90b8a0). I did not investigate whether this is the source of the problem or not.
|
Also @cboydstun, if you need a commit version of master that has an operational wallet, use 3482e0d , that is:
I will likely be using this same commit at Cosmoverse in Medellin for the intro workshop. |
Thanks, @vejmelkam . For now, I made a community-dev branch pointed to 3482e0d from July 10. @cboydstun in the docs where we tell people to clone agoric-sdk, perhaps it should say |
thanks so much @vejmelkam!!! thanks for the branch, too, @dckc! =) I'd argue that we want the so called "community-dev branch" to be our main branch as we are the blockchain for builders. Adding complexity to the script will cause friction on installation for our newest of users. |
Sorry just catching up now, but yes we dropped ag-solo support for the wallet UI in d952e56 because smart wallet will be the main way users will interact with the chain in production. Ag-solo still has some use for development-related tasks but will possibly go away altogether. This shift to smart wallet is drastically different from a UX perspective, and also requires substantial code changes to the dapps. We just unfortunately haven't had the resources to work on anything beyond PSM/Inter Protocol at the moment. This has surely created a pain point for BLDers trying out the sample dapps, which we should fix, but was less critical than Inter Protocol since it's technically MN-2-related. In the meantime, a I think it should be a priority to make sure @cboydstun is not blocked, but that may involve just saying some things are broken at the moment and we have to fix them when we have the time. For card store, I may have forgot to merge a recent fix into the |
Now that we updated devnet to
p.s. REPL works but no purses displayThis is consistent with the original problem report above. (I haven't tried to do any API stuff.) |
Diagnosis: error initializing "cache coordinator" (benign)We don't seem to wait long enough for agoric-sdk/packages/agoric-cli/src/deploy.js Lines 301 to 302 in 65d3f14
stack trace using endo DEBUG options
|
The It seems to work for me now (65d3f14 , default dapp):
double-checked with card store dapp:
|
after some testing, |
Can't reproduce on master (as of 0cc126e). Closing. |
Describe the bug
An error appears when running
agoric start --reset --verbose
to launch my Ag Solo chain. I'm unable to interact with my Wallet nor deploy the API, but the REPL is responsive.To Reproduce
Steps to reproduce the behavior:
agoric init my-dapp; cd my-dapp
)agoric start --reset --verbose
.SES_UNHANDLED_REJECTION: (TypeError#1) TypeError#1: Cannot deliver getBridge to target; typeof target is undefined
Expected behavior
Expected to be able to interact with my wallet using the
agoric open
command. The browser does open tolocalhost:8000
but I'm unable to meaningfully interact with any of the elements.Platform Environment
Additional context
Working on deploying the card store dapp. The command
agoric deploy ./contract/deploy.js
works correctly and returnsSUCCESS! contract code installed on Zoe
. The commandagoric deploy ./api/deploy.js
fails with"nameKey" not found
.Output
terminalOutput_091322.pdf
The UI just spins out. Console output attached in pdf document.
The text was updated successfully, but these errors were encountered: