You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "troke12 (via GitHub)" <gi...@apache.org> on 2023/01/27 03:05:41 UTC

[GitHub] [cloudstack] troke12 opened a new issue, #7137: consoleproxy error after added the url

troke12 opened a new issue, #7137:
URL: https://github.com/apache/cloudstack/issues/7137

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Other
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16.1.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   ~~~
   Currently our cloudstack is already work with our domain for example :
   
   cloud.mydomain.com
   
   We are using reverse proxy in nginx to make our domain can resolve to the cloudstack
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   ~~~
   Ubuntu 20.04
   ~~~
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   The problem is when we using cloud.mydomain.com to access the cloudstack, and then we tried to open the Console of our instance, it got error and i check it from inspect element it's frame to IP of the instance, but if we access it from local ip of cloudstack that are have same network with cloudstack it's working fine, i tried to set the consoleproxy.url.domain to cloud.mydomain.com and restart the management it's still not working
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] troke12 commented on issue #7137: consoleproxy error after added the url

Posted by "troke12 (via GitHub)" <gi...@apache.org>.
troke12 commented on issue #7137:
URL: https://github.com/apache/cloudstack/issues/7137#issuecomment-1414731805

   > @troke12 have you restarted the CPVM ?
   > 
   > if you use SSL, you need to upload global setting and upload certificates as well. please refer to https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/
   
   We already restart the Console Proxy VM and also cloudstack management, but still not working.
   
   As looking on the article you give, the point on Dynamic URL / Wildcard domain, how and what target to be pointed on that domain?
   
   I mean, if we use `*.mydomain.com`, which IP that must be target ? System VM IP or cloudstack management IP ?
   
   We use cloudflare to manage the domain and also SSL
   
   <img width="1158" alt="Screenshot 2023-02-03 at 9 45 50 AM" src="https://user-images.githubusercontent.com/10250068/216500368-d727eeb7-0aa5-48a9-9be7-67799cb53593.png">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] weizhouapache commented on issue #7137: consoleproxy error after added the url

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7137:
URL: https://github.com/apache/cloudstack/issues/7137#issuecomment-1413881650

   @troke12 
   have you restarted the CPVM ?
   
   if you use SSL, you need to upload global setting and upload certificates as well.
   please refer to https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] troke12 closed issue #7137: consoleproxy error after added the url

Posted by "troke12 (via GitHub)" <gi...@apache.org>.
troke12 closed issue #7137: consoleproxy error after added the url
URL: https://github.com/apache/cloudstack/issues/7137


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] troke12 commented on issue #7137: consoleproxy error after added the url

Posted by "troke12 (via GitHub)" <gi...@apache.org>.
troke12 commented on issue #7137:
URL: https://github.com/apache/cloudstack/issues/7137#issuecomment-1428332730

   ahh i see, thought that we don't need public IP for CPVM 😅 , so i got it, thanks for your help @weizhouapache 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] weizhouapache commented on issue #7137: consoleproxy error after added the url

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7137:
URL: https://github.com/apache/cloudstack/issues/7137#issuecomment-1426671107

   > > @troke12 have you restarted the CPVM ?
   > > if you use SSL, you need to upload global setting and upload certificates as well. please refer to https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/
   > 
   > We already restart the Console Proxy VM and also cloudstack management, but still not working.
   > 
   > As looking on the article you give, the point on Dynamic URL / Wildcard domain, how and what target to be pointed on that domain?
   > 
   > I mean, if we use `*.mydomain.com`, which IP that must be target ? System VM IP or cloudstack management IP ?
   > 
   > We use cloudflare to manage the domain and also SSL
   > 
   > <img alt="Screenshot 2023-02-03 at 9 45 50 AM" width="1158" src="https://user-images.githubusercontent.com/10250068/216500368-d727eeb7-0aa5-48a9-9be7-67799cb53593.png">
   
   @troke12 
   With wildcard domain , the domain of console will be a-b-c-d.domain.suffix, (a.b.c.d is the public ip of CPVM). A DNS server is required to supoort wildcard DNS, for example nip.io
   
   
   In your case , I think the global setting should be set to the domain name without wildcard. In cloudflare domain setting , the ip address should be the public ip of CPVM, not the management IP.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org