Skip to content

rstudio server and rstudio desktop connection lost #183

@wangjiaming1503

Description

@wangjiaming1503

Describe the bug

when open the brower in the rstudio server or rstudio desktop , it shows connection lost. clear installation was performed by docker image to avoide environment issues.

To Reproduce

install R and R server
DOCKER
docker run --rm -d -p 8955:8787/tcp bioconductor/bioconductor_docker:devel
use the latast R studio and R 4.4

install httpgd

remotes::install_github("nx10/httpgd")

use httpgd

library(httpgd)
hgd()
hgd_view()
hgd_browse()
dev.list()

sessionInfo()
R version 4.4.0 Patched (2024-04-24 r86483)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 22.04.4 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

time zone: Etc/UTC
tzcode source: system (glibc)

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

other attached packages:
[1] httpgd_2.0.1

loaded via a namespace (and not attached):
[1] compiler_4.4.0 tools_4.4.0 unigd_0.1.1 systemfonts_1.0.6

WINDOWS
remotes::install_github("nx10/httpgd")
install.packages("httpgd")
library("httpgd")
hgd()
hgd()
hgd_view()

sessionInfo()
R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_China.utf8 LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8

time zone: Asia/Hong_Kong
tzcode source: internal

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

other attached packages:
[1] httpgd_2.0.1

loaded via a namespace (and not attached):
[1] compiler_4.3.3 tools_4.3.3 rstudioapi_0.15.0 unigd_0.1.1 systemfonts_1.0.6

Expected behavior

when open the brower in the rstudio server or rstudio desktop , it shows connection lost. clear installation was performed by docker image to avoide environment issues.

Screenshots

image

Environment

  • OS: windows(WIN11) OR linux(docker Ubuntu 22.04.4 LTS)
  • Browser: Chrome
  • R version: 4.4 and 4.3.3
  • httpgd version: 2.0.1

Additional context

(Write your answer here.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions