Hubs-Foundation / reticulum

Phoenix web server for Hubs
Mozilla Public License 2.0
447 stars 179 forks source link

Server Settings page not working on VPS server #672

Open monukbizsoft opened 1 year ago

monukbizsoft commented 1 year ago

Hi

I have checked and found that this problem is caused by ITA Reticulum on localhost:6000

Please check the route in router.ex file https://github.com/mozilla/reticulum/blob/13a4c2fb332a86333b379197774cc444b7ada419/lib/ret_web/router.ex#L97-L103

Please check it in proxies.ex file https://github.com/mozilla/reticulum/blob/13a4c2fb332a86333b379197774cc444b7ada419/lib/ret_web/plugs/proxies.ex#L20-L23

and localhost:6000 is not working on my local system because i don't know what is localhost:6000?

I have already spent more than 2 weeks but still i can't solve it yet

I've got the same problem on hub repo Please check: https://github.com/mozilla/hubs/issues/4970

Can any one give me any suggestion regarding localhost:6000. What is it and how to run it on self hosted linux VPS server?

Thanks

monukbizsoft commented 1 year ago

Hi

Because of this I am not able to access the server setting page. Please help me to fix this problem.

Thanks

bryanenders commented 1 year ago

Ita is an internal service that we use in Hubs. It can be ignored. What is telling you that RetWeb.Plugs.ItaProxy is the cause of the issue you’re seeing?

monukbizsoft commented 1 year ago

Hi

Thanks for reply

I regret to inform you that I am currently unable to access the server setting page. Upon conducting an investigation, I discovered that the itaSchemas in the hub is a prerequisite for accessing the server setting page. However, the hub has requested it from the reticulum, which has resulted in the 502 bad gateway error. Please check hub code: https://github.com/mozilla/hubs/blob/master/admin/src/admin.js#L265-L269

What is telling you that RetWeb.Plugs.ItaProxy is the cause of the issue you’re seeing? ==> I am currently experiencing an issue while attempting to receive a response from port 6000. However, upon investigation, I have discovered that there is no server operating on this particular port on the server.

Please advise me on how to proceed in resolving this issue as soon as possible. I appreciate your prompt attention to this matter.

Thank you for your attention to this matter.

Sincerely, Monu K.

xyening commented 1 year ago

Hi same problem.

monukbizsoft commented 1 year ago

Is there any update on this?

Because without ITA, I am unable to access server setting page. On this page, we will add all the API details i.e. mail smtp, discord bot .etc

Thank you

giangduong commented 1 year ago

same problem.

monukbizsoft commented 1 year ago

Hi Reticulum Team,

Please check this problem and tell me how to fix it. If any alternative is welcome.

Thank you