-
Notifications
You must be signed in to change notification settings - Fork 0
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
Could not detect network error when using litNodeClient.connect()
#17
Comments
Hi, I was trying with a simple next app, I pushed the code here https://github.com/kavukcutolga/lit-client-error-next. Try |
@kavukcutolga
I think this is an issue with the environment in which this is running presumably Vercel's serverless api runtime. The error seems to be coming from |
It's actually getting this issue in my laptop, not in vercel. I presume same should happen with you too. |
It seems this a known problem with ethers and next 14, there is a workaround available but needs to be fixed in lit SDK it seems. ethers-io/ethers.js#4469 (comment), does it look the same to you as well? They are also saying this is fixed with ethers V6, is lit SDK using v5 or V6. |
At this time we are still using ethers |
Digging into this issue thread it seems like we might be able to expose some configuration options for the |
That would be great, the problem with downgrading is I will have to upgrade it again. So it's a pain |
Hi any thoughts on exposing the configuration via sdk for v5 ? |
Hey @kavukcutolga! We have a patch for this in progress, and we’ll link the PR for this when it’s ready which should be in about 2 weeks - thank you for your patience! |
Hello, any updates on this? |
@kavukcutolga |
Is there an existing issue for this?
SDK version
This issue was originally reported in Discord
User used default installed version of SDK:
^5.0.0
and also tried4.2.1
Lit Network
habanero
andcayenne
Description of the bug/issue
Hi team, I am following the user guide https://developer.litprotocol.com/v3/sdk/wallets/quick-start. When I do below
I get following error.
Somehow the library sees noNetwork, any ideas what might be wrong ?
Other things I tried,
lit-node-client:4.2.1
but this this errorI cannot seem to find a way-out, any ideas ?
Severity of the bug
N/A
Steps To Reproduce
N/A
Link to code
I created a simple repo to try to reproduce, but wasn't able to
Anything else?
No response
The text was updated successfully, but these errors were encountered: