-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
[MacOS]: Websocket infinite reconnection for locally hosted instance, all browsers are affected #1632
Comments
Which port do you use to connect to your printer on my.mainsail.xyz? |
It’s the default 7125
…On Mon, Oct 30, 2023 at 21:18 Stefan Dej ***@***.***> wrote:
Which port do you use to connect to your printer on my.mainsail.xyz?
—
Reply to this email directly, view it on GitHub
<#1632 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABW4M2FXL5BHKK672YQ2GQ3YB6SK3AVCNFSM6AAAAAA6VYIIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVGE4DAMRTGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
What happen, if you use port 80? |
When I connect to port 80, it will not be able to connect to the websocket.
…On Mon, Oct 30, 2023 at 22:48 Stefan Dej ***@***.***> wrote:
What happen, if you use port 80?
—
Reply to this email directly, view it on GitHub
<#1632 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABW4M2BEYHCAB2XPIST7BXLYB644JAVCNFSM6AAAAAA6VYIIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVGM4DCNBQGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Pls upload you moonraker.log and your nginx config. |
i double-checked your conversation with arksine in the moonraker repo. i also tested today all my mac devices and i cannot find any issue. my mac mini is running 13.5.1 -> without issues i tested on every os version safari + chrome |
Meteyou informed me in the Moonraker issue that Fluidd connects to port 7125 by default. Given this, it sounds like its an issue with nginx. In addition to the log files requested by meteyou, I would recommend double checking to see if If they aren't there then we should be able to get them via scp. I'm not familiar with MacOS but I presume it is very similar to linux. In a future version of MainsailOS it might be worthwhile to provide a symbolic link to the nginx configuration in the |
@Arksine we have now another user on our discord server with the same issue. He only create a new user on the identical Mac and it works with the new user. So it's an issue with one specific MacOS version with some user settings, but we don't know which... |
@meteyou I'm using the latest MacOS Sonoma. My M1 Mac is not working; my 2016 Intel MacBook was able to access the printer's local DNS but is using an old MacOS version. |
@SpaghettiC0des i tested it yesterday with my MacBook air M1 with the newest updates and I can't reproduce this issue. |
@meteyou, thanks for checking! I have only one app installed that modifies the network settings, freedom.to. But I don't think it's causing the issue because I turn it off when using the printer. Local DNS' port |
I cannot reproduce this issue and there are also no other users with this bug. So it look like an issue with your specific setup. I will reopen this post, if there are more users with this bug and it is possible to reproduce it. |
I have this same issue, even after reinstalling MacOS. Please fix this, as I have been forced to switch to Fluidd, though I prefer Mainsail. The weird issue is that Mainsail did work before, but suddenly stopped working one day. 🤷♂️ |
I found the issue and found a solution. The issue is that the Raspberry Pi's OS(Ubuntu) datetime, which is out of sync and it is causing some issues with the SSL(?). Try running |
the system time, should only be important with SSL/https. But you have to keep in mind, when you connect from https://my.mainsail.xyz you have also to use moonraker with SSL, because your browser only allow to connect from a SSL website to a SSL secure websocket. |
@SpaghettiC0des Any help would be appreciated. |
@3DCoded do you use SSL to connect to mainsail? |
I don't think I use SSL to connect to Mainsail. I just used the default install from KIAUH. |
I think the system time is only important for SSL, so this should not be a problem in your case. |
@SpaghettiC0des Did you ever figure this out? I'm having the same issue on Mac |
I ended up wiping my Pi several times and reinstalling my VPN to make it work. |
@3DCoded to be honest. It is no issue with the Pi. its just a MacOS/Safari issue. so wiping the pi will not fix this issue... |
I've had other weird network issues on my Mac where it just won't connect to certain websites or servers that my phone or PC have no problem with. Is there some way to hard reset a Mac's network settings? I couldn't find anything good online |
@jpwolfe9912 if this would be a generic "mac network issue", then we would also have issues with other browsers, but this issue only exists with Safari (and maybe only in one single version of it) |
I'm not exactly sure why wiping the Pi fixed it. My installation of Mainsail may have been corrupted. For some reason, it still only loads now if I install Fluidd on port 80, and Mainsail on Port 81. This also happens with Chrome. |
@3DCoded then you have a different issue. This issue here is only a Safari issue. |
Part of the issue might be with the Pi but I think it's mostly the Mac. Doesn't work on any browser. Weirdly enough, if I use my Windows VM on my Mac, it works fine... isn't that weird. |
@jpwolfe9912 then it is a different issue then this issue here. Feel free to open a post in the support-forum on our discord or here in the discussions section. This issue here is only for the issue between safari on Mac and your host. |
we found a possible reason for this issue. pls check the post in the "new" issue and pls give some feedback: #1774 (comment) |
Mainsail Version:
2.8.0
Browser:
Safari
Device:
Laptop
Operating System:
macOS
What happened?
The issue was initially posted here Arksine/moonraker#726 and Rat-OS/RatOS#106.
Similar issue from a guy on Reddit, https://www.reddit.com/r/klippers/comments/16u2jt9/cant_connect_to_moonraker_ip_on_mac_but_can_on/?utm_source=share&utm_medium=web2x&context=3
What did you expect to happen instead?
It should work on MacOS Sonoma
How to reproduce this bug?
Open the
.local
DNS for example mine isratos.local
in any browser using MacOS Sonoma.Additional information:
The text was updated successfully, but these errors were encountered: