-
Notifications
You must be signed in to change notification settings - Fork 400
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
SyntaxError: Unexpected token S #159
Comments
@sandro-csimas We're sorry to hear that. Are you able to confirm that this is still occurring? It's possible this was a momentary issue. Determining whether it is ongoing will help us diagnose the issue. Thanks! |
Yes, is still occurring this error. These are the versions i use: |
I will try to log some information and return with any detail |
OK, i put a console.log inside When the function My application is hosted on DigitalOcean, maybe a issue with firewall or something like this. |
Checking bunyan logs i got:
Can you check why the collector is responding 415 - Unsupported Media Type? |
Any answer please ? |
Hi @sandro-csimas, We are still investigating this issue. This GitHub issue tracker is a best-effort support channel. We appreciate your patience as we work through issues! You are also welcome to use the official New Relic support channels available at http://support.newrelic.com. Thanks! |
Howdy @sandro-csimas, I've never seen an error like this. If you can provide a way for me to reproduce it (a minimal application or environment) we can almost definitely help you. I know we have other customers running on DO without issue so I am hesitant to blame that platform. If you go through support we can get your account information and look at your modules to see if there is anything that seems like it might cause problems. Also, it would give us the ability to ask for more logs. Isolated lines rarely tell enough of the story. EDIT: 415 appears to mean malformed JSON was sent, to help with debugging this we are going to need detailed logs (which includes things you shouldn't share on github) |
Hi @wraithan, i solved the problem. I just change my newrelic.js from |
To capture the discussion I had with @wraithan on IRC, I saw a few instances of this when I was working on The problem, if I'm recalling it correctly, has something to do with how New Relic's servers deal with the encoding of the incoming JSON data, but there were some subtleties (it's nothing as simple as a missing |
@sandro-csimas @othiym23 @wraithan, Thanks for tracking this issue down to a resolution! It looks like we've got a reasonable work-around and the issue isn't an actionable task for us to track down in the agent. I'm going to close this issue out. @sandro-csimas, if you would like to follow up on support for better i18n support in our APM product beyond the Node.js Agent, I suggest reaching us through http://support.newrelic.com. Thanks! |
Got bitten by this as well today. Anyway - thanks for the agent! |
…/code-level-metrics/express/follow-redirects-1.15.4 chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 in /code-level-metrics/express
…/word-wrap-1.2.4 Bump word-wrap from 1.2.3 to 1.2.4
updated versions tests to test v3 vesions > 3.194.0 as AWS seems to have fixed their issues
updated versions tests to test v3 vesions > 3.194.0 as AWS seems to have fixed their issues
Hi, i'm getting "unexpected token S" on application startup
I'm using node v0.10.29 and express.
The text was updated successfully, but these errors were encountered: