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

Arweave API - Unexpected response (0) #8

Open
Mayzz03 opened this issue Mar 22, 2022 · 1 comment
Open

Arweave API - Unexpected response (0) #8

Mayzz03 opened this issue Mar 22, 2022 · 1 comment

Comments

@Mayzz03
Copy link

Mayzz03 commented Mar 22, 2022

Hello,

I encounter an error when calling the "createTransaction" method.

Fatal error: Uncaught Exception: Arweave API - Unexpected response (0)

My code is strictly identical to the example.

Is the node IP address provided in this example still valid? Is there a list of node addresses?

@rrelmy
Copy link

rrelmy commented May 5, 2022

You most likely run into a cURL error.

Try to use

$arweave = new \Arweave\SDK\Arweave('https', 'arweave.net', 443);

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

2 participants