You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by phkoester January 30, 2025
Hello,
I'm totally new to Dioxus and am playing around with dx new. I noticed when I choose the fullstack option and launch my desktop app with dx serve --platform desktop, the echo server function doesn't work. I get the error
16:37:40 [linux] thread 'main' panicked at src/components/echo.rs:18:65:
16:37:40 [linux] called `Result::unwrap()` on an `Err` value: Request("error sending request for url (http://127.0.0.1:43405/api/echo_server9820224038553403100)")
followed by a long stack trace. dx says "ServerFns at: http://127.0.0.1:8080". Is this a problem with the port?
When I run dx run --platform desktop, the echo demo works fine. But now I miss hot reloading, of course.
Steps to reproduce:
use Dioxus CLI 0.6.2
dx new some_app, choose fullstack
Run the app with dx serve --platform desktop
Type something below "ServerFn Echo"
-> App panics
The text was updated successfully, but these errors were encountered:
A potential clue not sure it will help.... Old project with android and server functions still seems to be working and it seems to be independent of dioxus version being used.
Discussed in #3673
Originally posted by phkoester January 30, 2025
Hello,
I'm totally new to Dioxus and am playing around with
dx new
. I noticed when I choose the fullstack option and launch my desktop app withdx serve --platform desktop
, the echo server function doesn't work. I get the errorfollowed by a long stack trace. dx says "ServerFns at: http://127.0.0.1:8080". Is this a problem with the port?
When I run
dx run --platform desktop
, the echo demo works fine. But now I miss hot reloading, of course.Steps to reproduce:
dx new some_app
, choose fullstackdx serve --platform desktop
The text was updated successfully, but these errors were encountered: