tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Socket Io doesn't work in tauri+angular app with ALB node socket server

Open prabhatm102 opened this issue 1 year ago • 2 comments

Describe the bug

Getting socket Id unknown Getting error only in mac. working fine for linux and windows

Issue with ALB sticky session

On mac it doesn't allow cookies

Untitled design

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 15.1.0 x86_64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 18.20.4
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.5
    - @tauri-apps/api : 2.0.3 (outdated, latest: 2.1.1)
    - @tauri-apps/cli : 2.0.5 (outdated, latest: 2.1.0)

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-log 🦀: 2.0.2
    - @tauri-apps/plugin-log : not installed!
    - tauri-plugin-fs 🦀: 2.0.3
    - @tauri-apps/plugin-fs : not installed!
    - tauri-plugin-dialog 🦀: 2.0.3
    - @tauri-apps/plugin-dialog : 2.0.1
    - tauri-plugin-process 🦀: 2.0.1
    - @tauri-apps/plugin-process : 2.0.0
    - tauri-plugin-updater 🦀: 2.0.2
    - @tauri-apps/plugin-updater : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist/cooper
    - devUrl: http://localhost:4200/
    - framework: Angular
    - bundler: Webpack

Stack trace

No response

Additional context

No response

prabhatm102 avatar Nov 14 '24 05:11 prabhatm102

Any update ? @FabianLars

prabhatm102 avatar Dec 05 '24 14:12 prabhatm102

No, I didn't even look into it, but this sounds like something that's either socketio s fault or wkwebview s fault. We generally don't have any control over the network implementation of the webview.

FabianLars avatar Dec 05 '24 16:12 FabianLars

Hello, Is anyone figured this out?

sagarpadia17 avatar Jun 27 '25 07:06 sagarpadia17

Hello, Is anyone figured this out?

No update. Moved to electron

prabhatm102 avatar Jun 27 '25 13:06 prabhatm102