RootSoft / algorand-php

Unofficial community SDK to interact with the Algorand network, in PHP & Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occured when minting your NFT. Error: Request failed with status code 500

Z-zzim opened this issue · comments

Hi!
I run IPFS Desktop and status - connected to IPFS.
I have some work addresses:

GATEWAY:  http://127.0.0.1:8080
API:  /ip4/127.0.0.1/tcp/5001
ADDRESSES:
/ip4/127.0.0.1/tcp/4001/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip4/127.0.0.1/udp/4001/quic/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip4/188.164.164.240/tcp/4001/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip4/188.164.164.240/udp/4001/quic/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip4/192.168.1.30/tcp/4001/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip4/192.168.1.30/udp/4001/quic/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip6/::1/tcp/4001/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1
/ip6/::1/udp/4001/quic/p2p/12D3KooWQLpF7fRu8VcsNpxRoHoEwcxXriSpBdopW6BVKPZqQLi1

But in Chrome Console a completely different address (status code 500) when i try to create an item:
POST http://192.168.1.190:81/asa/transaction/fields 500 (Internal Server Error)
{message: "cURL error 6: Could not resolve host: host.docker.…/host.docker.internal:5001/api/v0/add?only-hash=1", exception: "Rootsoft\\IPFS\\Exceptions\\IPFSException", file: "/var/www/html/vendor/rootsoft/laravel-ipfs/src/Traits/MakesHttpRequests.php", line: 93, trace: Array(50)}

How should I change the address "host.docker.internal"? I tried to change to 127.0.0.1, but I get 500.
issue01
issue02