[GH-ISSUE #25] Panic 'invalid character '<' looking for beginning of value' #196

Closed
opened 2026-03-13 23:09:14 +03:00 by kerem · 4 comments
Owner

Originally created by @d0znpp on GitHub (Jun 11, 2022).
Original GitHub issue: https://github.com/alpkeskin/mosint/issues/25

Originally assigned to: @calganaygun on GitHub.

Here is the thing:


mosinting  28% |██████████████████████████                                                                   | (28/100, 8 it/s) [3s:8s]panic: invalid character '<' looking for beginning of value

goroutine 1 [running]:
main/modules.doRequest({0xc0000263c0, 0x49}, {0xa64ddc, 0x6})
	/home/x/tools/mosint/modules/ThreatCrowd.go:28 +0x670
main/modules.RelatedEmails({0x7ffd138353e8?, 0x12?})
	/home/x/tools/mosint/modules/ThreatCrowd.go:56 +0x65
main.main()
	/home/x/tools/mosint/main.go:261 +0xbcd
exit status 2
Originally created by @d0znpp on GitHub (Jun 11, 2022). Original GitHub issue: https://github.com/alpkeskin/mosint/issues/25 Originally assigned to: @calganaygun on GitHub. Here is the thing: ``` Now: Saturday, 11 Jun 2022 mosinting 28% |██████████████████████████ | (28/100, 8 it/s) [3s:8s]panic: invalid character '<' looking for beginning of value goroutine 1 [running]: main/modules.doRequest({0xc0000263c0, 0x49}, {0xa64ddc, 0x6}) /home/x/tools/mosint/modules/ThreatCrowd.go:28 +0x670 main/modules.RelatedEmails({0x7ffd138353e8?, 0x12?}) /home/x/tools/mosint/modules/ThreatCrowd.go:56 +0x65 main.main() /home/x/tools/mosint/main.go:261 +0xbcd exit status 2 ```
kerem closed this issue 2026-03-13 23:09:19 +03:00
Author
Owner

@calganaygun commented on GitHub (Jun 11, 2022):

It is about the ThreatCrowd API. They are returning 504 when you try to get any report. There are no status code checks in the code.

<!-- gh-comment-id:1152998732 --> @calganaygun commented on GitHub (Jun 11, 2022): It is about the ThreatCrowd API. They are returning 504 when you try to get any report. There are no status code checks in the code.
Author
Owner

@calganaygun commented on GitHub (Jun 11, 2022):

Can you check if this fixes your problem? @d0znpp

<!-- gh-comment-id:1152998959 --> @calganaygun commented on GitHub (Jun 11, 2022): Can you check if this fixes your problem? @d0znpp
Author
Owner

@d0znpp commented on GitHub (Jun 11, 2022):

yes, now it's OK!

<!-- gh-comment-id:1153023026 --> @d0znpp commented on GitHub (Jun 11, 2022): yes, now it's OK!
Author
Owner

@nikolarovcanin commented on GitHub (Sep 19, 2022):

I have same issue, can some explain me how to fix the problem

<!-- gh-comment-id:1250910754 --> @nikolarovcanin commented on GitHub (Sep 19, 2022): I have same issue, can some explain me how to fix the problem
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mosint#196
No description provided.