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

Error logging in with portis #4

Open
tatecarson opened this issue Jan 14, 2021 · 0 comments
Open

Error logging in with portis #4

tatecarson opened this issue Jan 14, 2021 · 0 comments

Comments

@tatecarson
Copy link

Hello, I am attempting to use this example to see how aviondb works. I get the following error when logging in using Metamask or Portis using Chrome or Firefox. Thoughts?

aviondb.min.js:25 Uncaught (in promise) Error: Database '/orbitdb/zdpuAmR32Y7WCj4i68oqLxvFd8eGTqDcytZuhtPagPgqM4uFG/collection-test-23' already exists!
    at k.create (aviondb.min.js:25)

Error Reported 
main.0842e3bbe62ef5ed92db.js:66 {"config":{"transformRequest":{},"transformResponse":{},"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","x-csrf-token":"75ce2e901ba165135f5f6fb00837ab03e3f474043b9be1bbfe9f0048ae464c60"},"method":"post","withCredentials":true,"url":"https://api.portis.io/auth/is-dapp-authorized","data":"{\"dappId\":\"110f4f7b-6c23-43e9-afc8-07f3dd8edd2e\",\"dappDomain\":\"https://bafzbeiep576qp7nok32myf55rq7ykvlxcvfhqxnmgzoqz4wjxz37n4l3zy.textile.space\"}"},"request":{"__sentry_xhr__":{"method":"POST","url":"https://api.portis.io/auth/is-dapp-authorized","status_code":400}},"response":{"data":{"message":"The domain is not allowed to use this DAPP_ID","code":"DAPP_DOMAIN_IS_NOT_ALLOWED"},"status":400,"statusText":"","headers":{"content-length":"95","content-type":"application/json; charset=utf-8"},"config":{"transformRequest":{},"transformResponse":{},"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","x-csrf-token":"75ce2e901ba165135f5f6fb00837ab03e3f474043b9be1bbfe9f0048ae464c60"},"method":"post","withCredentials":true,"url":"https://api.portis.io/auth/is-dapp-authorized","data":"{\"dappId\":\"110f4f7b-6c23-43e9-afc8-07f3dd8edd2e\",\"dappDomain\":\"https://bafzbeiep576qp7nok32myf55rq7ykvlxcvfhqxnmgzoqz4wjxz37n4l3zy.textile.space\"}"},"request":{"__sentry_xhr__":{"method":"POST","url":"https://api.portis.io/auth/is-dapp-authorized","status_code":400}}}}
(...then a lot more stuff that doesn't make any sense)


index.min.js:2 Uncaught (in promise) LockExistsError: Lock already being held for file: ipfs/repo.lock
    at Object.t.lock (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:598661)
    at e.exports._openLock (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:413790)
    at e.exports.open (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:412461)
    at async g (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:1200404)
    at async y (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:1200118)
    at async Function.start (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:1200039)
    at async Object.create (https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js:2:944316)

Thanks in advance.

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

1 participant