Code Monkey home page Code Monkey logo

Comments (7)

rushivrox avatar rushivrox commented on September 15, 2024 1

works like a charm! Thank you!

from geoport.

davesc63 avatar davesc63 commented on September 15, 2024

Can you share more details please. What OS and version are you on?

Can you take a screenshot of the server console just before and after it happens. I wrote the code for the timeout pop up so I don’t need a pic of that! :) the server console and info helps to understand what’s happening

These issues are mostly due to not running GeoPort as Admin/sudo

thank you

from geoport.

davesc63 avatar davesc63 commented on September 15, 2024

I think you’re on a Mac from a previous question you asked.

In this case you may not be running as sudo, or, you are running the app from your “Downloads” folder

from geoport.

rushivrox avatar rushivrox commented on September 15, 2024

I have moved the Geoport Exec file out of the Downloads folder. I have run it as administrator as well.
Below is a screenshot of the terminal window (not sure if this is what you wanted)
Screenshot 2024-04-01 at 12 09 39 AM

from geoport.

davesc63 avatar davesc63 commented on September 15, 2024

Ok an exception is occuring.

Please provide more of the preceding console log (screenshot or copy/paste)
Can you also describe how you are launching GeoPort and what folder you are running it from

The first time GeoPort runs, an Apple prompt asks if you want ot allow network connections. This may not have been selected. Please also show a screenshot from "Settings - Network - Firewall"

from geoport.

rushivrox avatar rushivrox commented on September 15, 2024

The Geoport folder is saved on the desktop. I am launching Geoport by double-clicking on the exec file in the folder.

Please see below for full log
Rushivs-MacBook-Air:~ rushivsisodia$ /Users/rushivsisodia/Desktop/GeoPort-mac-x86-v1.0.2/GeoPort ; exit;
base dir = /var/folders/j_/n2gy0v8505q59mdxwzh8lgbc0000gn/T/_MEIIQ69RK
Current platform: MacOS
App Version = 1.0.2

  • Serving Flask app 'main'
  • Debug mode: on
    2024-04-01 12:18:18 Rushivs-MacBook-Air.local werkzeug[9130] INFO WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://127.0.0.1:54321
    2024-04-01 12:18:18 Rushivs-MacBook-Air.local werkzeug[9130] INFO Press CTRL+C to quit
    GitHub Version = 1.0.2
    2024-04-01 12:18:27 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:18:27] "GET / HTTP/1.1" 200 -
    2024-04-01 12:18:28 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:18:28] "GET /api/fuel_types?region=All HTTP/1.1" 200 -
    Secured Device List is: [MuxDevice(devid=68, serial='00008101-0002255C2189003A', connection_type='Network')]
    2024-04-01 12:18:28 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:18:28] "GET /api/data/?region=All HTTP/1.1" 404 -
    [{'Identifier': '00008101-0002255C2189003A', 'DeviceClass': 'iPhone', 'DeviceName': 'Rushiv’s iPhone 12 Pro', 'BuildVersion': '21C66', 'ProductVersion': '17.2.1', 'ProductType': 'iPhone13,3', 'ConnectionType': 'Network'}]
    2024-04-01 12:18:29 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:18:29] "GET /list_devices HTTP/1.1" 200 -
    2024-04-01 12:18:30 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:18:30] "POST /update_location HTTP/1.1" 200 -
    Secured Device List is: [MuxDevice(devid=69, serial='00008101-0002255C2189003A', connection_type='USB'), MuxDevice(devid=68, serial='00008101-0002255C2189003A', connection_type='Network')]
    [{'Identifier': '00008101-0002255C2189003A', 'DeviceClass': 'iPhone', 'DeviceName': 'Rushiv’s iPhone 12 Pro', 'BuildVersion': '21C66', 'ProductVersion': '17.2.1', 'ProductType': 'iPhone13,3', 'ConnectionType': 'USB'}, {'Identifier': '00008101-0002255C2189003A', 'DeviceClass': 'iPhone', 'DeviceName': 'Rushiv’s iPhone 12 Pro', 'BuildVersion': '21C66', 'ProductVersion': '17.2.1', 'ProductType': 'iPhone13,3', 'ConnectionType': 'USB'}]
    2024-04-01 12:19:29 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:19:29] "GET /list_devices HTTP/1.1" 200 -
    data: {'udid': '00008101-0002255C2189003A', 'ios_version': '17.2.1'}
    udid: 00008101-0002255C2189003A
    Dev Check result: True
    Developer Mode is true
    Passed Developer Mode check
    iOS 17+ detected
    Attempt 1: Error occurred -
    Attempt 2: Error occurred -
    Attempt 3: Error occurred -
    Attempt 4: Error occurred -
    Attempt 5: Error occurred -
    Attempt 6: Error occurred -
    Attempt 7: Error occurred -
    Attempt 8: Error occurred -
    Attempt 9: Error occurred -
    Attempt 10: Error occurred -
    Error: No devices found after multiple attempts.
    Ensure you are running GeoPort as sudo / Administrator
    On Windows: This may be due to the UsbNcm Network Adapter driver. Go to 'Device Manager - Network Adapters' and uninstall the 'NcmUsb' adapters
    On Mac: This may happen if GeoPort is running from the 'Downloads' folder. Move GeoPort to another folder and try again
    If you still have the error please raise an issue on github: https://github.com/davesc63/GeoPort/issues
    Connect Device function completed
    2024-04-01 12:19:43 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:19:43] "POST /connect_device HTTP/1.1" 200 -
    GitHub Version = 1.0.2
    2024-04-01 12:19:45 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:19:45] "GET / HTTP/1.1" 200 -
    2024-04-01 12:19:45 Rushivs-MacBook-Air.local werkzeug[9130] INFO 127.0.0.1 - - [01/Apr/2024 12:19:45] "GET /api/fuel_types?region=All HTTP/1.1" 200 -
    Secured Device List is: [MuxDevice(devid=69, serial='00008101-0002255C2189003A', connection_type='USB'), MuxDevice(devid=68, serial='00008101-0002255C2189003A', connection_type='Network')]

I deleted and reinstalled GeoPort and it did not give me any pop-up or prompt asking to allow network Connections.
The screenshot of my Network settings is attached below

Screenshot 2024-04-01 at 12 29 30 PM

from geoport.

davesc63 avatar davesc63 commented on September 15, 2024

Ok I understand now. You’re not running GeoPort as sudo

I will be fixing this to launch GeoPort in a better way in version 2

you need to open a terminal window where GeoPort is saved. So the folder on your desktop. Open terminal then you can either:

  1. execute run.sh
  2. type the command: sudo GeoPort

at the moment you’re running GeoPort but not administratively, so we cannot create the network adapter / tunnel for securely connecting to the iOS device

easy fix to get you going :)

from geoport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.