Git Product home page Git Product logo

Comments (27)

Huuuze avatar Huuuze commented on July 19, 2024 7

This bug emphasizes the need for native proxy support. If native proxy support were added to the app, it'd be tested and bugs like this one would not likely be released in the wild.

from signal-desktop.

grufocom avatar grufocom commented on July 19, 2024 6

Error
at connect ([REDACTED]\resources\app.asar\preload.bundle.js:86:527148)
at vk.connectResource ([REDACTED]\resources\app.asar\preload.bundle.js:86:534838)
at vk.authenticate ([REDACTED]\resources\app.asar\preload.bundle.js:86:529317)
at vk.getAuthenticatedResource ([REDACTED]\resources\app.asar\preload.bundle.js:86:531017)
at vk.fetch ([REDACTED]\resources\app.asar\preload.bundle.js:86:531691)
at _promiseAjax ([REDACTED]\resources\app.asar\preload.bundle.js:86:545833)
at _retryAjax ([REDACTED]\resources\app.asar\preload.bundle.js:88:702)
at [REDACTED]\resources\app.asar\preload.bundle.js:88:798
Caused by: Error: createProxyAgent: all=true lookup is not supported

workaround: if you change the proxy settings from a fwdn to the ip-address the signal client can connect again!

there seems to be a bug in the name resolution.

a quick fix would be great! :-)
thx

from signal-desktop.

ayumi-signal avatar ayumi-signal commented on July 19, 2024 2

Hi! We released a fix in prod 7.5.1 and beta v7.6.0-beta.3 which both include the proxy fix, please try them.

As this issue pertains to an old version and previously resolved, future discussion can be consolidated to this topic:
#6857

from signal-desktop.

Ockenheimer avatar Ockenheimer commented on July 19, 2024 1

Same issue here at work

Clients not updated to 7.2.0 connect just fine.
Updated Clients won't connect

from signal-desktop.

aureq avatar aureq commented on July 19, 2024 1

@TheNetworkIsDown I agree with your latest sentence. Some have suggested to use an IP address instead of a hostname, and this is what I tried to set in my proxy.pac, but unfortunately this didn't work.

from signal-desktop.

TheNetworkIsDown avatar TheNetworkIsDown commented on July 19, 2024 1

@richlv see #6631 for an example

from signal-desktop.

aureq avatar aureq commented on July 19, 2024 1

@ayumi-signal The fix implemented in 7.5.1 appears to be working fine for me. Thank you for fixing Signal on desktop.

from signal-desktop.

ichEben avatar ichEben commented on July 19, 2024

Same issue here; Since Updating from 7.1.1 to 7.2 the proxy wont connect anymore.
Previous Version works fine

from signal-desktop.

ichEben avatar ichEben commented on July 19, 2024

Error at connect ([REDACTED]\resources\app.asar\preload.bundle.js:86:527148) at vk.connectResource ([REDACTED]\resources\app.asar\preload.bundle.js:86:534838) at vk.authenticate ([REDACTED]\resources\app.asar\preload.bundle.js:86:529317) at vk.getAuthenticatedResource ([REDACTED]\resources\app.asar\preload.bundle.js:86:531017) at vk.fetch ([REDACTED]\resources\app.asar\preload.bundle.js:86:531691) at _promiseAjax ([REDACTED]\resources\app.asar\preload.bundle.js:86:545833) at _retryAjax ([REDACTED]\resources\app.asar\preload.bundle.js:88:702) at [REDACTED]\resources\app.asar\preload.bundle.js:88:798 Caused by: Error: createProxyAgent: all=true lookup is not supported

workaround: if you change the proxy settings from a fwdn to the ip-address the signal client can connect again!

there seems to be a bug in the name resolution.

a quick fix would be great! :-) thx

i can confirm that this works! Thanks!

from signal-desktop.

Ockenheimer avatar Ockenheimer commented on July 19, 2024

Can confirm too.
Thanks a lot from Mainz @grufocom

from signal-desktop.

oijn avatar oijn commented on July 19, 2024

Can also confirm connection issue & temporary mitigation measure with https_proxy env var with Linux:

========= System info =========
App version: 7.2.0
Environment: production
Linux version: "KDE neon 6.0"
Node version: 20.9.0
OS version: #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2
Time: 1710408490560
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Signal/7.2.0 Chrome/122.0.6261.70 Electron/29.1.0 Safari/537.36

from signal-desktop.

RegularAdrian avatar RegularAdrian commented on July 19, 2024

Can also confirm that as of 7.2.0 (noticed this from Beta) that on Mac, proxies were an issue.

Can also confirm that the workaround of using IP address instead of the domain appears to work. So does appear to be an issue with name resolution.

