Skip to content
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

Issue to conect with moontaker #8

Open
M1k1m40 opened this issue Mar 15, 2023 · 19 comments
Open

Issue to conect with moontaker #8

M1k1m40 opened this issue Mar 15, 2023 · 19 comments

Comments

@M1k1m40
Copy link

M1k1m40 commented Mar 15, 2023

Problem connecting fluidd with moonraker.
The explorer throws:
1- There is no connection to Moonraker. Check Moonraker's status and/or refresh the page.
image
2- 500 Internal Server Error. nginx/1.18.0
image
3-No Safe
image
This site does not have a certificate.
Because this connection is not secure, information (such as passwords or credit cards) will not be sent securely to this site and may be intercepted or viewed by other users.

I have tried it in several explorers.
I have updated nginx
I tried to change the security settings of the explorer
Any suggestion?

@gaifeng8864
Copy link
Owner

Problem connecting fluidd with moonraker. The explorer throws: 1- There is no connection to Moonraker. Check Moonraker's status and/or refresh the page. image 2- 500 Internal Server Error. nginx/1.18.0 image 3-No Safe image This site does not have a certificate. Because this connection is not secure, information (such as passwords or credit cards) will not be sent securely to this site and may be intercepted or viewed by other users.

I have tried it in several explorers. I have updated nginx I tried to change the security settings of the explorer Any suggestion?

What about adding port 7125 after the ip address? Like this 192.168.6.130:7125

@M1k1m40
Copy link
Author

M1k1m40 commented Mar 15, 2023

I did it I tried many combinations. -no work.
Reinstall and update nginx package- no work
tutorial from internet about issue 500- no work
Conect the system to other net - same prooblem
reinstall all - same problem.
Im goint to mount other room in my movil and try again.

Differences regarding its installation:
xiaomi 6a
Other ROM version 9
putty
WinSCP

@gaifeng8864
Copy link
Owner

I did it I tried many combinations. -no work. Reinstall and update nginx package- no work tutorial from internet about issue 500- no work Conect the system to other net - same prooblem reinstall all - same problem. Im goint to mount other room in my movil and try again.

Differences regarding its installation: xiaomi 6a Other ROM version 9 putty WinSCP

Can the klipperscreen interface be displayed normally?

@M1k1m40
Copy link
Author

M1k1m40 commented Mar 16, 2023

Can the klipperscreen interface be displayed normally?

The screem is white when start. Is it normal?

@gaifeng8864
Copy link
Owner

Can the klipperscreen interface be displayed normally?

The screem is white when start. Is it normal?

just white? Doesn't it show anything else? Can you take a screenshot.

@M1k1m40
Copy link
Author

M1k1m40 commented Mar 17, 2023

1-Libian run and mobil conected.
2-Start XServer-XSDL
3-Black screen with data and count down
3-Screem blue with data of conexion like IP, ports etc...
4-Touch the screem blue and color change to white.
Captura de pantalla 2023-03-17 111428

If your need the data of blue screem tell me and I send you. (Is it safe for me?)

@gaifeng8864
Copy link
Owner

1-Libian run and mobil conected. 2-Start XServer-XSDL 3-Black screen with data and count down 3-Screem blue with data of conexion like IP, ports etc... 4-Touch the screem blue and color change to white. Captura de pantalla 2023-03-17 111428

If your need the data of blue screem tell me and I send you. (Is it safe for me?)

It looks like XServer-XSDL is normal. You can test XServer-XSDL startup alone without starting linuxdeploy. If this is still the case, then XServer-XSDL is normal.
After eliminating the XServer-XSDL problem, I highly recommend that you install linuxdeploy and klipper from scratch. Also, you can use my configuration files to start the test, until they can be displayed on the web and klipperscreen, and then you can personalize the settings for your printer motherboard. In this way, other interfering phonemes can be excluded as much as possible. Also, by the way, what is the model of your printer motherboard, because the USB interface using the CH340 chip cannot be directly driven, so if your motherboard happens to be like this, I suggest you consider using other solutions instead of mine plan.

@M1k1m40
Copy link
Author

M1k1m40 commented Mar 20, 2023

My board is bigtreetech-skr-v1.4. chip LPC1768
image

I`ll try reinstall linuxdeply, Klipper, and moonraker again but the same issue . I´ll try other soluttions.
Th

@gaifeng8864
Copy link
Owner

My board is bigtreetech-skr-v1.4. chip LPC1768 image

I`ll try reinstall linuxdeply, Klipper, and moonraker again but the same issue . I´ll try other soluttions. Th

Software compatibility issues can be very frustrating indeed. The Android system is complex and huge, and the problems of each model are different. If none of the methods we communicated above solve your problem, you can only try to change the Android ROM to another version. It is not recommended to use Android 9 and above.

@AyrtonRicardo
Copy link

AyrtonRicardo commented Jun 18, 2023

If you're having the issue where fluidd or mainsail are not able to connect to moonrake, it might be that your configuration for nginx is wrong, try:

check if they are running

sudo /etc/init.d/moonrake status
sudo /etc/init.d/klipper status

if they are, it might mean nginx issues, but let's try accessing url http://<device ip>:7125, it should show you the state of moonrake, if this page doesnt open, your moonrake is not working, so try to debug moonrake, otherwise move forward:

sudo vim /etc/nginx/nginx.conf
# change line "user www-data" to "user print3D", here you should replace the user you're using
# save and exit

sudo service nginx restart

this will make your nginx access the folders as 'print3D' instead of 'www-data' user.

@gaifeng8864
Copy link
Owner

If you're having the issue where fluidd or mainsail are not able to connect to moonrake, it might be that your configuration for nginx is wrong, try:

check if they are running

sudo /etc/init.d/moonrake status
sudo /etc/init.d/klipper status

if they are, it might mean nginx issues, but let's try accessing url *http://:7125`, it should show you the state of moonrake, if this page doesnt open, your moonrake is not working, so try to debug moonrake, otherwise move forward:

sudo vim /etc/nginx/nginx.conf
# change line "user www-data" to "user print3D", here you should replace the user you're using
# save and exit

sudo service nginx restart

this will make your nginx access the folders as 'print3D' instead of 'www-data' user.

good job. Thank you for sharing your experiences and methods. Do you need to add the port number 7125 after the IP address when you use the slicer software to connect to the klipper printer? My printer uses the Android klipper solution, but when connecting to the slicing software, the port number 7125 needs to be added after the IP address to connect normally. When using the Raspberry Pi before, you can directly enter the IP address, and you don’t need to add the port number 7125.

@AyrtonRicardo
Copy link

Do you need to add the port number 7125 after the IP address when you use the slicer software to connect to the klipper printer?

I did not know I could just send files from my slicer to my printer lol
Thanks for the tip.

In my case I don't need to add the port, I can directly configure the device ip and it connects to klipper, even if my printer is not powered on.

@gaifeng8864
Copy link
Owner

Do you need to add the port number 7125 after the IP address when you use the slicer software to connect to the klipper printer?

I did not know I could just send files from my slicer to my printer lol Thanks for the tip.

In my case I don't need to add the port, I can directly configure the device ip and it connects to klipper, even if my printer is not powered on.

Looks like something is wrong with some of my settings. Can you share your config file? Includes klipper, moonraker and fluiid

@AyrtonRicardo
Copy link

Do you need to add the port number 7125 after the IP address when you use the slicer software to connect to the klipper printer?

I did not know I could just send files from my slicer to my printer lol Thanks for the tip.
In my case I don't need to add the port, I can directly configure the device ip and it connects to klipper, even if my printer is not powered on.

Looks like something is wrong with some of my settings. Can you share your config file? Includes klipper, moonraker and fluiid

exactly the same as yours, I just run the tutorial

@gaifeng8864
Copy link
Owner

Do you need to add the port number 7125 after the IP address when you use the slicer software to connect to the klipper printer?

I did not know I could just send files from my slicer to my printer lol Thanks for the tip.
In my case I don't need to add the port, I can directly configure the device ip and it connects to klipper, even if my printer is not powered on.

Looks like something is wrong with some of my settings. Can you share your config file? Includes klipper, moonraker and fluiid

exactly the same as yours, I just run the tutorial

