optimizely / optimizely/android-sdk

[BUG] Zaius API - Graphql getting UnKnownHostException

Open
#482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

acknowledged bug
Dominant language
Java
Stars
56
Forks
36
Avg merge
9h 23m
Merged PRs (30d)
1

Description

Is there an existing issue for this?
  • I have searched the existing issues
SDK Version

I'm getting issues for all SDK versions.

Current Behavior

I have integrated Optimizely Android SDK in one of my projects.
I'm getting java.net.UnKnownHostException: Unable to resolve host "api.zaius.com": No address associated with the hostname.

Network request URL: https://api.zaius.com/v3/graphql
Network Request Name: Zaius-API-Graphql
Mobile App Version: 3.47.0
timeoutForODPSegmentFetch: 10 seconds

Expected Behavior

It should work with the configuration as mentioned above.

Steps To Reproduce
  1. Implement Optimizely Android SDK in the project.
  2. Test the app in online as well as offline mode.
  3. Check the issue on the analytics dashboard.
Link

No response

Logs

No response

Severity

Blocking development

Workaround/Solution

No response

Recent Change

No response

Conflicts

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android SDK request to https://api.zaius.com/v3/graphql in both online and offline modes, then trace where the Zaius-API-Graphql request is configured and sent. Confirm whether the hostname failure is caused by the SDK or the network environment; done means the request behaves as expected with the stated configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.