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

Cannot Connect to Internet When Establish Connections in Both WiFi to Canon Camera and Mobile Data #22

Open
seanwu1105 opened this issue Jul 30, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@seanwu1105
Copy link
Contributor

Move from https://github.com/numbersprotocol/mediant/issues/14

Android: 8.0.0
Mobile: Exodus 1
App version: 0.12.1
Capture type: image

Steps to reproduce (Dual Capture mode):

  1. Enable WiFi only
    i. And connect to the Canon camera WiFi access point.
  2. Go to Settings,
    i. Click Connect to Canon Camera
    ii. Enable Polling
  3. Go back to the main screen,
    i. Click Open CCAPI Live View
    ii. Enable Dual Capture
  4. Enable Mobile network (and keep WiFi enabled).
  5. Trigger Canon camera shot.
  6. See the pop-up messages in order:
    i. Successfully uploaded media via Textile.
    ii. failed to connect to /52.90.13.186 (port 80) from /192.168.1.10 (port 40884) after 1...

Steps to reproduce (Camera Capture mode):

  1. Enable WiFi only
    i. And connect to the Canon camera WiFi access point.
  2. Go to Settings,
    i. Click Connect to Canon Camera
    ii. Enable Polling
  3. Enable Mobile network (and keep WiFi enabled).
  4. Trigger Canon camera shot.
  5. See the pop-up messages in order:
    i. Successfully uploaded media via Textile.
    ii. failed to connect to /52.90.13.186 (port 80) from /192.168.1.10 (port 40884) after 1...

Steps to reproduce (Mobile Capture mode):

  1. Enable WiFi only
    i. And connect to the Canon camera WiFi access point.
  2. Go to Settings,
    i. Click Connect to Canon Camera
    ii. Enable Polling
  3. Enable Mobile network (and keep WiFi enabled).
  4. Trigger Mobile camera shot.
  5. See the pop-up messages in order:
    i. Successfully uploaded media via Textile.
    ii. failed to connect to /52.90.13.186 (port 80) from /192.168.1.10 (port 40884) after 1...
@seanwu1105 seanwu1105 added the bug Something isn't working label Jul 30, 2020
@seanwu1105
Copy link
Contributor Author

This issue requires further study to change the default behavior of the Android networking policy. We need to set the transport type of CanonCameraControlApi connections to Wi-Fi manually. We should try to provide a custom socket factory from Android Network class to OkHttp client. Further details: square/okhttp#3736

Reference:

@tammyyang tammyyang added the priority:medium Medium priority label Sep 9, 2020
@tammyyang tammyyang added this to the beta5 milestone Sep 9, 2020
@tammyyang tammyyang added priority:high High priority and removed priority:medium Medium priority labels Sep 10, 2020
@tammyyang
Copy link

This sprint (20.09.10) will focus on the survey of the solution of this issue. The implementation may come later.

@seanwu1105 seanwu1105 self-assigned this Sep 22, 2020
@seanwu1105 seanwu1105 added the survey Survey only without implementation for now. label Sep 22, 2020
@seanwu1105
Copy link
Contributor Author

seanwu1105 commented Sep 23, 2020

@tammyyang If this issue is not that critical, we should postpone the implementation to the next milestone (beta6).

@seanwu1105 seanwu1105 modified the milestones: beta5, beta6, beta7 Sep 23, 2020
@seanwu1105 seanwu1105 removed the survey Survey only without implementation for now. label Oct 13, 2020
@seanwu1105 seanwu1105 removed their assignment Oct 15, 2020
@seanwu1105 seanwu1105 modified the milestones: beta7, backlog Oct 15, 2020
@seanwu1105 seanwu1105 removed the priority:high High priority label Oct 15, 2020
@seanwu1105 seanwu1105 added priority:high High priority and removed priority:high High priority labels Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants