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

XML syntax errors #1

Closed
russorat opened this issue May 14, 2019 · 6 comments
Closed

XML syntax errors #1

russorat opened this issue May 14, 2019 · 6 comments

Comments

@russorat
Copy link

russorat commented May 14, 2019

Seeing these errors when using the exporter. Maybe netgear updated their xml or something?

I am using a Nighthawk R7000 with firmware version: V1.0.9.64_10.2.64

I didn't see any additional info while using log.level=debug

ERRO[0364] Error while collecting system info: XML syntax error on line 4: element <meta> closed by </head>  source="system_info_collector.go:110"
ERRO[0364] Error while collecting traffic statistics: XML syntax error on line 4: element <meta> closed by </head>  source="traffic_collector.go:126"
ERRO[0364] Error while collecting client statistics: XML syntax error on line 4: element <meta> closed by </head>  source="clients_collector.go:122"
@DRuggeri
Copy link
Owner

That's very odd... Debug didn't show the full request/response?

I don't know much about the Netgear server side of things, but in my limited experience it has always at least provided valid XML. To see misbalanced tags would make me suspect even the Netgear fat client app would also fail (perhaps worth a try as an added data point?)

@DRuggeri
Copy link
Owner

DRuggeri commented Apr 1, 2020

For now, since I cannot replicate this and I'm not sure we'd be able to deal with it, I'll go ahead and close the issue. Maybe more information can come from the --clientdebug parameter to at least identify what's misbalanced, but as mentioned... if Netgear is producing invalid XML, I don't know what the client can do to fix that (short of not parsing it as XML)

@DRuggeri DRuggeri closed this as completed Apr 1, 2020
@imrebuild
Copy link

I got the same error.

While sending request to http://10.0.0.1/soap/server_sa/, I got html instead of xml and the response code is 401.

I'm not sure if it is related to custom url, bacause the Host header of request is routerlogin.net rather than 10.0.0.1.

@DRuggeri
Copy link
Owner

Thanks, @imrebuild - does the content of the response indicate anything helpful?

@imrebuild
Copy link

Sorry I made a mistake. Changing port to 5000 solved this issue.

@justmiles
Copy link

More context for anyone else dealing with the R7000: Bump the timeout. Although on a local network, the router can take longer than the default 2 seconds to return data. Setting NETGEAR_EXPORTER_TIMEOUT to 10 helped here.

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

4 participants