-
Notifications
You must be signed in to change notification settings - Fork 8
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
Crashing after first request #4
Comments
Hi Jens, for a more detailed analysis of the issue it would help if you could provide the payload sent & retrieved from your Browser including the HTTP headers you send & retrieve. Or if your service is not confidential provide me access to the service for my S-User S0001142741. So I can give it a try. Best regards |
Hi Gregor, thanks for this awesome tool first! with a clean response: After "Get new session cookie", it takes around 1-2 seconds and then it exists with the stacktrace. Maybe that helps? Let me know If I should provide more details Thanks, |
Hi Jens, the console output helped. As you see the OData call is not the last call. The problem actually occurs with the call to http://localhost:7891/favicon.ico which is automatically done by the browsers to request an icon for favorites. I was able to repeat the problem:
now I can try to fix it. Thanks for the provided details. Best regards |
I've tried to reproduce the error but wasn't able to get it any more. Seems that the improvements by @mlenkeit have fixed this issue. Please give it a try and close the issue when you can confirm. |
Hi guys, hi gregor, first also a big thanks for sharing this great piece of software, which is very helpful for some nice tutorials with the HCP trial version! I work currently with your newest release (downloaded today), but I still get the same error by loading a favicon.ico via a Browser request. Just to remind here, that the problem still occurs... Thanks and regards |
Hi Steffen, |
Hi Gregor, I'm using Windows 7 Enterprise x64 (SP1) and GoogleChrome Version 41.0.2272.118 m. But the problem also happens in Firefox and IE. For my main use case to connect a UI5 to backend data, everything works fine and stable. Just if I do some manual checks with Browser URLs in Chrome (and a favicon.ico is requested), the problem occurs. Best regards |
Hi Steffen, |
I unfortunately can't get it to run stable.
Error:
_http_outgoing.js:333 throw new Error('"name" and "value" are required for setHeader().'); ^ Error: "name" and "value" are required for setHeader(). at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:333:11) at Request._callback (/Users/jwachtel/projects/data/hanatrial-auth-proxy-master/server-basic-auth.js:85:18) at Request.self.callback (/Users/jwachtel/projects/data/hanatrial-auth-proxy-master/node_modules/request/request.js:344:22) at Request.emit (events.js:110:17) at Request.<anonymous> (/Users/jwachtel/projects/data/hanatrial-auth-proxy-master/node_modules/request/request.js:1239:14) at Request.emit (events.js:129:20) at IncomingMessage.<anonymous> (/Users/jwachtel/projects/data/hanatrial-auth-proxy-master/node_modules/request/request.js:1187:12) at IncomingMessage.emit (events.js:129:20) at _stream_readable.js:908:16 at process._tickCallback (node.js:355:11)
This happens every time after the first request got returned successfully. Meaning I'll retrieve e.g. the ODATA service object but right after the program crashes with the above output.
Tried Firefox & Chrome
Using latest node. I also tried different versions of your code with the same effect.
Any idea what I am doing wrong?
Thanks,
Jens
The text was updated successfully, but these errors were encountered: