mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 08:15:00 -05:00
[PR #4138] [MERGED] fix: socket.io client url #8199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4138
Author: @ther0bster
Created: 7/26/2024
Status: ✅ Merged
Merged: 7/27/2024
Merged by: @tjbck
Base:
dev← Head:fix-socket-io-url📝 Commits (2)
02b104ffix: socket.io client urla53f5d0fix: don't break dev tests📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/routes/+layout.svelte(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Thanks for the great work on this project!
does not break dev env now :)
fixes #4025
fixed crash happening with IPv6 and some IPv4 setups where the backend crashes
backend/main.pyreturns500 Internal Server Error, sincedata["session_id"]does not exist in the JSON payloadapi/chat/completedPOST request made by the chatCompletedHandler insrc/lib/components/chat/Chat.sveltedoes not contain asession_idfield$socket?.idyields undefined (with IPv6)const _socket = io('${WEBUI_BASE_URL}', {insrc/routes/+layout.svelteWEBUI_BASE_URLis empty because of its definition insrc/lib/constants.tsfix: if io is initialized with a default url according to its docs to
window.location.hosteverything seems to work without errors againFixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.