-
Notifications
You must be signed in to change notification settings - Fork 147
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
PDF preview of LaTeX Workshop (code-server) results in HTTP 400: Bad Request
#445
Comments
The following works, though:
|
#445 (comment) also works over https. Furthermore, ShinyApps started in code-server are proxied just fine by
Code sampleSample ShinyApp #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins",
"Number of bins:",
min = 1,
max = 50,
value = 30)
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot")
)
)
)
# Define server logic required to draw a histogram
server <- function(input, output) {
output$distPlot <- renderPlot({
# generate bins based on input$bins from ui.R
x <- faithful[, 2]
bins <- seq(min(x), max(x), length.out = input$bins + 1)
# draw the histogram with the specified number of bins
hist(x, breaks = bins, col = 'darkgray', border = 'white')
})
}
# Run the application
shinyApp(ui = ui, server = server) |
@consideRatio The culprit seems to be Jupyter Server Proxy. FYI @bdarnell |
@modaresimr Thank you for James-Yu/LaTeX-Workshop#3639. Maybe you have an idea, why it does not work when code-server is run via Jupyter Server Proxy. P.S.: I have also whitelisted your GitHub account at https://coder.jupyter.b-data.ch if you want to take a look at this specific setup1. Footnotes
|
- Modify tests to use headers - Remove SubprotocolWebSocket - Add test for empty and no subprotocols - Fix jupyterhub#442 - Fix jupyterhub#445
- Modify tests to use headers - Remove SubprotocolWebSocket - Add test for empty and no subprotocols - Fix jupyterhub#442 - Fix jupyterhub#445
Bug description
code-server: coder/code-server#6667
JupyterLab:
How to reproduce
docker run -it --rm -p 8888:8888 -p 47395:47395 glcr.b-data.ch/jupyterlab/r/verse:latest-devtools
sample.tex
sample.tex
: Change\date{2024-02-09}
to\date{2024-02-13}
Expected behaviour
The LaTeX PDF file in VSCode tab updates accordingly.
Actual behaviour
The LaTeX PDF file in VSCode tab does not update.
Code sample
Sample$\TeX$ file:
Your personal set up
Full environment
Container:
Logs
See Bug description.
The text was updated successfully, but these errors were encountered: