Custom Domain Port Not Mapping (New Ports Engine)

jeremyccranePRO

10 months ago

Here is my setup:

node5-production-960c.up.railway.app -> port: 8545

rpc.marscredit.xyz -> port: 8545

I am using the https and public port 443 when running requests:

curl -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' -H "Content-Type: application/json" https://node5-production-960c.up.railway.app:443

{"jsonrpc":"2.0","id":1,"result":{"id":"13f558f9d35e0f7c25252651599366bebe98e9f8c1e1ca4e3a30d08f28cda11f","name":"Geth/v1.10.18-stable-de23cf91/linux-amd64/go1.17.13","enode":"enode://478d4dd8e56a6419d32a7f1166983566bf5c184d1fd97036bca04a2f8e5a6e7546492e38ebf16fbdb0c838c9d127ee70b5de6a7e1cdc5d337adc616f91baf98f@127.0.0.1:30304?discport=0","enr":"enr:-Jy4QOSLrK4yIZ0UmnSUlMgb9tpHeglXypLc7o6WNRWYX7RJduMafsqudwhxztKZ4HskRXi-ycMK--wSvUyWPLkrdnGGAZB6G3Chg2V0aMfGhN4E9yGAgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQNHjU3Y5WpkGdMqfxFmmDVmv1wYTR_ZcDa8oEovjlpudYRzbmFwwIN0Y3CCdmA","ip":"127.0.0.1","ports":{"discovery":0,"listener":30304},"listenAddr":"[::]:30304","protocols":{"eth":{"network":110110,"difficulty":16107834377,"genesis":"0xe90d3bac8762fb4acf335b8853ca06156c8601f78a0d49ef558b7263f7a14baa","config":{"chainId":110110,"homesteadBlock":0,"eip150Block":0,"eip150Hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155Block":0,"eip158Block":0,"byzantiumBlock":0,"constantinopleBlock":0,"petersburgBlock":0,"istanbulBlock":0,"berlinBlock":0,"londonBlock":0,"ethash":{}},"head":"0xa75bdb2542830445a2e7f7bc905a9328d9559d0ee54ecd5163e92d843ada42a0"},"snap":{}}}}```
curl -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' -H "Content-Type: application/json" https://rpc.marscredit.xyz:443

<h1 class="error-404">Nothing here... yet</h1>
<h1 class="error-503">Application failed to respond</h1>
Awaiting User Response

11 Replies

10 months ago

Hi,

I don't see rpc.marscredit.xyz setup in the domains of the service.

Are you pointing it from elsewhere ?

Thanks,

Nicolas


jeremyccranePRO

10 months ago

Hi Nicolas,

I removed to have the app function. Just added back, also changed a few ports. Feel free to test:

node5-production.up.railway.app -> port: 8546

rpc.marscredit.xyz -> port: 8546

Still same issue.


10 months ago

Neither of these domains work? are you sure you have the edge proxy enabled?


jeremyccranePRO

10 months ago

I used V2


jeremyccranePRO

10 months ago

Use this test command:curl -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' -H "Content-Type: application/json" https://node5-production.up.railway.app:443

But swap the url


10 months ago

I'm sorry but I don't see how that answers the question.


jeremyccranePRO

10 months ago

If you run that command, the generated url works and the custom domain url does not work ...


jeremyccranePRO

10 months ago

node5-production.up.railway.app -> port: 8546 ==> THIS URL WORKS

rpc.marscredit.xyz -> port: 8546 ==> THIS URL DOES NOT WORK


jeremyccranePRO

10 months ago

We use cloudflare with no proxy enabled


10 months ago

Hi,

I've raised this with the team to take a further look. I'll keep you up to date as soon as I have more information

Best,

Nicolas


10 months ago

I don't see either of those URLs working

It looks like your indexer stopped.

https://railway.app/project/a64485ff-7538-4c39-9159-3d7f9d6fd5bf/service/be78e40e-09ea-4044-ad61-9c0c8ce65b00?id=5526c4cf-5ef0-4723-879a-5d91c5e5d0c2

Can you please get it into a working state, with two curl commands which work to validate this, and we can check it out?


Custom Domain Port Not Mapping (New Ports Engine) - Railway Help Station