Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

app crashs because of os bar #1

Open
peterandree opened this issue Jun 23, 2021 · 2 comments
Open

app crashs because of os bar #1

peterandree opened this issue Jun 23, 2021 · 2 comments
Assignees

Comments

@peterandree
Copy link

I used the app with my eu1 tenant. I nabbed the cookies from my sdk app with all kind of rights (I believe that shouldnt make a difference, but anyway) and started the proxy.

I get the following error:

Proxy error: Could not proxy request /api/tenantmanagement/v4/tenantInfo/logo from localhost:3000 to http://localhost:7707/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (HPE_INVALID_CONSTANT).

events.js:291
throw er; // Unhandled 'error' event
^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at write_ (_http_outgoing.js:641:17)
at ServerResponse.write (_http_outgoing.js:633:15)
at ServerResponse.write (D:\projects\start-for-free-demo-app-master\node_modules\compression\index.js:89:18)
at IncomingMessage.ondata (_stream_readable.js:718:22)
at IncomingMessage.emit (events.js:314:20)
at IncomingMessage.Readable.read (_stream_readable.js:507:10)
at flow (stream_readable.js:1007:34)
at resume
(_stream_readable.js:988:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ServerResponse instance at:
at writeAfterEndNT (_http_outgoing.js:696:7)
at processTicksAndRejections (internal/process/task_queues.js:85:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}

The issue can be solved by commenting out the os bar. I would assume this is an issue with the os bar, but maybe it should be commented out in the source to avoid frustration.

@sn0wcat sn0wcat self-assigned this Jun 23, 2021
@sn0wcat
Copy link
Member

sn0wcat commented Jun 23, 2021

@peterandree this is an issue with /v4/tenantinfo/logo , can u remove the logo from your tenant and try again?

@peterandree
Copy link
Author

os bar works without the logo

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

No branches or pull requests

2 participants