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

"Attempting to reconnect..." message in shiny app deployed on Cloud Run #4159

Open
cwilligv opened this issue Dec 1, 2024 · 4 comments
Open

Comments

@cwilligv
Copy link

cwilligv commented Dec 1, 2024

Hi,

I have this app running on cloud run. Every 15 seconds though I get this message in the lower left corner of the app as shown in the image below. Does anyone know how to disable it? I'm working with R server free version.

Image

The app doesn't crash but there are some strange messages going through the javascript console and netword section of Chrome's dev tools.

Console messages:
Image

Network messages:
Image

one example of those websocket urls is this: https://hostserver.com/__sockjs__/o=cJUkzPBNEWCBXgTBwH/info?t=1733056195337

I searched in stackoverflow for this similar problem but didn't find anything.

What do you reckon? is this a call in my app that is being faulty or a shiny's input trying to connect to the server via sockets?

Any clues is very much welcomes :)

Thanks!

@philibe
Copy link

philibe commented Dec 4, 2024

Same as your issue in rstudio/shiny-server#579 (and same advice).

@philibe
Copy link

philibe commented Dec 4, 2024

Without a R shiny source for a reprex (reproducible example) it's difficult to help you.

@FSanto001
Copy link

cwilligv

Did you find a solution to this?

@cwilligv
Copy link
Author

Hey @philibe and @FSanto001 , I haven't been able reproduce this in isolation in order to put together a reprex as I don't know what's causing the disconnection and reconnection. I've tested it locally and it seems to be fine, that's why I didn't notice it until I put it on the cloud. This seems to be happening only on the google cloud run instance. I couldn't replicate this locally.

@FSanto001 , can you describe in more details where is this happening to you? maybe together we can find a solution.

Regards

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

3 participants