Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Onshape is disconnected - refresh page

dan_engererdan_engerer Member Posts: 63 PRO
"Onshape is disconnected. Your work is saved. Refresh the page, etc. etc."

Hi. I get this message usually about 10 or so times a day both at home and at work. Every other web-based application I use works perfectly as far as I can tell. 
Happens especially frequently in front of customers, who then invariably make a comment about the wisdom of using cloud-based CAD. 

Anyone else get this all the time? 

1: y tho? 
2: Can we expect a fix in the near future? 

Comments

  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Saw perhaps 6 times a year or so ago, nothing since.  (UK based.)  Similar deal on a persistent "wait a moment" notification.  Rock solid since then, but then again I don't show customers anything...

    O.S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • Don_Van_ZileDon_Van_Zile Member Posts: 195 PRO
    I saw this error for the first time yesterday morning and couldn't login until after waiting about 10 minutes.
  • john_rousseaujohn_rousseau Member, Onshape Employees, Developers Posts: 392
    Hi @dan_engerer. We have put a lot of time into tracing these issues down. You are not the first person to report this. Almost 100% of the time it's a problem with a piece of networking equipment near you. I know that's not a great answer to hear from us, but it's rarely caused by a disconnect by our servers.

    Onshape uses secure WebSockets while you are modeling (or working on a drawing) to provide a persistent connection to our servers. This allows us to "push" information to you like model updates, collaboration events, etc. without having your browser initiate the operation. Very few other web applications do this. They are more "request and response" based. This is why you don't see network flakiness nearly as much with other applications.

    We have the metrics to know that this problem impacts a very small % of our customers, but impacts that group frequently. The server side diagnostics say that the client disconnected and the client side diagnostics say that the server disconnected which basically means that the problem is in the middle somewhere. By looking at the metrics over a large population of users, we can see that it's usually local to the impacted users.

    We are looking into ways to have the client automatically reconnect, but it's hard to make that experience "invisible" and even harder to make it so that we don't "lose" a modeling operation in the middle of the reconnect.

    What's common about your work and home environments in terms of networking? Any patterns around documents, types of operations, times of day? Are you using the same machine at home and at work? Any chance your machine it switching between wireless networks (or between wired and wireless)?

    Sorry for the hassle. I really would like to solve this problem. It's usually just not in areas that we have control over.

    John Rousseau / VP, Technical Operations / Onshape Inc.
  • john_rousseaujohn_rousseau Member, Onshape Employees, Developers Posts: 392
    @Don_Van_Zile: The problem yesterday morning was related to a partial outage we had and not related to the problem that Dan is talking about. See https://status.onshape.com/history
    John Rousseau / VP, Technical Operations / Onshape Inc.
  • dan_engererdan_engerer Member Posts: 63 PRO
    Thanks very much for the detailed response, John. I understand the challenge. What is common between my work and home is not much. Different ISPs, different computers, different locations. 
  • dan_engererdan_engerer Member Posts: 63 PRO
    Thank you Robert! I bet that's it! 

  • Nickolas_LockardNickolas_Lockard OS Professional Posts: 36 ✭✭
    edited December 2018
    Same problem. My work is at a standstill because OS crashes about every 5-10 minutes. I will have to abandon Onshape if I can not get it working. I am using a Netgear Orbi RBK50, 2-node, wireless mesh network. My connection is rock-solid and nothing else crashes. Not netflix on the TV, not other apps, not youtube--only Onshape.

    Are there better settings I can try? I just invested a lot of money in this mesh network and can't just keep throwing money at a problem for no good reason.
  • john_rousseaujohn_rousseau Member, Onshape Employees, Developers Posts: 392
    Hi @nick_lockard. Please take a look at your local network setup. Do you have a router that's sick? 

    We are not seeing any problems on our server side.
    John Rousseau / VP, Technical Operations / Onshape Inc.
  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,475 PRO
    All the tubes etc. can easily take say 10 sec network outage since they can use buffer to play while without connection. For Onshape it's not that easy to predict user actions to create a buffer =)
    //rami
  • matthew_stacymatthew_stacy Member Posts: 487 PRO
    I frequently get prompted to refresh my browser <F5> and then find that Onshape has me in the document as a second user.  The result is that I can't edit the document because I (the other me?) is already editing the document.

    Logging out  and back in does not seem to resolve the document ownership conflict.  Seems like I have to wait for a timer on the Onshape server.  Is there a way for me to manually reset when this occurs?

    Very frustrating.

    Regards,

    -Matt
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,680
    @matthew_stacy frequent disconnects are usually due to the quality of your connection.  If it drops out even for a second, it’s likely that Onshape will disconnect. You will see yourself as a second user in the doc because Onshape thinks your previous session is still connected but you should be able to carry on editing no problem. 
    Senior Director, Technical Services, EMEAI
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited March 2020
    @matthew_stacy I hit shift-cmd-R about once a day for large data sets. The shift reload clears local cache and cleans up chrome.

    It doesn't bother me because I don't lose anything. I typically go do something else when it's reloading. It's usually done reloading when I come back. I mean I'll have another Onshape tab open and work there for a few minutes. Remember you can multiple tabs open working on different parts of the design. Me I usually have 3 designs going at any one time. I never wait for anything to happen.

    I never reboot my computer and never shut chrome down. This probably isn't a good thing. I work on large assemblies and large data sets without any issues.

    Remember this isn't a desktop where you only have one instance running. 

    I've gotten work done flying across the country on an airplane. That has to be the worse internet on the planet yet I was able to get things done.

    It's hard for me to work on a single desktop thread and feel it drags me down.

    Hope you get it up and running...


  • AuroraRonAuroraRon Member Posts: 136 PRO
    I have this a dozen times a day but not using Onshape all day. 
    Right now, its making Onshape unusable for me. I've tried different computers and different locations. 
    I don't see any connectivity issues at all, We use VOIP phones and there is no loss of internet here at work or home. 


  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,680
    @AuroraRon have you contacted the support team?
    Senior Director, Technical Services, EMEAI
  • john_rousseaujohn_rousseau Member, Onshape Employees, Developers Posts: 392
    @AuroraRon yes, please contact support. This is not behavior commonly seen by our users. Looking at the logs for your user ID, I can see the frequent disconnects. These are not being initiated by our server side, so there is something in your environment that is causing this.
    John Rousseau / VP, Technical Operations / Onshape Inc.
  • AuroraRonAuroraRon Member Posts: 136 PRO
    Yes, I have, thanks.   It happens every day, but today it has been unusable for me.  
    I just switched to using tethering to my phone and using it for internet connectivity, and it's been fine for the last five minutes.
    Don't notice any other programs or services we use; drop a connection like Onshape.    Just seems like there could be some software workaround to stop this from happening so often.    


Sign In or Register to comment.