-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can connect with URL links, but not via config (Windows 11, Halloy v2024.14) #678
Comments
@KaiKorla Do you have any idea about this? |
Sounds like a network issue. @Alcatraz077: Could you provide how you are connecting to the Internet? Direct connect or any use of a proxy? Try to ping the server from the command line "ping irc.libera.chat" and provide the output. tyvm. |
I cannot reproducing it for now. I installed via winget on a fresh windows 11 and it's just connecting and working. Make sure not using any proxy, TOR connection or anything like this. Could you try another server:port (see https://libera.chat/guides/connect). tyvm. |
Hello @edassis, tyvm for reporting back. I'll try to help you further and find a solution. I need some more information:
regards |
Apologies for the delay. Just connected straight to my ISP. Ping results:
Since you asked edassis, I'll answer those same for me.
|
@Alcatraz077 Please do the following:
tyvm |
Sure, attached. |
If you haven't done it yet, please add the port configuration field (https://halloy.squidowl.org/configuration/servers/index.html#port) in the Halloy configuration file and try on different ports then the default (which is 6697). Libera provides the following usable ports: Plain-text | 6665-6667, 8000-8002 I suggesting to try a plain-text (for testing purpose) first and then the alternate TLS ports (7000, 7070). Looking forward to your results. regards Kai |
Kai, Did so, and between each port change I restarted Halloy and no dice. |
|
I have no further ideas, as id dont know whats happen at connection level. :-( @casperstorm: Is there a way to get more DEBUG/TRACE output from Halloy? Would be good to know whats happen at connection level (TcpStream/TlStream). |
To me it sounds like a issue on your ISP end 🤔 |
Tried connecting using my mobile internet, Hexchat connected, Halloy not (same symptom). Tried in another Windows 11 PC around here, same version than mine, same network, different user and apps, Halloy installed via winget, didn't work. I have a Windows 10 boot, will give it a try later and update the post. |
I've got a VPN back to a different ISP, and no change. I'll also second edassis that testing with a different IRC client (Hexchat, in my case) works on both ISPs using the same machine.
I can spin up a Windows 10 VM sometime today and test.
Jan 12, 2025 9:41:49 AM Eduardo Assis ***@***.***>:
…
Tried connecting using my mobile internet, Hexchat connected, Halloy not (same symptom).
I have a Windows 10 installation, will give it a try later and update the post.
—
Reply to this email directly, view it on GitHub[#678 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFB2YXRTQTYSNNXFRNZPHDL2KKELZAVCNFSM6AAAAABTXX3P3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVG44DGOBVGY].
You are receiving this because you were mentioned.
[Tracking image][https://github.com/notifications/beacon/AFB2YXTOFFTZCZ5VA22EZID2KKELZA5CNFSM6AAAAABTXX3P3SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU2D7XDA.gif]
|
Another hint: Please make sure that there is no config.toml in the directory where Halloy.exe is in. |
Thanks for these updates. Will investigate. I'm on Windows 11 with Halloy as my daily driver without any issues so it's a bit strange. Sorry for the troubles. |
Microsoft.VCRedist.2015+.x64 should be installed via WINGET automatically. Halloy will not start if this package is not installed anyway. This looks like this: We are not bundling this with the Halloy installer. @Alcatraz077 & @edassis please try the following:
regards |
Did netsh advfirewall firewall show rule name="Halloy"
Nome da Regra: Halloy
----------------------------------------------------------------------
Habilitado: Sim
Direção: Saída
Perfis: Domínio,Particular,Público
Agrupamento:
LocalIP: Qualquer
RemoteIP: Qualquer
Protocolo: Qualquer
Travessia da borda: Não
Ação: Permitir
Ok. No luck. No connection through Halloy. |
After running the |
@Alcatraz077 + @edassis: Could you retry with the current release, please. Make sure that prerequisites are installed: winget install Microsoft.VCRedist.2015+.x64 tyvm. |
Installed the new version (2025.1) from the Tried a clean install. Assured the dependency was installed too. Also tried to install it in a folder different from |
@edassis Does it crash at launch? It seems so from the halloy.log. Have you seen what is in the Event Viewer application? Could you post that to this thread? See: https://community.microcenter.com/kb/articles/733-how-to-use-event-viewer-in-windows-11 |
From the Error - System restore - 12:58:40 04/02/2025 Warning - Kernel-EventTracing - 12:58:38 04/02/2025 Around this time (12:58) was when I installed the new version of halloy I did the test from earlier. These logs are the only ones that seems related with halloy. If you want me to send some specific log event let me know. |
I think it is Windows blocking the connection for some reason then. Perhaps we need to ask for firewall or network permissions when connecting the first time on Windows to get some elevated permissions for Halloy 🤔 |
@KaiKorla I just investigated this some more, and currently i think the issue is we dont request elevated permissions for any Inbound Rules for Windows Defender Firewall. I noticed other clients request it either on installation or when you connect the first time. Eg. take a look at It requests Inbound rules for both TCP and UDP for all ports. |
@edassis, if you have time - could you test below Windows installer and see if it let's you connect with the following config: [servers.liberachat-test]
nickname = "edassis"
server = "irc.libera.chat"
channels = ["#halloy"] |
Dont know why open all ports for both UDP and TCP. Maybe for DCC? I wouldnt recommend this. |
Hi, of course. Did the tests. Desinstalled my previous halloy installation and did a new one using the provided zip. No difference. Halloy doesnt connect.
Tried it. Disabled antivirus realtime protection and the windows firewall for testing. No difference. Maybe it isn't related to the Windows network (firewall rules, antivirus) and be some other thing? I don't know, but it seems that what we could test related to network configs we did. A clean install on Windows 10 using 2024.14.0 worked without any intervention from my part. This leads me to believe that has something conflicting/broke with Halloy when running specifically on Windows 11. |
I run Windows 11, without any issues. |
Yeah, what leads me to believe that this is probably something related to my Windows installation. But what? And, when I start to think of this way, I have the counterargument that: in another Windows 11 install, managed by another user but in the same LAN, the Halloy also didn't work. Can be the case that both of us have the same problematic agent on both systems (something like a program that both of us uses?). A hard case to analyze, I would say. I don't know what else I can try. I was giving a look in tracing/sys tools to help me diagnose the halloy execution and try to understand better what is happening. But I'm pretty novice on these themes and don't figure way to do it yet.
Connections to EFnet and QuakeNet returned me some errors: |
@edassis Let me know the result once you have tested the above quakenet server :) |
I believe we have fixed this now. I have merged a fix to main, which will be released in next version (2025.2). |
Worked! Thank you all for sorting this out! I would like to make a suggestion, maybe this motivates a future PR: During the tests, we saw the need to setup the Windows' firewall to permit inbound connections. As discussed here:
I noticed that the programs who needs to create inbound rules do it when trying to access the internet. I reseted my firewall rules during the tests for this issue and, when I opened Intellij per example, the UAC prompted asking if I want to permit said app to make connections on my network (public, private). This check happens every time I open the app, so if I clean the rule for it in the firewall and open it again, I will receive a UAC prompt again asking what to do. Like this one: Maybe it's feasible to implement something similar here. Congrats per the project :) |
Hello,
I just downloaded Halloy and attempted to use it. Clicking an IRC URL (ex. irc://irc.snoonet.org/reddit) will connect me. I'm unable to connect to Librachat's #halloy channel, as it doesn't seem to exist if I search for it via Librachat's own site. Hence, I'm making an issue here. I've changed the channel in my config to #linux, due to this, but I'm still unable to make a connection. If I use the default config that comes with Halloy, with the only change being my username; it will not connect. It simply shows
connecting to server...
over and over. As a note, the config is as follows:Logs:
This is on Windows 11, using version Halloy 2024.14 that was installed via the
winget
method as noted in the documentation. I thought perhaps it was just a Windows firewall issue, so I've gone ahead and made explicit rules to allow Halloy to connect. No dice.It's possible that this is user error, however, considering I'm using the default configuration I don't think that's the case. I also don't think it's a Windows or ISP issue, since clicking IRC URLs works without issue. Please let me know what other information I can provide to help resolve this, as it seems odd to me that I'm running into this issue.
The text was updated successfully, but these errors were encountered: