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

[BUG] IPInfo gave weird JSON error #4289

Open
3 of 4 tasks
ProjectHSI opened this issue Jan 12, 2025 · 9 comments
Open
3 of 4 tasks

[BUG] IPInfo gave weird JSON error #4289

ProjectHSI opened this issue Jan 12, 2025 · 9 comments

Comments

@ProjectHSI
Copy link

Acknowledgement of preliminary instructions

  • I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
  • I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
  • I am using the latest version of Bloxstrap.
  • I did not answer truthfully to all the above checkboxes.

Bloxstrap Version

v2.8.6

What problem did you encounter?

Weird issue related to JSON parsing when launching a Roblox game from IPInfo. I do not believe I have been rate-limited in any way.

Bloxstrap Log

N/A
@WaviestBalloon
Copy link

Do you have any logs of this JSON parsing issue? You haven't provided any logs or helpful information.

@ProjectHSI
Copy link
Author

2025-01-12T21:23:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://ipinfo.io/128.116.115.33/json
2025-01-12T21:23:40Z [ActivityWatcher::ReadLogEntry] Server is UDMUX protected (3905414105/df4bf90e-2c9e-4078-bdcb-5be38028db65)
2025-01-12T21:23:41Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://ipinfo.io/128.116.115.33/json
2025-01-12T21:23:41Z [ActivityData::QueryServerLocation] Failed to get server location for 128.116.115.33
2025-01-12T21:23:41Z [ActivityData::QueryServerLocation] (0x80131500) System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at Bloxstrap.Utility.Http.GetJson[T](String url)
   at Bloxstrap.Models.Entities.ActivityData.QueryServerLocation()

@WaviestBalloon
Copy link

Can you visit https://ipinfo.io/128.116.115.33/json in your web browser and show what it displays?

@ProjectHSI
Copy link
Author

ProjectHSI commented Jan 17, 2025

raw data (my browser is fancy and displays a json view) is

{
  "ip": "128.116.115.33",
  "city": "Seattle",
  "region": "Washington",
  "country": "US",
  "loc": "47.6062,-122.3321",
  "org": "AS22697 Roblox",
  "postal": "98101",
  "timezone": "America/Los_Angeles",
  "readme": "https://ipinfo.io/missingauth"
}

@phoubia
Copy link

phoubia commented Jan 18, 2025

did you just send your in real life location to some dude on GitHub

@phoubia
Copy link

phoubia commented Jan 18, 2025

or am i tripping

@gamerloch10
Copy link

Probably a roblox server location

@ProjectHSI
Copy link
Author

ProjectHSI commented Jan 18, 2025

or am i tripping

yes you are

Probably a roblox server location

correct

did you just send your in real life location to some dude on GitHub

incorrect.

the info i sent was of the roblox server info, not my info. i would've noticed this prior to publication.

@phoubia
Copy link

phoubia commented Jan 18, 2025

im used to braindead skids that give anything a stranger asks online

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