azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
2.97k stars 105 forks source link

[BUG]: Connection Refused #187

Closed Reledia closed 5 months ago

Reledia commented 5 months ago

What happened?

Premise: Im very noob when it comes to web stuff. I set up the server apparently in the correct way. I can connect to it from my own domain. The problem comes when I try to install a new app from the store (which does) and open the link for it (changing from app.domain to domain.xyz/app as I dont understand how to set up the first option): the link works, but it loads only the text, and the images saying that the connection was refused. I read the docs and issues multiple times but I find no trace of anything similar

image

What should have happened?

The install should have provided a usable link without additional debugging/steps

How to reproduce the bug?

  1. Go to 'marketplace.'
  2. Install 'StirlingPDF'
  3. Open link
  4. See errors

Relevant log output

This is the only thing relative to Stirling when loading the url:

2024/01/26 04:18:10 "GET https://domain.xyz/stirling-pdf HTTP/2.0" from 192.168.1.1:34478 - 200 81619B in 7.825576ms   

System details

azukaar commented 5 months ago

Most apps wont support doing domain.com/abc, nothing can be done about this on our end. To setup abc.domain.com, you need to add entries in your DNS for those subdomains (or *.domain.com). Note that it will require a full domain name (it wont work with the free dyndns like no-ip.org)

Reledia commented 5 months ago

Thanks, I managed to setup the links in the right way and now I can use both apps from the store and from my own composes without problems