It seems that there is still a problem that has not been discovered, but this situation does not affect the use, so let's do it for the time being.

@UnCornetto
Copy link

Hi, I think I may have a similar problem! When I installed the first time, not all components wanted to install because there was a DNS problem. I added google DNS and everything went as expected. Everything installed and worked as it should. The problem appeared after a certain update and I could not connect to moonraker. I reformatted the phone to install the whole system from scratch. Everything installed without any error but I am still unable to connect to moonraker and the klipperScreen is white. I'm not very good with linux but when I type the command sudo systemctl status moonraker I get Running in chroot, ignoring command 'status'. Same with start, restart etc. I think this might be the problem because scrypt is not running klipper, moonraker, klipperScreen, fluidd. Any thoughts? I would greatly appreciate your help.

@gaifeng8864
Copy link
Owner

Hi, I think I may have a similar problem! When I installed the first time, not all components wanted to install because there was a DNS problem. I added google DNS and everything went as expected. Everything installed and worked as it should. The problem appeared after a certain update and I could not connect to moonraker. I reformatted the phone to install the whole system from scratch. Everything installed without any error but I am still unable to connect to moonraker and the klipperScreen is white. I'm not very good with linux but when I type the command sudo systemctl status moonraker I get Running in chroot, ignoring command 'status'. Same with start, restart etc. I think this might be the problem because scrypt is not running klipper, moonraker, klipperScreen, fluidd. Any thoughts? I would greatly appreciate your help.

Use "service moonraker status" to see how the service is running. In this scenario, systemctl is unusable. In addition, you said that this problem occurred after an update, you can check the status of the update bar on the web page. Then make plans.

@UnCornetto
Copy link

Hi, I think I may have a similar problem! When I installed the first time, not all components wanted to install because there was a DNS problem. I added google DNS and everything went as expected. Everything installed and worked as it should. The problem appeared after a certain update and I could not connect to moonraker. I reformatted the phone to install the whole system from scratch. Everything installed without any error but I am still unable to connect to moonraker and the klipperScreen is white. I'm not very good with linux but when I type the command sudo systemctl status moonraker I get Running in chroot, ignoring command 'status'. Same with start, restart etc. I think this might be the problem because scrypt is not running klipper, moonraker, klipperScreen, fluidd. Any thoughts? I would greatly appreciate your help.

Use "service moonraker status" to see how the service is running. In this scenario, systemctl is unusable. In addition, you said that this problem occurred after an update, you can check the status of the update bar on the web page. Then make plans.

A small update! Maybe it will be useful to someone in the future. All because of my stupid mistake. Everything started working correctly after I connected the printer to the phone and executed bash configuration_klipper_family.sh. I know the manual says to do this, but I didn't have access to the printer for a while and wanted to configure the phone first. Without connecting to the printer it is impossible. Everything works awesome for this moment, thank you very much for your work!

@gaifeng8864
Copy link
Owner

Hi, I think I may have a similar problem! When I installed the first time, not all components wanted to install because there was a DNS problem. I added google DNS and everything went as expected. Everything installed and worked as it should. The problem appeared after a certain update and I could not connect to moonraker. I reformatted the phone to install the whole system from scratch. Everything installed without any error but I am still unable to connect to moonraker and the klipperScreen is white. I'm not very good with linux but when I type the command sudo systemctl status moonraker I get Running in chroot, ignoring command 'status'. Same with start, restart etc. I think this might be the problem because scrypt is not running klipper, moonraker, klipperScreen, fluidd. Any thoughts? I would greatly appreciate your help.

Use "service moonraker status" to see how the service is running. In this scenario, systemctl is unusable. In addition, you said that this problem occurred after an update, you can check the status of the update bar on the web page. Then make plans.

A small update! Maybe it will be useful to someone in the future. All because of my stupid mistake. Everything started working correctly after I connected the printer to the phone and executed bash configuration_klipper_family.sh. I know the manual says to do this, but I didn't have access to the printer for a while and wanted to configure the phone first. Without connecting to the printer it is impossible. Everything works awesome for this moment, thank you very much for your work!

is good news. So glad you did it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants