Webhook is not working

if you don’t set up any stream you still get this timeout error?

we didn’t see this error before, I don’t know what happens

got it. I can’t use Moralis anymore if I don’t resolve this error.
Thanks for your support.
Have a nice day.

what type of server you are using to listen for transactions?

I am using express.js server in win10.

you made a local server with express, you are using moralis SDK in that local server?

you may have to use ngrok with a proxy to get a public accessible url that can be accessed from the internet

can you share some of the code from that server?

yes, I have used the express server on my local.

how can I make a public accessible url that can be accessed from the internet?
please teach me.
Thanks.

can you share that code that is used in that server?

how you are using moralis SDK in that code?

you can watch this demo that it presents how to use ngrok:

I already shared all codes that use Moralis.

this is the code that creates a stream, it is not listening to anything

what else needs more?
I set webhookurl in options.
Then I think I can receive webhook.

You said that you don’t that an error in this code and you get later.

What is the code that generates that timeout error?

there is no code that generates that timeout error.

after running the server, I just got the error 20-30 seconds later.

what is the code from the server then?

only the error appears.
And I used ngrok now.so the error disappeared. Thansk.
But I didn’t get any hooks yet.

could you teach me the code that listening to anything?
Thanks.

I am listening now. Thanks for your support.
I will use more Moralis in my projects. :smiley:
Your supports is very kind and helpful.
I am very happy now.
Have a nice day.
Thanks again.

1 Like