Skip to content

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received #4236

Open
@ismirsehregal

Description

@ismirsehregal

While I was creating this issue and running the below minimal example app in a fresh R session I noticed the following error messages in the browser console (again using Chrome Version 137.0.7151.120 (Official Build) (64-bit)):

Image

System details

Output of sessionInfo():

> sessionInfo()
R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=German_Germany.utf8  LC_CTYPE=German_Germany.utf8    LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C                   
[5] LC_TIME=German_Germany.utf8    

time zone: Europe/Berlin
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shiny_1.10.0

loaded via a namespace (and not attached):
 [1] digest_0.6.37     later_1.4.2       R6_2.6.1          httpuv_1.6.16     fastmap_1.2.0     fontawesome_0.5.3 magrittr_2.0.3    cachem_1.1.0     
 [9] memoise_2.0.1     htmltools_0.5.8.1 lifecycle_1.0.4   promises_1.3.3    cli_3.6.5         xtable_1.8-4      sass_0.4.10       jquerylib_0.1.4  
[17] withr_3.0.2       compiler_4.5.1    rstudioapi_0.17.1 tools_4.5.1       bslib_0.9.0       mime_0.13         Rcpp_1.0.14       jsonlite_2.0.0   
[25] rlang_1.1.6 

Example application or steps to reproduce the problem

library(shiny)

ui <- fluidPage(
  actionButton("test", "test", icon = icon("folder"))
)

server <- function(input, output, session) {}

shinyApp(ui, server)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions