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
[2.0.7] Bug: Unable to fetch account data on localhost:3999 #1087
Comments
It appears to be attempting (and failing) to connect to a localhost instead of mainnet or testnet. Is that intentional or do you want to switch to another network with the menu in the top-right corner? |
I believe this is intentional, from this:
We should test and confirm if connecting to a localnet works. |
@markmhx yes - to clarify: I am trying to connect to my localhost (i.e. my local mocknet). It does not work in the popup (when you click the icon in the top right), but it works when I open a tab manually and paste the URL (which is chrome-extension://gogakmahkgmhmmbhncacdhhbijmhcdod/full-page.html#/ for me). Not sure if this is a problem on my end, or a bug in the last release (2.0.7). Never had this before with previous releases. |
and connecting to mainnet & testnet works fine fyi |
@markmhx @aulneau to illustrate with a gif: |
I bet it has to do with some permissions we changed for the CSP, I can play around and do some testing. I wonder what @kyranjamie and @hstove think |
To test, remove CSP for development. Would recommend separate html for development/prod if rules need to be loosened in dev. |
Hi Team, same issue here - @kyranjamie would you be able to explain how to remove CSP for development? Note. I'm using |
Closing for lack of activity. Please reopen as needed. |
Since this morning, the Stacks Web Wallet Extension shows me the following:
When I go to the wallet straight in a tab (e.g. chrome-extension://gogakmahkgmhmmbhncacdhhbijmhcdod/full-page.html#/), it works and connects to my localnet. I tried reinstalling the extension, but to no avail.
When I go look in the error log, I see the following (not sure if this is the actual error tho!)
Error
Loadable:
api.account-data
Message:
Unable to fetch account data from http://localhost:3999
Environment
Version:
2.0.7
Branch:
main
Commit:
485eea0
The text was updated successfully, but these errors were encountered: