Webhook is not working

if I add webhook url, then whenever there is a transaction in the address, webhook url reveives post request. right?

yes, a post request is made to a webhook url when a transaction is made, but that post request is made from moralis servers to the webhook url, not from your self hosted server to a webhook url, the self hosted server only is waiting for requests to receive on that webhook url

Yes, I know. So I am waiting the post request. but Moralis doesn’t send the post request.
I am getting MoralisError [Moralis SDK Core Error]: [C0006] Request failed: timeout of 20000ms exceeded
Maybe it is the module problem?

Which version is the most stable?

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.