Closed axc190072 closed 6 months ago
Works for a couple minutes then location stops updating. I encounter:
Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Please tell me more about how you are using it? Can you share your server console log? Or screen shots
if you press “stop location” does it clear out all your old connections?
im assuming you’re attempting “auto walk” playback featurew
I get that error whenever it stops working and I try to stop location. I am using it on Mac ARM and iPhone 17.1.2.
My console log: 2024-04-27 11:00:49 anthos-MacBook-Air.local GeoPort[3625] INFO Running as Sudo 2024-04-27 11:00:49 anthos-MacBook-Air.local GeoPort[3625] INFO Serving: http://localhost:57548
Raw Devices: [MuxDevice(devid=185, serial='00008110-000275D03450401E', connection_type='Network')]
2024-04-27 11:00:54 anthos-MacBook-Air.local GeoPort[3625] WARNING User locale is None. Defaulting to IP geolocation service. 2024-04-27 11:00:54 anthos-MacBook-Air.local GeoPort[3625] INFO
Connected Devices: {'00008110-000275D03450401E': {'Wifi': [{'Identifier': '00008110-000275D03450401E', 'DeviceClass': 'iPhone', 'DeviceName': 'iPhone', 'BuildVersion': '21B101', 'ProductVersion': '17.1.2', 'ProductType': 'iPhone14,6', 'UniqueDeviceID': '00008110-000275D03450401E', 'ConnectionType': 'Network', 'wifiState': True, 'userLocale': 'United States'}]}}
2024-04-27 11:06:09 anthos-MacBook-Air.local GeoPort[3625] INFO RSD already created. Reusing connection Exception occurred during processing of request from ('127.0.0.1', 53737) 2024-04-27 11:06:09 anthos-MacBook-Air.local GeoPort[3625] INFO RSD Data: {'host': 'fd28:85a0:cd41::1', 'port': '51139'} 2024-04-27 11:06:09 anthos-MacBook-Air.local GeoPort[3625] ERROR Error setting location: [Errno 24] Too many open files Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort' Traceback (most recent call last):
The above exception was the direct cause of the following exception:
File "werkzeug/serving.py", line 362, in run_wsgi Traceback (most recent call last): File "socketserver.py", line 691, in process_request_thread File "socketserver.py", line 361, in finish_request File "werkzeug/serving.py", line 338, in execute File "socketserver.py", line 755, in init File "werkzeug/serving.py", line 390, in handle File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
File "http/server.py", line 436, in handle Traceback (most recent call last): File "http/server.py", line 424, in handle_one_request File "werkzeug/serving.py", line 382, in run_wsgi File "PyInstaller/loader/pyimod02_importers.py", line 400, in exec_module File "PyInstaller/loader/pyimod02_importers.py", line 189, in get_code File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort' ImportError: PyiFrozenImporter cannot handle module 'werkzeug.debug'
The above exception was the direct cause of the following exception:
2024-04-27 11:06:18 anthos-MacBook-Air.local GeoPort[3625] INFO RSD in udid mapping is: {'host': 'fd28:85a0:cd41::1', 'port': '51139'} File "threading.py", line 1045, in _bootstrap_inner Exception occurred during processing of request from ('127.0.0.1', 53740) Exception occurred during processing of request from ('127.0.0.1', 53741) File "threading.py", line 982, in run File "main.py", line 879, in check_termination 2024-04-27 11:06:18 anthos-MacBook-Air.local GeoPort[3625] INFO RSD already created. Reusing connection File "asyncio/runners.py", line 189, in run File "asyncio/runners.py", line 59, in enter 2024-04-27 11:06:18 anthos-MacBook-Air.local GeoPort[3625] INFO RSD Data: {'host': 'fd28:85a0:cd41::1', 'port': '51139'} File "asyncio/runners.py", line 137, in _lazy_init File "asyncio/events.py", line 810, in new_event_loop 2024-04-27 11:06:18 anthos-MacBook-Air.local GeoPort[3625] ERROR Error setting location: [Errno 24] Too many open files File "asyncio/events.py", line 699, in new_event_loop File "asyncio/unix_events.py", line 64, in init File "asyncio/selector_events.py", line 53, in init File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files Exception ignored in: <function BaseEventLoop.del at 0x1071e79c0> Traceback (most recent call last): File "asyncio/base_events.py", line 695, in del File "asyncio/unix_events.py", line 68, in close File "asyncio/selector_events.py", line 91, in close File "asyncio/selector_events.py", line 98, in _close_self_pipe AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
threading.py:1047: RuntimeWarning: coroutine 'sleep' was never awaited RuntimeWarning: Enable tracemalloc to get the object allocation traceback Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
File "threading.py", line 1045, in _bootstrap_inner
Exception occurred during processing of request from ('127.0.0.1', 53748)
Exception in thread Thread-134 (
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
File "threading.py", line 982, in run
File "main.py", line 883, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
File "threading.py", line 982, in run
File "asyncio/runners.py", line 189, in run
File "main.py", line 883, in
During handling of the above exception, another exception occurred:
File "asyncio/base_events.py", line 695, in del AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract File "asyncio/unix_events.py", line 68, in close OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort' File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "asyncio/selector_events.py", line 91, in close OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Exception occurred during processing of request from ('127.0.0.1', 53767)
File "threading.py", line 1045, in _bootstrap_inner
File "main.py", line 883, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "asyncio/unix_events.py", line 68, in close File "socketserver.py", line 691, in process_request_thread File "socketserver.py", line 361, in finish_request File "asyncio/selector_events.py", line 91, in close File "asyncio/selector_events.py", line 98, in _close_self_pipe AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' File "socketserver.py", line 755, in init Traceback (most recent call last): File "werkzeug/serving.py", line 390, in handle File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init File "http/server.py", line 436, in handle OSError: [Errno 24] Too many open files File "http/server.py", line 424, in handle_one_request
During handling of the above exception, another exception occurred:
File "werkzeug/serving.py", line 382, in run_wsgi Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 400, in exec_module File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
File "threading.py", line 982, in run
File "asyncio/runners.py", line 189, in run
File "main.py", line 883, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Exception occurred during processing of request from ('127.0.0.1', 53783) File "threading.py", line 982, in run File "asyncio/runners.py", line 137, in _lazy_init File "asyncio/events.py", line 810, in new_event_loop File "main.py", line 879, in check_termination File "asyncio/runners.py", line 189, in run File "asyncio/events.py", line 699, in new_event_loop File "asyncio/unix_events.py", line 64, in init File "asyncio/runners.py", line 59, in enter File "asyncio/selector_events.py", line 53, in init File "asyncio/runners.py", line 137, in _lazy_init File "asyncio/events.py", line 810, in new_event_loop File "asyncio/events.py", line 699, in new_event_loop File "selectors.py", line 511, in init File "asyncio/unix_events.py", line 64, in init OSError: [Errno 24] Too many open files Exception ignored in: <function BaseEventLoop.del at 0x1071e79c0> Traceback (most recent call last): File "asyncio/base_events.py", line 695, in del File "asyncio/selector_events.py", line 53, in init File "asyncio/unix_events.py", line 68, in close File "selectors.py", line 511, in init File "asyncio/selector_events.py", line 91, in close OSError: [Errno 24] Too many open files File "asyncio/selector_events.py", line 98, in _close_self_pipe Exception ignored in: <function BaseEventLoop.del at 0x1071e79c0> Traceback (most recent call last): File "asyncio/base_events.py", line 695, in del AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' File "asyncio/unix_events.py", line 68, in close Traceback (most recent call last): File "asyncio/selector_events.py", line 91, in close File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init File "asyncio/selector_events.py", line 98, in _close_self_pipe OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort' Traceback (most recent call last):
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init File "socketserver.py", line 691, in process_request_thread File "socketserver.py", line 361, in finish_request File "socketserver.py", line 755, in init File "werkzeug/serving.py", line 390, in handle File "http/server.py", line 436, in handle OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Exception occurred during processing of request from ('127.0.0.1', 53791) File "asyncio/selector_events.py", line 91, in close Traceback (most recent call last): File "threading.py", line 1045, in _bootstrap_inner File "threading.py", line 982, in run File "main.py", line 879, in check_termination File "asyncio/runners.py", line 189, in run File "asyncio/runners.py", line 59, in enter File "asyncio/runners.py", line 137, in _lazy_init File "asyncio/selector_events.py", line 98, in _close_self_pipe File "asyncio/events.py", line 810, in new_event_loop File "asyncio/events.py", line 699, in new_event_loop File "asyncio/unix_events.py", line 64, in init File "asyncio/selector_events.py", line 53, in init File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' Exception ignored in: <function BaseEventLoop.del at 0x1071e79c0> Traceback (most recent call last): File "asyncio/base_events.py", line 695, in del File "asyncio/unix_events.py", line 68, in close File "asyncio/selector_events.py", line 91, in close File "asyncio/selector_events.py", line 98, in _close_self_pipe AttributeError: '_UnixSelectorEventLoop' object has no attribute '_ssock' Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "werkzeug/serving.py", line 362, in run_wsgi File "werkzeug/serving.py", line 338, in execute File "selectors.py", line 511, in init OSError: [Errno 24] Too many open files
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "PyInstaller/loader/pyimod02_importers.py", line 187, in get_code File "PyInstaller/loader/pyimod01_archive.py", line 134, in extract OSError: [Errno 24] Too many open files: '/Applications/GeoPort-mac.app/Contents/Resources/GeoPort'
The above exception was the direct cause of the following exception:
2024-04-27 11:12:02 anthos-MacBook-Air.local main[3625] ERROR Exception on /stop_location [POST] Traceback (most recent call last): File "flask/app.py", line 1473, in wsgi_app File "flask/app.py", line 882, in full_dispatch_request File "flask/app.py", line 880, in full_dispatch_request File "flask/app.py", line 865, in dispatch_request File "asgiref/sync.py", line 226, in call File "asyncio/events.py", line 810, in new_event_loop File "asyncio/events.py", line 699, in new_event_loop File "asyncio/unix_events.py", line 64, in init File "asyncio/selector_events.py", line 56, in init File "asyncio/selector_events.py", line 107, in _make_self_pipe File "socket.py", line 608, in socketpair OSError: [Errno 24] Too many open files
Yeah, the location buffer is overloaded. stop location clears every previous location setting. Its not working in your case as the app has crashed
I have some work around ideas that I will look at updating.
For now you need to stop location more regularly
Works for a couple minutes then location stops updating. I encounter:
Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.