Skip to content
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

[Bug]: issue with connecting to any source provider #364

Closed
eliluong opened this issue Dec 14, 2023 · 4 comments
Closed

[Bug]: issue with connecting to any source provider #364

eliluong opened this issue Dec 14, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@eliluong
Copy link

Contact Details

[email protected]

What happened?

Whenever I add a new source (search for source, click on correct source, then click Connect), it gets stuck on the spinner. If I look at console, it has the error below. If I refresh the page, and repeat the steps above and connect to the same provider, it will proceed to the provider's connection screen.

Flavor

Docker

Version

main#6d6647a

Relevant log output

ERROR Error: Uncaught (in promise): TypeError: u.Sha256 is not a constructor
TypeError: u.Sha256 is not a constructor
    at ai.getDigest (webcrypto-liner.shim.mjs:8444:18)
    at ai.<anonymous> (webcrypto-liner.shim.mjs:8456:27)
    at Generator.next (<anonymous>)
    at webcrypto-liner.shim.mjs:5374:69
    at new e (zone.min.js:29:3049)
    at $ (webcrypto-liner.shim.mjs:5353:12)
    at ai.digest (webcrypto-liner.shim.mjs:8455:14)
    at v1.<anonymous> (webcrypto-liner.shim.mjs:9503:26)
    at Generator.next (<anonymous>)
    at webcrypto-liner.shim.mjs:5374:69
    at O (zone.min.js:29:1993)
    at zone.min.js:29:1068
    at zone.min.js:29:1174
    at e.invoke (zone.min.js:14:7205)
    at Object.onInvoke (core.mjs:26274:33)
    at e.invoke (zone.min.js:14:7145)
    at t.run (zone.min.js:14:2289)
    at zone.min.js:29:2798
    at e.invokeTask (zone.min.js:14:7889)
    at Object.onInvokeTask (core.mjs:26261:33)
@eliluong eliluong added the bug Something isn't working label Dec 14, 2023
@AnalogJ
Copy link
Member

AnalogJ commented Dec 15, 2023

Hey @eliluong
Are you accessing your fasten instance via IP Address?
Can you share your config file?

Could it be related to this issue - #14 ?

@eliluong
Copy link
Author

eliluong commented Dec 15, 2023

I am accessing via hostname.lan, and not https. But it sounds similar to my error.

I run it via docker compose:

version: '3.8'

services:
  fasten-health:
    image: ghcr.io/fastenhealth/fasten-onprem:main
    ports:
      - "7070:8080"
    volumes:
      - ./db:/opt/fasten/db
      - ./cache:/opt/fasten/cache

@dwradcliffe
Copy link
Contributor

This might be stale, is this still an issue?

@AnalogJ
Copy link
Member

AnalogJ commented Aug 28, 2024

I think this is stale. I have a polyfill now for non-https crypto usage with a custom domain.

@AnalogJ AnalogJ closed this as completed Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants