Axolotl
Axolotl
SSolidJS
Created by Axolotl on 5/29/2024 in #support
FIXED: fetch error on route load function
@peerreynders hi, fixed this issue. That was actually container routing related, since solid is calling route load api on server (not browser) I needed to add frontend container host to server. Anyways, thank you for your help :D
11 replies
SSolidJS
Created by Axolotl on 5/29/2024 in #support
FIXED: fetch error on route load function
No description
11 replies
SSolidJS
Created by Axolotl on 5/29/2024 in #support
FIXED: fetch error on route load function
@peerreynders sorry for the ping, but could you say what you mean by:
can the Solid start server make the connection outside of SSR
thats different from normal fetch?
11 replies
SSolidJS
Created by Axolotl on 5/29/2024 in #support
FIXED: fetch error on route load function
yes, solid server cant connect to server. Im running both on a docker (podman) container, I tried running both ends individually on both localhost and 0.0.0.0, that worked. solid server cant connect to server running on container i guess. also I've no clue what to do to accept connection from solid server. do you have any idea on this? sorry this seems like not the problem with solid at all.
11 replies
SSolidJS
Created by Axolotl on 5/29/2024 in #support
FIXED: fetch error on route load function
oh sorry I forgot that xD here:
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async eval (/app/src/routes/(user)/[user].tsx?pick=route:10:16) {
cause: Error: connect ECONNREFUSED 0.0.0.0:8000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '0.0.0.0',
port: 8000
}
}

Node.js v18.20.2
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async eval (/app/src/routes/(user)/[user].tsx?pick=route:10:16) {
cause: Error: connect ECONNREFUSED 0.0.0.0:8000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '0.0.0.0',
port: 8000
}
}

Node.js v18.20.2
11 replies