facebook/flipper

Android Sample App Post Request failing with 404 error

オープン

#1,480 opened on 2020/08/18

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (972 件のフォーク)batch import
buggood first issueplugin-network

Repository metrics

Stars
 (13,028 個のスター)
PR merge metrics
 (PR metrics pending)

説明

🐛 Bug Report

The Android Sample app allows user to "Send POST Request" which can be used to demonstrate the Network Plugin. However, the request is no longer working. It fails with a 404 (Page Not Found) error. It appears the the service used to host the request (mockable.io) is no longer configured correctly.

To Reproduce

  1. Start Flipper
  2. Start the Android Sample App
  3. Issue the post request from the Sample App

image

  1. The request never completes in Flipper. It appears that Flipper never recognizes the failure, the request just appears as an incomplete call. So even in the case of failure, it seems that the request should time-out with a 404 error. So there may be a couple of issues here.

image

Note: Here is the code that makes the request:

image

Additional Note:

Here is the same request being run directly from a browser.

image

Environment

Flipper 0.52.1

コントリビューターガイド