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

fix: Keplr cannot connect #243

Open
fadeev opened this issue Feb 23, 2022 · 5 comments
Open

fix: Keplr cannot connect #243

fadeev opened this issue Feb 23, 2022 · 5 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@fadeev
Copy link
Contributor

fadeev commented Feb 23, 2022

unknown1

unknown

123123

zxczc

(from Discord)

@fadeev fadeev added this to To Do in Board via automation Feb 23, 2022
@mihailmarcu mihailmarcu moved this from To Do to In Progress in Board Feb 24, 2022
@mihailmarcu mihailmarcu self-assigned this Feb 24, 2022
@mihailmarcu
Copy link
Contributor

@fadeev as mentioned in our meeting, I am coming with an update here:
— The scenarios that I was able to reproduce are the following: if we are trying to connect to the Keplr and there is not a single account in the wallet we get this error. We do not display the corresponding message that will help to understand what is the reason. I know that we have several scenarios when this error occurs, so we cannot solve it right away, since we need to foresee all possible scenarios when this error occurs.

Suggest keeping the issue open until we find all possible scenarios and then plan the refactoring.

@marinhoarthur marinhoarthur added the bug Something isn't working label Mar 9, 2022
@avenbreaks
Copy link

same problem eror connect using kepler

Screenshot_20220603_074450

@MariaPaypoint
Copy link

MariaPaypoint commented Jun 23, 2022

I have found a workaround to this problem (if it's cause is starting ignite not in localhost): it's need to set environment variables.

This is my example of yaml to start ignite in Kubernetes:

apiVersion: v1
kind: Pod
metadata:
  name: ignite-pod
  namespace: test
  labels:
    app.kubernetes.io/name: ignite-pod
spec:
  securityContext:
    runAsUser: 0
    runAsGroup: 0
    fsGroup: 0
  containers:
    - name: ignite
      image: ignitehq/cli
      command: ['sleep', '172800']
      env:
        - name: VUE_APP_CUSTOM_URL
          value: "http://192.168.100.64:30018"
        - name: VUE_APP_API_COSMOS
          value: "http://192.168.100.64:30014"
        - name: VUE_APP_API_TENDERMINT
          value: "http://192.168.100.64:30010"
        - name: VUE_APP_WS_TENDERMINT
          value: "ws://192.168.100.64:30010/websocket"

---

apiVersion: v1
kind: Service
metadata:
  name: ignite-service
  namespace: test
spec:
  type: NodePort
  selector:
    app.kubernetes.io/name: ignite-pod
  ports:
  
  - name: port-api-tendermint
    protocol: TCP
    port: 26657
    targetPort: 26657
    nodePort: 30010
    
  - name: port-api-cosmos
    protocol: TCP
    port: 1317
    targetPort: 1317
    nodePort: 30014
    
  - name: port-npm-run-dev
    protocol: TCP
    port: 3000
    targetPort: 3000
    nodePort: 30018

P.S. I found a hint here ignite/cli@09edced (probably later I will need to setup VITE_* env variables).

@amitkarpe
Copy link

Hi,

Using env variable I was able to solve this problem:

export ADDRESS="1.2.3.4"
export VITE_CUSTOM_URL="http://${ADDRESS}"
export API_ADDRESS="http://${ADDRESS}:1317"
export RPC_ADDRESS="http://${ADDRESS}:26657"
export CHISEL_ADDR="http://${ADDRESS}:7575"
export VITE_API_COSMOS=${API_ADDRESS}
export VITE_API_TENDERMINT=${RPC_ADDRESS}
export VITE_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket

For more info check:
https://github.com/ignite/cli/blob/develop/.gitpod.yml

@avenbreaks
Copy link

Hai,

Menggunakan variabel env saya dapat memecahkan masalah ini:

export ADDRESS="1.2.3.4"
export VITE_CUSTOM_URL="http://${ADDRESS}"
export API_ADDRESS="http://${ADDRESS}:1317"
export RPC_ADDRESS="http://${ADDRESS}:26657"
export CHISEL_ADDR="http://${ADDRESS}:7575"
export VITE_API_COSMOS=${API_ADDRESS}
export VITE_API_TENDERMINT=${RPC_ADDRESS}
export VITE_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket

Untuk info lebih lanjut, periksa: https://github.com/ignite/cli/blob/develop/.gitpod.yml

thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Board
  
In Progress
Development

No branches or pull requests

6 participants