Skip to content
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

zavretie toolu pocas nacitavania detailu o trase neskonci progress #187

Closed
zdila opened this issue Aug 21, 2017 · 3 comments
Closed

zavretie toolu pocas nacitavania detailu o trase neskonci progress #187

zdila opened this issue Aug 21, 2017 · 3 comments
Assignees
Labels

Comments

@zdila
Copy link
Member

zdila commented Aug 21, 2017

No description provided.

@petervojtek
Copy link
Member

pokusal som sa to zreprodukovat to v dev env, ale zobrazenie trasy cez zdielaciu url spadne na backende kvoli akejsi zahadnej chybe TypeError: Cannot create property 'headers' on boolean 'true':

[2017-08-21T14:22:19.107Z] ERROR: koa/17861 on Peters-MacBook-Pro.local:   --> GET /tracklogs/7HGVqa7Zy8TTJ4qURJIGEV 500 0ms (req_id=2ce1bc9e-7965-45d1-983f-1333b1e92ebf, duration=0, req.remoteAddress=::1, req.remotePort=63951)
    GET /tracklogs/7HGVqa7Zy8TTJ4qURJIGEV HTTP/1.1
    host: localhost:3000
    connection: keep-alive
    origin: http://local.freemap.sk:8080
    user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
    accept: */*
    referer: http://local.freemap.sk:8080/?map=13/48.17181/17.09979&layers=K&track-uid=7HGVqa7Zy8TTJ4qURJIGEV
    accept-encoding: gzip, deflate, br
    accept-language: en-US,en;q=0.8
    --
    HTTP/1.1 500 Internal Server Error
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/plain; charset=utf-8
    Content-Length: 21
    Date: Mon, 21 Aug 2017 14:22:19 GMT
    Connection: keep-alive
    --
    TypeError: Cannot create property 'headers' on boolean 'true'
        at next.catch.err (/Users/peter/repos/freemap-v3-nodejs-backend/node_modules/kcors/index.js:91:21)
        at <anonymous>

@zdila
Copy link
Member Author

zdila commented Aug 21, 2017

Ospravedlnujem sa, myslel som funkciu "detaily v mape".

A ta chyba je zvlastna, nejaky middleware rejectol promise s false a kcors mu chce nastavit property headers. Mozno to dat ako novy issue.

@petervojtek
Copy link
Member

ten problem s headerom som dal do FreemapSlovakia/freemap-v3-nodejs-backend#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants