You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug
I installed draw.io using Docker-Compose. I use Nginx for the HTTPS call.
My Draw.io instance can also be accessed via HTTPS and works, but as soon as I want to export a URL, the export link contains the domain and port 8443.
I have already changed DRAWIO_LIGHTBOX_URL in docker-compose.yml, but if I remove port 8443 there, draw.io no longer works. I see the error "Error loading file No file selected".
If I manually adjust the copied URL and remove the port, I can access the URL without any problem.
To Reproduce
Steps to reproduce the behavior:
Install draw.io via docker-compose
use nginx for HTTPS
make an export of the diagram
the export url has the Port 8443, you can delete the port and the export url works.
Expected behavior
the export url should not contain port 8443.
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 22.1.9
Desktop (please complete the following information):
OS: Windows 11
Browser Firefox
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
yes
Nginx configuration:
`
server {
listen [::]:80;
listen 80;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.
Describe the bug
I installed draw.io using Docker-Compose. I use Nginx for the HTTPS call.
My Draw.io instance can also be accessed via HTTPS and works, but as soon as I want to export a URL, the export link contains the domain and port 8443.
I have already changed DRAWIO_LIGHTBOX_URL in docker-compose.yml, but if I remove port 8443 there, draw.io no longer works. I see the error "Error loading file No file selected".
If I manually adjust the copied URL and remove the port, I can access the URL without any problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the export url should not contain port 8443.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
Nginx configuration:
`
server {
listen [::]:80;
listen 80;
}
server {
listen [::]:443 http2 ssl;
listen 443 http2 ssl;
}
`
Draw.io configuration:
`
version: '3'
services:
plantuml-server:
image: plantuml/plantuml-server
expose:
- "8080"
networks:
- drawionet
volumes:
- fonts_volume:/usr/share/fonts/drawio
image-export:
image: jgraph/export-server
expose:
- "8000"
networks:
- drawionet
volumes:
- fonts_volume:/usr/share/fonts/drawio
environment:
- DRAWIO_BASE_URL=https://draw.<my-url.de>:8443
drawio:
image: jgraph/drawio
ports:
- "8443:8443"
- "8080:8080"
links:
- plantuml-server:plantuml-server
- image-export:image-export
depends_on:
- plantuml-server
- image-export
networks:
- drawionet
environment:
- DRAWIO_SELF_CONTAINED=1
- PLANTUML_URL=https://draw.<my-url.de>:8443/
- EXPORT_URL=https://draw.<my-url.de>:8443/
- DRAWIO_BASE_URL=https://draw.<my-url.de>:8443
- DRAWIO_SERVER_URL=https://draw.<my-url.de>:8443/
- DRAWIO_CSP_HEADER=${DRAWIO_CSP_HEADER}
- DRAWIO_VIEWER_URL=https://draw.<my-url.de>/js/viewer.min.js
- DRAWIO_LIGHTBOX_URL=https://draw.<my-url.de>:8443
- DRAWIO_CONFIG=${DRAWIO_CONFIG}
- DRAWIO_GOOGLE_CLIENT_ID=${DRAWIO_GOOGLE_CLIENT_ID}
- DRAWIO_GOOGLE_APP_ID=${DRAWIO_GOOGLE_APP_ID}
- DRAWIO_GOOGLE_CLIENT_SECRET=${DRAWIO_GOOGLE_CLIENT_SECRET}
- DRAWIO_GOOGLE_VIEWER_CLIENT_ID=${DRAWIO_GOOGLE_VIEWER_CLIENT_ID}
- DRAWIO_GOOGLE_VIEWER_APP_ID=${DRAWIO_GOOGLE_VIEWER_APP_ID}
- DRAWIO_GOOGLE_VIEWER_CLIENT_SECRET=${DRAWIO_GOOGLE_VIEWER_CLIENT_SECRET}
- DRAWIO_MSGRAPH_CLIENT_ID=${DRAWIO_MSGRAPH_CLIENT_ID}
- DRAWIO_MSGRAPH_CLIENT_SECRET=${DRAWIO_MSGRAPH_CLIENT_SECRET}
- DRAWIO_MSGRAPH_TENANT_ID=${DRAWIO_MSGRAPH_TENANT_ID}
- DRAWIO_GITLAB_ID=${DRAWIO_GITLAB_ID}
- DRAWIO_GITLAB_SECRET=${DRAWIO_GITLAB_SECRET}
- DRAWIO_GITLAB_URL=${DRAWIO_GITLAB_URL}
- DRAWIO_CLOUD_CONVERT_APIKEY=${DRAWIO_CLOUD_CONVERT_APIKEY}
networks:
drawionet:
volumes:
fonts_volume:
`
The text was updated successfully, but these errors were encountered: