Welcome to Our Community

Some features disabled for guests. Register Today.

Nothing is responding

Discussion in 'Control Software' started by Chris Wailes, Apr 13, 2020.

  1. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Hey everyone, I am a newbie and everything was going great today and then all of a sudden, everything stopped working. OpenBuilds CONTROL became very slow to respond to anything I want to do. Also, the Serial Console shows the below. I don't know what to do. Any help is greatly appreciated.

    [20:43:44] [ 3D Viewer ] WebGL Support found! success: this application will work optimally on this device!

    [20:43:45] [ Websocket ] Bidirectional Websocket Interface Started

    [20:43:50] [ update ] Checking for Updates

    [20:43:51] [ update ] You are already running OpenBuilds CONTROL 1.0.215

    [20:48:20] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:48:52] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:49:27] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:50:00] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:50:30] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:51:02] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:51:34] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:52:08] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:52:40] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:53:21] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed

    [20:54:00] [ Websocket ] Disconnected. OpenBuilds CONTROL probably quit or crashed
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    CONTROL crashed, reboot the PC, or quit it from the system tray icon and start again
     
  3. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Thanks Peter, I tried that as well. Just nothing is responding.
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Do you have another PC to try with?

    What exactly happens/doesn't happen?
    Still same errors in log?
     
  5. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Yes. I plugged in the CNC to my laptop as well and installed OpenBuilds. OpenBuilds does not freeze off and on while running on the laptop like it does when I have it running on my desktop, but I still get the same errors. As for what it does and doesn't do, I can turn on and off the spindle but if I try to jog any of the axis's they don't move. I have one of those cheap engraving/cnc machines from China (3018 Pro) and I suspect that the stepper drivers may have gone out or something in the machine settings somehow changed and now it isn't responding. Below are my firmware settings so maybe there is something there that is wrong, but I am not sure what to look for. I have no endstops installed or any extras.

    $0 10 Step pulse time
    $1 255 Step idle delay
    $2 0 Step pulse invert
    $3 4 Step direction invert
    $4 1 Invert step enable pin
    $5 0 Invert limit pins
    $6 0 Invert probe pin
    $10 1 Status report options
    $11 0.020 Junction deviation
    $12 0.002 Arc tolerance
    $13 0 Report in inches
    $20 0 Soft limits enable
    $21 0 Hard limits enable
    $22 0 Homing cycle enable
    $23 3 Homing direction invert
    $24 100.000 Homing locate feed rate
    $25 1000.000 Homing search seek rate
    $26 250 Homing switch debounce delay
    $27 5.000 Homing switch pull-off distance
    $30 20000 Maximum spindle speed
    $31 0 Minimum spindle speed
    $32 0 Laser-mode enable
    $100 800.000 X-axis travel resolution
    $101 800.000 Y-axis travel resolution
    $102 800.000 Z-axis travel resolution
    $110 2500.000 X-axis maximum rate
    $111 2500.000 Y-axis maximum rate
    $112 2500.000 Z-axis maximum rate
    $120 150.000 X-axis acceleration
    $121 150.000 Y-axis acceleration
    $122 150.000 Z-axis acceleration
    $130 1000.000 X-axis maximum travel
    $131 1000.000 Y-axis maximum travel
    $132 100.000 Z-axis maximum travel
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Best to mention non-standard info early on - i'd be expecting an OpenBuilds machine/controller by default after all

    So our controllers need $4=1 (enabled) because both the xPro and BlackBox has inverted driver-enable signals. Your controller, probably doesn't, so try with $4=0 (disabled) in Grbl Settings
     
    #6 Peter Van Der Walt, Apr 14, 2020
    Last edited: Apr 14, 2020
  7. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    The controller board I have is a Woodpecker 3.2A (Grbl). I will try what you suggest though. Thank you.
     
    Peter Van Der Walt likes this.
  8. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Ok, so I changed what you suggested but also looked at settings others had for this particular control board and machine. Somehow, my settings were way off. As soon as I did that, the stepper motors now move. However, I can't get it to work with OpenBuilds CONTROL. I still get that same error of Websocket being disconnected. Also, it will appear in my "hidden icons" tray, but the program doesn't come up unless I click it's icon in that tray, even they it is running? So to recap, I can now get Candle, USG and other software to work, but OpenBuilds Control won't connect and is very, very slow to respond. It was very fast when I initially installed it a few days ago, so I don't know what has changed.
     
  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Remember to close all the other software before running CONTROL, some (CNCJS etc) may use same resources leading to crash

    Specs of the PC?

    Try a different PC

    It runs as a service yes, so the integrations from for example cam.openbuilds.com, file associations for obc files, etc can function before you run it
     
  10. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    The specs for my PC are as follows. It is a custom built machine, using a i7-5820K CPU @ 3.30GHz, 32GB of RAM, 64-bit operating system running Windows 10 Pro. It has a GeForce GTX 970 video card and it has two SSD drives 1 at 250GB and 1 at 1TB. The motherboard is an ASUS X99.

    I just tried it on my laptop and OpenBuilds works perfectly. So I am thinking something is going on with the OpenBuilds install on my desktop. Any ideas? I have tried uninstalling it and reinstalling it.
     
  11. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Incompatible with something running on it. Make sure to close extra applications, make sure its allowed through any local firewalls / antivirusses etc
    Websockets run on ports 3000/3001
     
  12. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Ok, I have gone in and made sure those two ports are open. The program when it starts is extremely slow to respond. It still gives me the websocket errors.
     
  13. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    As it works on the other PC, and the other several thousand users without complaint, I don't know what more to tell you. Nothing I can do for you.
    Use the laptop, format the PC, update drivers, call the IT guys :)
     
  14. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    I do notice on my laptop at the top I have Control, GRBL Settings and Troubleshooting. However, on my desktop I only have Control and Troubleshooting.
     
  15. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Grbl settings only appear after succesfully connecting to grbl

    Only thing I can check: On the PC where it doesnt work, bring up CONTROL,
    Press ctrl+shift+i to open devtools, and click the Console tab - press F5 to refresh the application. Screenshot the window and post here
     
  16. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Yea, I don't know what to do. I will just wait for the next update on the software and maybe that will jar things loose.
     
  17. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Do that while you wait

    V1.0.223 is due in about an hour see OpenBuilds CONTROL Software
     
  18. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Ok, one thing I noticed is on the laptop it is running v1.0.223 and on the desktop it is running v1.0.215 and it won't update. Could that have something to do with it?
     
  19. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Nope, but please, do the test I asked for and I'll reply accordingly, looking at the log will get us further than guessing (;
     
  20. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    see attached screenshot.
     

    Attached Files:

  21. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Could not connect to the localhost:3000 websocket server... so

    still stands... Something else on the PC may be tying up port 3000/3001, or its blocked by something
    More likely the first, error 400 means there is something responding on port 3000 but its not our websocket server - request was sent to an instance which did not know the given socket id, hence the HTTP 400 response.
     
  22. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Checkout {{ service.title }} - substitute 8080 from the tutorial for 3000

    Or try opening a web browser to localhost:3000
     
  23. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Ok, I did it again and this time received some different errors. See attached screenshot.
     

    Attached Files:

  24. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Same issue, just at a different time, whatever is running on port 3000 is NOT control, as its not even responding the the VersionAPI

    so

     
  25. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Ok I did that and nothing is running on port 8080. However on port 3000 NVIDIA Share.exe is using that port.
     
  26. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Yes of course, never said to check 8080, told you to substitute from the tutorial... As the tutorial uses 8080, but we want to check 3000...
    So disable/uninstall Nvidia Share then, its conflicting
     
    Steveathome likes this.
  27. Chris Wailes

    Builder

    Joined:
    Apr 13, 2020
    Messages:
    15
    Likes Received:
    2
    Hahahahaha. Sorry, been getting a little stir crazy, my brain is not functioning at full capacity. LOL

    So I think one of my sons installed NVIDIA GeForce Experience which has that Share executable running. I uninstalled it and OpenBuilds is working again. Thank you. It also downloaded the update.
     
    Peter Van Der Walt likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice