-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
are all the tiles listed in "add source" actually supposed to work? #14
Comments
Hey @bdruth Hm. I just clicked the SSM tile and loaded the login page successfully (I don't have an account, so I couldn't confirm the connection worked). Did you finish the Anthem login and get redirected back to the app? or did you hit back/reload the sources page? I'll have to do some investigation. |
I reset my install after I saw an error with Anthem, but even then it didn't work to click SSM. Tried Chrome and Safari both. Weird. I'll give it another go. |
Still not working for me this morning (didn't have a chance to look again last night, sorry) - here's what I see in the console on a refresh of that view then when I click the SSM tile, I get this: Edit: I'm running this in Docker on my Synology NAS via docker-compose, pretty simple config:
|
Follow-up - I've got the app running locally, but there's not the same tiles presented (much fewer) - if I were wanting to try to debug what's going on locally, without the source minified, how can I get the config loaded that provides the SSM tile? |
Hey @bdruth Sorry I should document the local development environment a bit better. Fasten can run in 2 modes:
The only difference from the CONTRIBUTING.md instructions is the |
Cool - that did the trick :) Unfortunately (or fortunately?) ... running in this mode, the SSM tile works fine and connects ... so, hrmpf ... not sure why it's not happy running from the docker image. I'll see if I can dig some more. |
@bdruth are you still running into issues with Fasten connecting to SSM? Any other feedback you'd like to share? |
I haven't dug more into why the Docker deployment isn't working. Running locally with 'prod', it works, but not in my Docker deployment env. |
I encountered the same issue using my local server using the IP without https. I did a bit of digging and this seems to be due to 192.168.x.x being listed as an insecure context . I expect other insecure contexts would have the same issue. As a workaround I found the relevant chrome option in chrome to trust it manually using the flag I added my IP used for the server in the box (http://192.168.{YOUR_RANGE}.{YOUR_RANGE}:{YOUR_PORT}), enabled, and relaunched and it worked. |
commenting with the discussion @snagles and I had on Discord.
@snagles went on to find the following reference to While there is a workaround for now, longer term we'll want to detect errors in the Another alternative may be to throw a big warning on that page, stating that non-localhost/non-https domains will fail with an this error. |
I had the same issue and the Chrome workaround worked for me as well. Is there an equivalent setting for Safari? |
Because this is a pain point, it might be worth including a docker compose file in the REAME that helps set up fasten with local SSL via mkcert so people getting started with fasten won't run into this problem. I haven't tested this specifically with fasten, but something like below might help newcomers just trying to get started on their local machine: version: '3.9'
services:
nginx:
image: nginx:latest
ports:
- 443:443
volumes:
- ./nginx/certs/:/etc/nginx/ssl
- ./nginx/conf/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- app
app:
image: ghcr.io/fastenhealth/fasten-onprem:main
... rest here ... You can generate the local certs by running this via the cli: mkcert -key-file nginx/certs/ssl.key -cert-file nginx/certs/ssl.crt fasten.local and update your
There might be a way to do this with fewer steps. |
Let me see if I can replicate this issue locally, and find a better workaround. |
…by IP. fixes #14 TODO: add asmcrypto.js as a dependency in the polyfill.ts file, rather than in the index.html file.
hey all,
|
Encountered this issue in both sandbox and main mode in the current image(s). The workaround noted in #14 (comment) seems promising as it makes more of the sources work. |
Hm. I'm still not able to reproduce this locally. adding the following link which may help me get user-feedback about this error |
Just trying to get started ... clicking "Anthem" tile redirects me to auth'ing Anthem ... but if I try another tile, it just stares back at me ... no action, plenty of errors in the console. e.g. hitting the SSM Health tile doesn't do anything.
Super happy that you're getting this off the ground - lemme know what else would be helpful.
The text was updated successfully, but these errors were encountered: