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

[FTL] invalid character '<' looking for beginning of value - version v1.0.5 #198

Closed
amit-sec opened this issue Oct 13, 2023 · 13 comments
Closed
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@amit-sec
Copy link

asnmap -v


/ _ | / / |/ / _ ___ ____
/ __ |\ / / ' / _ / _
/
/ |/
//|////_,/ .__/
/
/

            projectdiscovery.io

[INF] Current asnmap version v1.0.5 (latest)
[FTL] invalid cha
Asnmap
racter '<' looking for beginning of value

@ahmed-almosuli
Copy link

same thing with me

@dogancanbakir
Copy link
Member

I was not able to reproduce the problem.

$ echo AS111111 | asnmap -v

   ___   _____  __              
  / _ | / __/ |/ /_ _  ___ ____ 
 / __ |_\ \/    /  ' \/ _  / _ \
/_/ |_/___/_/|_/_/_/_/\_,_/ .__/
                         /_/ 

                projectdiscovery.io

[INF] Current asnmap version v1.0.5 (latest)
[VER] No records found for AS111111

Would you mind sharing the exact command that you used to reproduce the issue?

@ehsandeep
Copy link
Member

@dogancanbakir It's an issue with API, which is getting down randomly because of high load - https://status.projectdiscovery.io/

image

@joelczk
Copy link

joelczk commented Oct 15, 2023

@dogancanbakir and @ehsandeep, I am experiencing the same issue today as well. Is that due to the high load of the asnmap api today as well?
image

@ahmed-almosuli
Copy link

@dogancanbakir and @ehsandeep, I am experiencing the same issue today as well. Is that due to the high load of the asnmap api today as well? image

You right

@dogancanbakir
Copy link
Member

Thank you for your patience. We are working on this internally and will follow up with you as soon as possible.

@imbas007
Copy link

imbas007 commented Oct 26, 2023

how fix this erorr
invalid character '<' looking for beginning of value

image

@Mzack9999
Copy link
Member

The API daemon outage is under investigation and hopefully will be fixed with a better lock-free implementation - Tracked at https://github.com/projectdiscovery/asnmap-server/issues/21

@AnImpulsiveHuman
Copy link

AnImpulsiveHuman commented Oct 27, 2023

Hello Team,

I'm not sure if this might help you but here it is anyway.

I don't think that the invalid character '<' looking for beginning of value error doesn't randomly happen, at least in my case.

For me, it happens specifically with certain ASNs, AS15169 in my case.

I'm giving two screenshots to show when it worked and when it didn't.

Screenshot of running asnmap on AS14421 where it worked as intended
1

Screenshot of running asnmap on AS15169 where the error appears
2

These screenshots were taken simultaneously. This, along with the fact that it always happens for a specific ASN, it gives me a feeling that the error might not be because of the API going down randomly because of high load.

EDIT 1:
I tried running ASNMap against the below ASNs and they gave the same error.

items := []string{
		"32934",
		"7922",
		"3356",
		"16509",
		"714",
		"20940",
		"4766",
		"1239",
		"7018",
		"15169",
	}

This is where it gets a bit confusing. It always works as intended for AS14421 but not for others and I couldn't find any other ASN for which it worked.

@apsry
Copy link

apsry commented Oct 30, 2023

image

@Mzack9999 Mzack9999 self-assigned this Oct 30, 2023
@ui0x
Copy link

ui0x commented Nov 5, 2023

Any update here? Would really love to be able to use the repo. Thank you!

@ehsandeep ehsandeep pinned this issue Nov 5, 2023
@ehsandeep
Copy link
Member

Hello everyone!

We found an issue with the API server due to high traffic. We're improving it to handle high usage and will deploy a fix soon. We'll update once it's done.

@ehsandeep ehsandeep added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Nov 5, 2023
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Nov 9, 2023
@ehsandeep
Copy link
Member

should be fixed by now with latest release!

@ehsandeep ehsandeep unpinned this issue Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

10 participants