R
Railway16mo ago
mattjaf

Is there a way to see server side ngrok logs on railway?

Is there a way to see server side ngrok logs on railway? I feel like that might help
19 Replies
Percy
Percy16mo ago
Project ID: d6824adc-1a0e-42b7-b310-91412963c32b
mattjaf
mattjafOP16mo ago
d6824adc-1a0e-42b7-b310-91412963c32b
Brody
Brody16mo ago
tbh im a little lost, are you using ngrok or do you think railway uses ngrok?
mattjaf
mattjafOP16mo ago
I'm hosting a moralis V1 parse server Ngrok is in my package.json and I'm trying to figure how I can go about viewing the logs from moralis streams webhook
Brody
Brody16mo ago
where do you expect to view the logs from? the deployment logs? is ngrok set to log to stdout?
mattjaf
mattjafOP16mo ago
Where ever I can get it
Brody
Brody16mo ago
^
mattjaf
mattjafOP16mo ago
GitHub
Moralis-JS-SDK/demos/parse-server at main · MoralisWeb3/Moralis-JS-...
Moralis Official Javascript SDK. Contribute to MoralisWeb3/Moralis-JS-SDK development by creating an account on GitHub.
Brody
Brody16mo ago
if you set ngrok to log its access logs to stdout/stderr you will be able to see them in the deployment logs
mattjaf
mattjafOP16mo ago
Where would I configure that?
mattjaf
mattjafOP16mo ago
Oh what the heck, I might of installed it in my project accidentally thinking it was global?
mattjaf
mattjafOP16mo ago
GitHub
Moralis-JS-SDK/demos/parse-server-migration/package.json at main · ...
Moralis Official Javascript SDK. Contribute to MoralisWeb3/Moralis-JS-SDK development by creating an account on GitHub.
mattjaf
mattjafOP16mo ago
Most apologies When I was on local host I would get the the logs with /post sever error codes from tunneling with ngrok. Now that it's deployed to production I'm trying figure out how I can get those
Brody
Brody16mo ago
where did you see those logs locally
mattjaf
mattjafOP16mo ago
After running ngrok http port And providing the moralis streams with my ngrok url webhook
Brody
Brody16mo ago
but the repo you sent me uses the ngrok package from npm, and does ngrok.connect
mattjaf
mattjafOP16mo ago
In production I use https://railwayWebhookAddress/streams-webhook
Brody
Brody16mo ago
you would need to consult the ngrok docs on how to pipe the logs from that to stdout
Want results from more Discord servers?
Add your server