CloakedServices / CloakedNetworkPoC

Whitepaper @ https://github.com/CloakedServices/CloakedNetwork
GNU Affero General Public License v3.0
1 stars 0 forks source link

cashu wallet exception: proxy keys should use URL form #36

Closed mixmasala closed 7 months ago

mixmasala commented 8 months ago

I see the following logs from the cashu wallet app container:

INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:4449 (Press CTRL+C to quit)
2023-10-31 19:52:26.487 | ERROR    | cashu.wallet.api.app:catch_exceptions:34 - Exception: Proxy keys should use proper URL forms rather than plain scheme strings. Instead of "http", use "http://"
Creating database directory: /root/.cashu/wallet
Generated a new mnemonic. To view it, run "cashu info --mnemonic".
INFO:     127.0.0.1:45000 - "POST /receive?token=%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00 HTTP/1.1" 400 Bad Request

however the docker-compose.yml has HTTP_PROXY=http://127.0.0.1:8080 which looks correct

  server_cashu_wallet:
    restart: "no"
    image: cashu
    network_mode: host
    expose:
     - "4449/tcp"
    environment:
      - HTTP_PROXY=http://127.0.0.1:8081
      - MINT_URL=http://127.0.0.1:3338
      - API_HOST=127.0.0.1
      - API_PORT=4449
      - TOR=False
    command: ["poetry", "run", "cashu", "-d"]
mixmasala commented 7 months ago

was resolved in cashu