Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy custom client problem #5357

Closed
ilovebioz opened this issue Apr 13, 2022 · 2 comments
Closed

Deploy custom client problem #5357

ilovebioz opened this issue Apr 13, 2022 · 2 comments
Labels
bug needs triage For bugs that have not yet been assigned a fix priority

Comments

@ilovebioz
Copy link

We followed the instruction to deploy our custom client to the hubs cloud but we got 2 problems:

  1. after deploying the admin page missing, we can not access the admin page.
  2. the new hub client refused to call external API, it worked normally local.

Do you have any experience with these?
screenshot_1649815046

@ilovebioz ilovebioz added bug needs triage For bugs that have not yet been assigned a fix priority labels Apr 13, 2022
@rawnsley
Copy link
Contributor

Try this workaround in case it's the same problem #4208 (comment)

@conath
Copy link

conath commented Apr 13, 2022

I had similar problems with a custom client including admin page broken sometimes, depending on CSP (Content-Security-Policy) settings. As the browser is telling you, the CSP is denying access to your URL.

Usually you edit the CSP allow-list through the Hubs Admin page => Setup / Server Settings / Advanced. There are several "Extra Content-Security-Policy rules" fields that you can add any third party domains to (separated by spaces). For example, in my client I added these to the "Extra Content Security Policy connect-src Rules":

https://firestore.googleapis.com https://identitytoolkit.googleapis.com https://fonts.gstatic.com https://securetoken.googleapis.com

If the Admin page does not load due to CSP errors, you should be able to fix it by editing or emptying the field in AWS Systems Manager / Parameter store. The fields are called /<path to your instance>/reticulum/extra_csp/<field>, for example the above connect-src rule is in /.../reticulum/extra_csp/connect_src for me.

@Hubs-Foundation Hubs-Foundation locked and limited conversation to collaborators Apr 13, 2022
@matthewbcool matthewbcool converted this issue into discussion #5359 Apr 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug needs triage For bugs that have not yet been assigned a fix priority
Projects
None yet
Development

No branches or pull requests

3 participants