Desktop client cannot connect to self-hosted instances

(#641) Feature Closed: Shipped desktop self-hosting
  1. Rex changed the status from Needs triage to Under consideration
  1. The pull request fluxer#1404 mentions this post Closed
  2. The pull request fluxer#1404 was closed without merging Closed

Merged posts

These posts were merged into this one. Their comments are now part of the conversation below, marked with where they came from.

Merged from #730 Punycode not supported when logging in from outside of browser

RexSystemoriginally by @madonuko on GitHub

Report details

Summary

https://chat.xn--28jl4a1h.xn--q9jyb4c/ ↑ I've just made a new instance of fluxer here However when I try to login from the flatpak (and click open browser) it's showing the following error:
Error invoking remote method 'switch-instance-url': Error: Not a valid Fluxer instance (Unexpected token '<', "<!doctype "… is not valid JSON)

Steps to reproduce

  1. open flatpak version
  2. click "browser login" (text might mismatch because it's not in English for me)
  3. change the instance URL to https://chat.xn--28jl4a1h.xn--q9jyb4c/ (or try chat.xn--28jl4a1h.xn--q9jyb4c)
  4. click "open in browser"

Environment

Version: 0.0.8 OS: Ultramarine Linux 44 Browser: Firefox
Report details

Summary

I have a working selfhosted instance that runs fine via the web client when the account is registered directly in the server. Trying to add the community from the desktop client fails with the message "We couldn't join this commuity at this time". Logging in to the web client with my regular fluxer account and trying to join does the same thing. Is there a way to connect with the dektop client or is that work in progress?

Steps to reproduce

join comunity > paste link > join

Merged from #1057 Self Hosting Desktop App Login

RexSystemoriginally by @d10sfan on GitHub

Report details

Problem

Currently, if you go to the fluxer desktop app, the only login available is for the fluxer instance. That would be an issue for self hosting, because now you would have to re-compile with the new host for the self hosted server.

Proposed solution

With element for matrix, the login screen has an optional area where you can pick the server you want the app to point to. This would be great to allow for the same app to be used for the public instance, but also allow self-hosters to use the same app without re-compiling.

Comments

Notice

The desktop client can now connect to self-hosted instances. This is in the latest canary build, which you can get from canary.fluxer.app/download. It will be available on stable soon. The original post and the comments below were written before this and no longer describe the current state, so they are hidden and the thread is locked. Votes still count.
Comment by Rex
RexSystem 1 vote
Status changed from Under consideration to Shipped
The desktop app asks which instance to use when you sign in, and you can add accounts from several instances to the account switcher.