adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

The URL of the local server cannot open the UI interface in the browser.

Open xiangyang749 opened this issue 1 year ago • 3 comments

when i run adk web,come out the following infomation,but when i click the website ,the browser say :HTTP ERROR 502,The page is not functioning properly 0.0.0.0 cannot process this request at this time. Or The page is blank and the screen goes black.

But when i run adk run multi_tool_agent with Run the terminal as an administrator.,it can have a normal conversation ,it does his work.

INFO: Started server process [5480] INFO: Waiting for application startup. +-----------------------------------------------------------------------------+ | ADK Web Server started | | | | For local testing, access at http://localhost:8000. | +-----------------------------------------------------------------------------+ INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:64189 - "GET / HTTP/1.1" 307 Temporary Redirect INFO: 127.0.0.1:64189 - "GET /dev-ui HTTP/1.1" 200 OK INFO: 127.0.0.1:64189 - "GET /polyfills-FFHMD2TL.js HTTP/1.1" 304 Not Modified INFO: 127.0.0.1:64190 - "GET /main-SLIAU2JL.js HTTP/1.1" 304 Not Modified INFO: 127.0.0.1:64190 - "GET /styles-4VDSPQ37.css HTTP/1.1" 304 Not Modified

xiangyang749 avatar Apr 19 '25 13:04 xiangyang749

Are you using localhost or 0.0.0.0 ? Also are you using the latest release?

wyf7107 avatar Apr 21 '25 04:04 wyf7107

thank you for your message,local host and 0.0.0.0,I've tried it all,and It's the latest,It can be driven by the terminal,but web . I wonder if it's a problem with the browser

---- Replied Message ---- | From | @.> | | Date | 04/21/2025 12:44 | | To | google/adk-python @.> | | Cc | XiangYang @.>, Author @.> | | Subject | Re: [google/adk-python] The URL of the local server cannot open the UI interface in the browser. (Issue #288) |

Are you using localhost or 0.0.0.0 ? Also are you using the latest release?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wyf7107 left a comment (google/adk-python#288)

Are you using localhost or 0.0.0.0 ? Also are you using the latest release?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiangyang749 avatar Apr 21 '25 04:04 xiangyang749

Could be, are you using Windows, also could you try hard refresh on your browser and clear caches? (Or try Incognito mode or change a browser)

wyf7107 avatar May 04 '25 19:05 wyf7107