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

Random "Could not parse header" error #45

Open
bigkinglsu opened this issue May 15, 2018 · 4 comments
Open

Random "Could not parse header" error #45

bigkinglsu opened this issue May 15, 2018 · 4 comments

Comments

@bigkinglsu
Copy link

bigkinglsu commented May 15, 2018

See error in the following log.
bmssdk.logger.log

Analytics are not sent when this error occurs.

@mohlogan
Copy link
Contributor

In the log following

{ "pkg": "bmssdk.logger", "level": "DEBUG", "timestamp": "11-05-2018 16:58:54:313", "msg": "Status code: 400. Response: {\"error\":\"Could not parse the header: x-mfp-analytics-metadata with value: null\"}. Error: serverRespondedWithError." },

Seems to be printed during the initialization for analytics. Its happening only with cordova application.

But this error may not have any impact on sending the logs. In the logs i am seeing following 2 json. It means its able to send the logs.

{ "pkg": "bmssdk.analytics", "level": "DEBUG", "timestamp": "11-05-2018 17:01:13:847", "msg": "Analytics data successfully sent to the server." }, { "pkg": "bmssdk.logger", "level": "DEBUG", "timestamp": "11-05-2018 17:01:20:316", "msg": "Client logs successfully sent to the server." }
So it shouldnt be the cause for not sending the logs. But I will work on identifying the rootcause.

Thanks and Regards,
Mohan

@bigkinglsu
Copy link
Author

Randomly I observe a successful sent when I don't get this error. Thats when that success message gets written out to the logs. I only see this happen when I don't get the null header error.

@bigkinglsu
Copy link
Author

@mohlogan, any update?

1 similar comment
@bigkinglsu
Copy link
Author

@mohlogan, any update?

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

No branches or pull requests

2 participants