buidl-labs / buidl-labs/crypto-code-school-inside-tezos

Cannot connect wallet

Open
#361 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
46
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Before you submit, please add:

- Windows 10

- Chrome v96.0.4664.110
- Windows v10.0.18363.900
Error
```console
Running createUser. tz1hRjLod8HhU2N1U7yfed5niEDcQoUQbYfd
----
Access to XMLHttpRequest at 'https://cryptoverse-wars-backend-nfjp.onrender.com/user' from origin 'https://cryptocodeschool.in' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
----
Error: Network Error
at LYNF.e.exports (fbf85c24bd93e0fcd4aa236d55916a48cb706ebe-0f4cf8af0b8635ad516b.js:1)
at XMLHttpRequest.d.onerror (fbf85c24bd93e0fcd4aa236d55916a48cb706ebe-0f4cf8af0b8635ad516b.js:1)
at XMLHttpRequest.n (app-5e0476cfe3ec8f71c05b.js:2)
---
metaImage null
---
Failed to load resource: net::ERR_FAILED
```

- I cannot connect my wallet to the site

When I navigate to https://cryptocodeschool.in/auth, I cannot connect my wallet to the site, preventing me from doing anything like claiming a crypto bot

- [ ] **To Reproduce**
Steps to reproduce the behavior:

1. Go to https://cryptocodeschool.in/auth
2. Click on `Connect Wallet`
4. See error in console

- [ ] **Expected behavior**
It should have opened my Temple wallet to authenticate my account

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure at https://cryptocodeschool.in/auth in Windows 10 and Chrome, then inspect the Connect Wallet request and its CORS preflight in the browser console and network panel. Done means clicking Connect Wallet opens Temple and authenticates successfully without the reported XMLHttpRequest or missing Access-Control-Allow-Origin error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.