R
Railway15mo 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
Percy15mo ago
Project ID: d6824adc-1a0e-42b7-b310-91412963c32b
mattjaf
mattjaf15mo ago
d6824adc-1a0e-42b7-b310-91412963c32b
Brody
Brody15mo ago
tbh im a little lost, are you using ngrok or do you think railway uses ngrok?
mattjaf
mattjaf15mo 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
Brody15mo ago
where do you expect to view the logs from? the deployment logs? is ngrok set to log to stdout?
mattjaf
mattjaf15mo ago
Where ever I can get it
Brody
Brody15mo ago
^
mattjaf
mattjaf15mo 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
Brody15mo 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
mattjaf15mo ago
Where would I configure that?
mattjaf
mattjaf15mo ago
Oh what the heck, I might of installed it in my project accidentally thinking it was global?
mattjaf
mattjaf15mo 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
mattjaf15mo 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
Brody15mo ago
where did you see those logs locally
mattjaf
mattjaf15mo ago
After running ngrok http port And providing the moralis streams with my ngrok url webhook
Brody
Brody15mo ago
but the repo you sent me uses the ngrok package from npm, and does ngrok.connect
mattjaf
mattjaf15mo ago
In production I use https://railwayWebhookAddress/streams-webhook
Brody
Brody15mo 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