-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve error resolving Fission server DID message #131
Comments
Hi @youk 👋 . Thanks for opening the issue. This is an issue for the ODD SDK. Would you mind opening an issue over here: https://github.com/oddsdk/ts-odd. As a quick note, I think I've seen this error, but only at one specific coffee shop in a town nearby me. My theory is they have some router configuration that prevents these DNS lookups. It might be worth trying at another location to narrow down possible causes. |
Thanks for your reply, I'll go there. As for the issue itself, the browser clearly complains about CORS violation. I don't quite understand how changing DNS configuration should help. Unless those queries are only made as fallback option. |
Browsers sometimes complain about CORS issues when root cause is something else.
This lookup is an essential part of the ODD SDK. We use it to look up the DID of the Fission server. It can be seen in action here: https://dnsrecords.io/_did.runfission.com. We are making the query from JavaScript using DNS over HTTPS, instead of the browser resolving a DNS record. This approach is newer, and that along with only experiencing this error in certain locations makes me suspicious of a router configuration. Could be something else though! I haven't investigated it enough to say. |
Thank you for the explanation. It was a misleading error message from the browser indeed. The current configuration of my router blocks queries to Cloudflare/Google DoH JSON APIs (and probably others). I still have two things to ask:
|
Thanks for looking into this further! ❤️
Yes, indeed. We could have a better error message here. I'll re-open this issue and change the title. Would you be interested in adding a better error message? I think I can test it out at that local coffee shop, assuming they haven't changed their router config.
It's something we can investigate. If you are still up for it, an issue in https://github.com/oddsdk/ts-odd would be appreciated. Our current focus is IPVM, so we may not get to it right away. |
What is the status of this app template? Is it supposed to work? Can the app proceed beyond the "Initializing file system" screen hanging for indefinite time?
Tried registering at:
http://localhost:5173/
https://odd-template.fission.app/
Result:
"Initializing file system" screen
Browser console:
The text was updated successfully, but these errors were encountered: