John O'Reilly
01/20/2022, 9:39 PMjava.net.ProtocolException: Expected HTTP 101 response but was '404 Not Found
for some reason even though subscription seems to work in playground....more in thread....subscription {
issPosition {
latitude
longitude
}
}
override fun pollISSPosition(): Flow<IssPosition> {
return apolloClient.subscription(IssPositionSubscription()).toFlow().map {
val result = it.dataAssertNoErrors.issPosition
IssPosition(result.latitude, result.longitude)
}
}
bod
01/20/2022, 9:52 PMwebSocketServerUrl
but not sure what the right value needs to beJohn O'Reilly
01/20/2022, 9:54 PMbod
01/20/2022, 9:54 PM<wss://peopleinspace-graphql-guhrsfr7ka-uc.a.run.app/subscriptions>
John O'Reilly
01/20/2022, 9:56 PMbod
01/20/2022, 9:57 PMJohn O'Reilly
01/21/2022, 8:35 AMbod
01/21/2022, 8:36 AMJohn O'Reilly
01/21/2022, 8:38 AM