Code Monkey home page Code Monkey logo

Comments (7)

totaam avatar totaam commented on July 22, 2024

The message connection failed, invalid address? comes from:
https://github.com/Xpra-org/xpra-html5/blob/aad8e6c116089180eee60f200b11e8301a5cd915/html5/js/Client.js#L2431-L2435
And is called from only two places:

In both cases, there should be a message in your javascript console preceding this - you may need to enable main debug logging to see the one from the disconnect handler.
If the authentication went as far as the server, there should also be a message in your server log (add -d auth there to see more details).

It is possible that the problem comes from the authentication and only shows up as a more general connection failure.

Issues that may be (distantly?) related:
Xpra-org/xpra-html5#278
Xpra-org/xpra-html5#262
Xpra-org/xpra-html5#260
And this one has caused us pain a number of times:
Xpra-org/xpra-html5#292

from xpra.

totaam avatar totaam commented on July 22, 2024

Can you reproduce this with the 5.x LTS branch? (this should narrow things down somewhat)
When I tested with a simple:

xpra start --bind-tcp=0.0.0.0:10000,auth=sys --no-daemon  --start=xterm :6

Closed the tab in Chrome, waited a few seconds and then restored it.
The automatic re-connection failed to prompt me for a password and I was sent back to the connect dialog. But clicking connect from there worked as expected.
I am moving this issue to: Xpra-org/xpra-html5#308

Is your issue the same?
Does the bug occur if you just open the URL again, without restoring the tab?

from xpra.

zvooveDev avatar zvooveDev commented on July 22, 2024

Some findings from today:

  • I can not reproduce the error with Version 5.0.8-r0-1 (same Client Version 12)
  • I'm not using Xpra for Authentication but an OAuth2 Proxy
  • The issue differs from https://github.com/Xpra-org/xpra-html5/issues/308, the bug also occurs when I open the URL directly or Reload the Page.

from xpra.

totaam avatar totaam commented on July 22, 2024

I don't think that it will fix things, but worth a try:
https://github.com/Xpra-org/xpra-html5/releases/tag/v13

from xpra.

zvooveDev avatar zvooveDev commented on July 22, 2024

Updating to Xpra 6.1-r35816-1 and Client Version 13 did not have any effect on the issue. But it's interesting that 5.0.8-r0-1 works fine.

from xpra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.