from signal-desktop.

cboling2 avatar cboling2 commented on July 19, 2024

Me too!
Running Debian 12.
I launch signal-desktop-beta w/ a script that sets proxy env vars (using squid w/ authentication)
I can't guarantee what the last version I last used that worked (I didn't track updates that carefully, but last communication on the PC in question was Feb26), but I do know that 7.2.0-beta.2 & 7.3.0-beta.1 both exhibit the regression.

from signal-desktop.

TheNetworkIsDown avatar TheNetworkIsDown commented on July 19, 2024

You can switch to using a pac file. It wasn't working before but it is now working.

from signal-desktop.

aureq avatar aureq commented on July 19, 2024

@TheNetworkIsDown I didn't think Signal was actually ready a proxy.pac but it does. Unfortunately, setting an IP address instead of a hostname doesn't work either.

from signal-desktop.

TheNetworkIsDown avatar TheNetworkIsDown commented on July 19, 2024

@aureq Not sure what u mean. Unfortunately, there is no standard (like RFC) concerning the content of those env variables. It's not even clear if the variable name themselves should be in upper or lower case. From many apps I know that proxy support, especially (interactively) authenticated proxy or PAC, is abyssimal. Simply specifying an IP or hostname is the absolute minimum that should always work.

from signal-desktop.

TheNetworkIsDown avatar TheNetworkIsDown commented on July 19, 2024

@aureq No, the workaround is setting an IP address in the env variable directly. The pac file works either way. In case you use a pac file and it "doesn't work", what do the logs say? What does pactester say? If it "doesn't work" you should try to find out why it "doesn't work" or at least provide information what you did exactly so that someone can help.

from signal-desktop.

TheNetworkIsDown avatar TheNetworkIsDown commented on July 19, 2024

@aureq well if you think the pac file "doesn't work" you should probably open another issue with all the necessary information, as this is issue is not about pac files.

from signal-desktop.

microwan avatar microwan commented on July 19, 2024

with ip adress , it is working , thank for the tip , and you save me ;-)

from signal-desktop.

richlv avatar richlv commented on July 19, 2024

Wait, you can point it at pac? How, with the http[s]_proxy (lowercase, the mentioned uppercase seems to be misunderstanding of some users, mostly)?

As @Huuuze mentioned, this shows that proper proxy support with documentation would help a lot. Yes. the desktop Signal is not working for me for days...

from signal-desktop.

richlv avatar richlv commented on July 19, 2024

Thanks, that would be so wonderful to see in the official documentation.
For the record, changing to IP addresses helped here as well. To avoid obscuring the endpoint, a quick hack (Mac):

export http_proxy=http://$(dig +short host):8080; export https_proxy=http://$(dig +short host):8080; open -a Signal

from signal-desktop.

cboling2 avatar cboling2 commented on July 19, 2024

I confirm that specifying IP addr instead of host name makes it work again for me. Thanks!

from signal-desktop.

caramdache avatar caramdache commented on July 19, 2024

It seems 7.5.0 has broken proxies again. Had to go back to 7.2.0, but of course Signal tells me that this version has expired. I wish the obsolesence policy was a little more use friendly.

from signal-desktop.

RealLau avatar RealLau commented on July 19, 2024

It seems 7.5.0 has broken proxies again. Had to go back to 7.2.0, but of course Signal tells me that this version has expired. I wish the obsolesence policy was a little more use friendly.

bro, where to download pre build versions?

from signal-desktop.

ichEben avatar ichEben commented on July 19, 2024

can confirm that it's broken again.
The only Information in the logs:

WARN 2024-04-16T21:21:45.100Z SocketManager: authenticated socket connection failed with error: Error: Connection timed out
at [REDACTED]\resources\app.asar\preload.bundle.js:68:4534
at Timeout._onTimeout ([REDACTED]\resources\app.asar\preload.bundle.js:21:6507)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
INFO 2024-04-16T21:21:45.101Z SocketManager: reconnecting authenticated socket after 1000ms
ERROR 2024-04-16T21:21:45.101Z GET (WS) https://chat.signal.org/v1/config 0 Error
ERROR 2024-04-16T21:21:45.101Z GET (WS) https://chat.signal.org/v1/config 0 Error

from signal-desktop.

RegularAdrian avatar RegularAdrian commented on July 19, 2024

I can also confirm that it's broken again (even with an IP address used instead of a hostname) on 7.6.0-beta.1

Getting the same log results as ichEben

from signal-desktop.

richlv avatar richlv commented on July 19, 2024

Can confirm complete breakage with 7.5.0.
Trying to draw their attention on Mastodon, so far no luck:
https://mastodon.social/@richlv/112286212804377565

from signal-desktop.

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.