Replies: 6 comments
-
first of all, it would be nice to know what you mean with "I am not able to connect with a browser via mainsail". some people mean "klipper cannot connect to my printer" and mix it up with mainsail for example. pls post a screenshot what do you see. do you see mainsail itself, or do you see a browser warning "could not connect to xx.xx.xx.xx"? or do you see mainsail with the connecting dialog "cannot connect to moonraker"? |
Beta Was this translation helpful? Give feedback.
-
Hi Stefan,My apologies for not being clear. The browser is unable to connect to xx.xx.xx.xx. I do not see a mainsail screen in the browser of any type, just the browser error that it was unable to connect.Does that help?LeeSent from my iPhoneOn Feb 9, 2025, at 3:14 PM, Stefan Dej ***@***.***> wrote:
first of all, it would be nice to know what you mean with "I am not able to connect with a browser via mainsail". some people mean "klipper cannot connect to my printer" and mix it up with mainsail for example. pls post a screenshot what do you see. do you see mainsail itself, or do you see a browser warning "could not connect to xx.xx.xx.xx"? or do you see mainsail with the connecting dialog "cannot connect to moonraker"?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
ok thx! Mainsail is just a Webapp and it will be just delivered by a webserver (in a default setup, like KIAUH install it, its Nginx). So if you have a network connection between your client and the host (pi/sbc), then it could be an issue with your nginx config. pls check if nginx is running with and pls check these 2 urls:
both should show the same content. the first one only works, when nginx is running. the second one is directly to moonraker. |
Beta Was this translation helpful? Give feedback.
-
Hi Stefan:
Here are the results of the nginx command:
***@***.***:~ $ sudo systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2025-02-09 15:17:09 PST; 16h ago
Docs: man:nginx(8)
Process: 562 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 571 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 577 (nginx)
Tasks: 5 (limit: 1595)
CPU: 219ms
CGroup: /system.slice/nginx.service
├─577 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─578 nginx: worker process
├─579 nginx: worker process
├─580 nginx: worker process
└─581 nginx: worker process
Feb 09 15:17:08 VoronR2-01 systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 09 15:17:09 VoronR2-01 systemd[1]: Started A high performance web server and a reverse proxy server.
***@***.***:~ $
For the http commands, I tried both variations (IP and hostname) and I get the same results:
Hmmm… can't reach this page
http://voronr2-01.local:7125/server/info is unreachable.
ERR_ADDRESS_UNREACHABLE
Could this be a router issue?
Lee
… On Feb 9, 2025, at 10:11 PM, Stefan Dej ***@***.***> wrote:
ok thx!
Mainsail is just a Webapp and it will be just delivered by a webserver (in a default setup, like KIAUH install it, its Nginx). So if you have a network connection between your client and the host (pi/sbc), then it could be an issue with your nginx config.
pls check if nginx is running with sudo systemctl status nginx.
and pls check these 2 urls:
http://<ip or hostname>/server/info
http://<ip or hostname>:7125/server/info
both should show the same content. the first one only works, when nginx is running. the second one is directly to moonraker.
—
Reply to this email directly, view it on GitHub <#2142 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHWG2ROWL4U6WPM4GJ2S4RT2PA7HPAVCNFSM6AAAAABWZG5MS2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJRGM4TGMY>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Hi Stefan,
Well, I’m a fool. I have been attempting to connect via my MacBook Pro. That’s where I’m having trouble. I attempted to connect via my Windows PC and mainsail came up just fine and is working. In short - there’s no problem. I need to figure out what’s blocking it on my Mac.
You can close this ticket. Thanks for the assistance!
Lee
… On Feb 9, 2025, at 10:11 PM, Stefan Dej ***@***.***> wrote:
ok thx!
Mainsail is just a Webapp and it will be just delivered by a webserver (in a default setup, like KIAUH install it, its Nginx). So if you have a network connection between your client and the host (pi/sbc), then it could be an issue with your nginx config.
pls check if nginx is running with sudo systemctl status nginx.
and pls check these 2 urls:
http://<ip or hostname>/server/info
http://<ip or hostname>:7125/server/info
both should show the same content. the first one only works, when nginx is running. the second one is directly to moonraker.
—
Reply to this email directly, view it on GitHub <#2142 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHWG2ROWL4U6WPM4GJ2S4RT2PA7HPAVCNFSM6AAAAABWZG5MS2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJRGM4TGMY>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Hi Stefan,
Just a quick follow up. I figured out the issue. It was with my Mac and Edge on the Mac. On the Mac, I had to go into System Settings -> Privacy & Security -> Local Network and enable that for Edge. Once I did that, I could get to Mainsail from Edge.
After I could get to Mainsail from another computer I had tried Safari on my Mac and I could get to it there too. Then it was just figuring out what permission was missing.
Thanks again!
Lee
… On Feb 9, 2025, at 10:11 PM, Stefan Dej ***@***.***> wrote:
ok thx!
Mainsail is just a Webapp and it will be just delivered by a webserver (in a default setup, like KIAUH install it, its Nginx). So if you have a network connection between your client and the host (pi/sbc), then it could be an issue with your nginx config.
pls check if nginx is running with sudo systemctl status nginx.
and pls check these 2 urls:
http://<ip or hostname>/server/info
http://<ip or hostname>:7125/server/info
both should show the same content. the first one only works, when nginx is running. the second one is directly to moonraker.
—
Reply to this email directly, view it on GitHub <#2142 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHWG2ROWL4U6WPM4GJ2S4RT2PA7HPAVCNFSM6AAAAABWZG5MS2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJRGM4TGMY>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am not able to connect with a browser via mainsail. SSH is working. I have tried with the hostname that my router sees and with the IP address that is attached to the pi. Nothing works and I'm not seeing any error messages.
I have found this on many threads, but all of the solutions seem to fail. I can't connect to my printer from a browser. SSH is working fine. Hardware info: Voron R2.4 from LDO. Raspberry PI v3B+, with Octopus controller. I installed Klipper, Moonraker and Mainsail with KIAUH. All are at the latest version. I have removed and re-installed mainsail, but it does not help. There are no errors that I have found. mainsail-access.log and mainsail-error.log are both empty. It "feels" like something is not running, but I'm stumped.
I'm attaching the moonraker log and my mainsail and moonraker config files (config files as .txt files). Let me know if any other files would help.
Any assistance or ideas are greatly appreciated!
moonraker.log
mainsail.txt
moonraker.txt
Beta Was this translation helpful? Give feedback.
All reactions