Skip to content

Problems setup own instance #142

Description

@ruben-herold

hi,

i have tried to setup my own local drawio instance on my local server:

centos7
tomcat
nginx as reverseproxy and https

all runs fine except the onedrive, dropbox, github connection. I can't find any documentation how it works.
For example onedrive gives me a 400 error on:

https://drawio.my.domain/onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22}

The tomcat access log shows:

127.0.0.1 - - [11/Aug/2017:16:51:22 +0200] "GET null null" 400 -
the nginx:

XXXX:XXXX:X::XX - - [11/Aug/2017:16:51:22 +0200] "GET /onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22} HTTP/1.1" 400 5 "https://drawio.my.domain/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36"

If I replace the {} with %7B and %7D I get an 200 with some kind of js code.

On https://draw.io I don't see this problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions