Helicone Community Page

Updated 2 years ago

Azure Self hosting

Is there a way to self host the app in azure?
J
T
h
9 comments
What kind of issues are you seeing on Azure?
Hey when I host the app, docker files on a VM created on Azure.
and deploy it from there.
Plain Text
 typescript
lib/hashClient.ts (4:40) @ hashAuth

  2 | key = `Bearer ${key}`;
  3 | const encoder = new TextEncoder();
> 4 | const hashedKey = await crypto.subtle.digest(
    |                                      ^
  5 |   { name: "SHA-256" },
  6 |   encoder.encode(key)
  7 | );
This is what I get while creating a key
I see what is the issue?
Unable to create keys. While it is hosted on Azure VM
Can you try to access the supabase console?
@Justin I got the same error as TITAN. Here is what I've done:

Attachment
Screenshot_2023-06-11_at_02.51.29.png
Okay, now I understand why.

Modern browser blocks using the "crypto.subtle" on unsecure domains such as "http" or non-"localhost" access. To workaround this, we need to set up the helicone with "https" 🙂

https://stackoverflow.com/questions/46670556/how-to-enable-crypto-subtle-for-unsecure-origins-in-chrome
Add a reply
Sign up and join the conversation on Discord