2 years ago
Hi, what should the host_url parameter of the Langflow HTML Chat Widget be set to in order to embed the widget in a web page hosted outside of railway? The default is localhost:port, but this doesn't work. I've tried the URL given in the Settings / Public Networking field (with port appended) but this also gives "Network Error" in the chat widget.
3 Replies
2 years ago
You would want to use the domain provided in the setting with port 443 and https.
2 years ago
Thanks @brody. That's what I guessed, so my host_url = "https://langflowailangflowlatest-production-2958.up.railway.app:443" should be ok? But it still results in an error in the chat window when embedded in a web page: "Error running graph: Error building Component Astra DB: Error initializing AstraDBVectorStore: Client error '401 Unauthorized' for url 'https://<guid>-us-east-2.apps.astra.datastax.com/api/json/v1/default_keyspace' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"
2 years ago
Ah, it seems Astra had gone to sleep. Now I've resumed the service, chat is working good. Thanks!
Status changed to Solved brody • over 1 year ago
