Site Stops Responding While Adding Pages (and Publishing)

(Ajguzmanb) #1

Whenever I attempt to add a new page to our documentation, stoplight stops responding and refreshes/initializes again. You can see a video of the behavior here:

https://1drv.ms/v/s!AoCE-himo-RgmCzY9bk2c56GiRk5

What could be causing this issue? (Note: this also happens when I attempt to publish)

(Ajguzmanb) #2

Hello,

I just wanted to add that this is now happening for most actions and we are unable to modify our documentation. I hope we can receive some guidance on this soon.

Best,
Antonio

(Taylor Barnett) #3

Hey @ajguzmanb, sorry about the delay. I missed this post. I know we have done Microsoft Edge testing, but could you do me a favor and try it in Chrome or Firefox to see if the same issue happens? I want to first isolate what browsers it is happening in.

(Ajguzmanb) #4

Hello, I just tested on chrome and firefox, they behave in similar ways.

The only way I have been able to modify the documentation is using the desktop version. However, publishing is not working in any of the browsers or the desktop version.

(Taylor Barnett) #5

I haven’t been able to replicate the problem on any of my projects, but I will check it out on your project now.

In what way is publishing not work? It didn’t work properly for a few hours in the web app today, as seen on here: http://status.stoplight.io/. But it should be working now.

(Taylor Barnett) #6

I was just able to recreate the issue with your documentation Hub. Progress. But I have no idea why it is happening. It seems to be something specific your project, so I am going to have to keep digging deeper.

I’ve started sharing the issue internally, but I am about to head out for the day. I’ll keep on it.

(Taylor Barnett) #7

One last thing I want to add before I head out for the day, I think it might have to do with your Underwriting.oas2 file and the references to it. I’d try to remove it to see if things work better without it. If they do, then we can dig into what in that file is causing the problems.

(Ajguzmanb) #8

@taylor You were right, after removing underwriting from the documentation it is building correctly.

(Taylor Barnett) #9

That’s good to hear. Stoplight has been stress tested with a lot of very large OAS documents like your’s, but for some reason it is having issues with this one. I’ve opened an issue with the engineering team to take a look at it.

(Ajguzmanb) #10

Hello @taylor, did the engineering team take a look at the problem?

(Taylor Barnett) #11

I believe we rolled out some updates to help the performance on this. Are you still seeing issues?

(Ajguzmanb) #12

Yes, we still have an error when we publish (only when we add that specific swagger file to our documentation page)

(Taylor Barnett) #13

So I talked with the engineering team, and it looks like some performance updates were made.

Are they the same errors as before? Or just when publishing? If they are when you are publishing, can you share them? I haven’t those ones.

(Ajguzmanb) #14

Well, the site no longer stops responding (unlike before) - but the publishing still does not work (this also happened before). The error message doesn’t say much, I am not sure if there is a more detailed log I am not seeing. I have attached the message I see.

errorstoplight

(Taylor Barnett) #15

Okay, this appears to be a separate issue. I’m looking into it now.

(Taylor Barnett) #16

We’re still looking into it. There appears to be a memory issue related to when this specific Hub is built. We’re looking into what might be causing it.

(Ajguzmanb) #17

Hello Taylor,

Was the issue resolved?

Best,
Antonio