-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to run the analyzer (unforunatelly) - exception is raised #3
Comments
Hey @brutany, Can you share more information? At which level are you receiving this error? did you change some configurations? |
.
Hi Sadegh
y name is Tatyana Bruk (brutany) and I am telecom integrator engineer since
WIPEL/WIMAX times
FIrst let me express that I am thrilled to find something like your project
I hate wireshark and was looking for something like your project
SO KUDOS for an amazing JOB!!!!
I have successfully installed the application from your github
Unfortunately when I am choosing to parse a file ,* there is
PYTHON exception raised . (log below)*
I tried different files and also verified with the file that attached to
your project.
I would really relay appreciate if you can take a look and maybe able to
solve this issue
Can t wait to use this analyzer
I would also wanted to say that I can contribute to your project , we can
discuss how.
THANK YOU !
env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer# sudo
../.env/bin/python3 manage.py runserver 0.0.0.0:8080
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
May 24, 2022 - 19:05:44
Django version 3.1.4, using settings 'fiveGseqAnalyzer.settings'
Starting development server at http://0.0.0.0:8080/
Quit the server with CONTROL-C.
[24/May/2022 19:05:48] "GET /analyzer/ HTTP/1.1" 200 120376
[24/May/2022 19:05:48] "GET /static/stickyNote/dist/jquery-ui.js HTTP/1.1"
304 0
[24/May/2022 19:05:48] "GET /static/stickyNote/dist/jquery.postitall.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/snackbar/toast.min.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/jQueryConfirm/jquery-confirm.min.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/docApp/move-to-top.js HTTP/1.1" 200 348
[24/May/2022 19:05:48] "GET /static/sidebar/sidebar.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET
/static/jsonformatter/source/jsonFormatter.min.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/jquery.dataTables.min.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.buttons.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.responsive.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET
/static/datatables/js/dataTables.altEditor.free.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.select.js
HTTP/1.1" 304 0
[24/May/2022 19:05:49] "POST /analyzer/ajax/ngapUpdater HTTP/1.1" 200 994
[24/May/2022 19:05:50] "POST /analyzer/ajax/pfcpUpdater HTTP/1.1" 200 1048
processing file: test_TestRegistration-20220524190559.pcap
------------- PFCP: packet Number 253, MessageType: 5, MessageName:
Association Setup Request -------------
Is there any filter on parameters? False
Is it requred? True
ie_type is: 60 and ie_name is: Node ID
ie_type is: 96 and ie_name is: Recovery Time Stamp
ie_type is: 89 and ie_name is: CP Function Features
Traceback (most recent call last):
File "main.py", line 145, in <module>
seq_diagram = fiveG.create_puml_seq_diagram(packets, protocols,
traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 174, in create_puml_seq_diagram
seqevents = self.packets_to_seqevents(packets, protocols, traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 167, in packets_to_seqevents
for seqevent in self.packet_to_seqevents(packet, traceName):
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 151, in packet_to_seqevents
self.get_message_lines(packet, traceName),
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 138, in get_message_lines
message_lines = pfcp.pfcpAnalyzer(packet, traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pfcp.py",
line 349, in pfcpAnalyzer
msg_type = pkt.pfcp.msg_type
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 34, in __getattr__
val = self.get_field(item)
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 254, in get_field
self._convert_showname_field_names_to_field_names()
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 275, in _convert_showname_field_names_to_field_names
for field_name in self._all_fields:
*RuntimeError: dictionary keys changed during iteration*
Exception ignored in: <generator object Capture._packets_from_tshark_sync
at 0x7ff0b43c3200>
Traceback (most recent call last):
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/capture/capture.py",
line 249, in _packets_from_tshark_sync
self.eventloop.run_until_complete(self._cleanup_subprocess(tshark_process))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
run_until_complete
return future.result()
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/capture/capture.py",
line 412, in _cleanup_subprocess
return await asyncio.wait_for(process.wait(), 1)
File "/usr/lib/python3.8/asyncio/tasks.py", line 490, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError:
Bad Request: /analyzer/ajax/AnalyzeTrace
[24/May/2022 19:06:03] "POST /analyzer/ajax/AnalyzeTrace HTTP/1.1" 400 0
…On Tue, May 24, 2022 at 4:47 AM Sadegh Karimi ***@***.***> wrote:
Hey @brutany <https://github.com/brutany>, Can you share more
information? At which level are you receiving this error? did you change
some configurations?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARDH6ZXC33EANYLXI2C2FKTVLSJRTANCNFSM5WW423FQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
HI Again
I have installed a second instance of the analyzer and unfortunately still
facing exception . attached .
I tried different pcap files including the default file attached in github.
Please help ! I am ready to contribute for this project
Thank you
Tatyana Bruk
…On Wed, May 25, 2022 at 12:01 PM Tanya Bruk ***@***.***> wrote:
.
Hi Sadegh
y name is Tatyana Bruk (brutany) and I am telecom integrator engineer
since WIPEL/WIMAX times
FIrst let me express that I am thrilled to find something like your project
I hate wireshark and was looking for something like your project
SO KUDOS for an amazing JOB!!!!
I have successfully installed the application from your github
Unfortunately when I am choosing to parse a file ,* there is
PYTHON exception raised . (log below)*
I tried different files and also verified with the file that attached to
your project.
I would really relay appreciate if you can take a look and maybe able to
solve this issue
Can t wait to use this analyzer
I would also wanted to say that I can contribute to your project , we can
discuss how.
THANK YOU !
env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
(.env) ***@***.***:/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer#
sudo ../.env/bin/python3 manage.py runserver 0.0.0.0:8080
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
May 24, 2022 - 19:05:44
Django version 3.1.4, using settings 'fiveGseqAnalyzer.settings'
Starting development server at http://0.0.0.0:8080/
Quit the server with CONTROL-C.
[24/May/2022 19:05:48] "GET /analyzer/ HTTP/1.1" 200 120376
[24/May/2022 19:05:48] "GET /static/stickyNote/dist/jquery-ui.js HTTP/1.1"
304 0
[24/May/2022 19:05:48] "GET /static/stickyNote/dist/jquery.postitall.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/snackbar/toast.min.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/jQueryConfirm/jquery-confirm.min.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/docApp/move-to-top.js HTTP/1.1" 200 348
[24/May/2022 19:05:48] "GET /static/sidebar/sidebar.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET
/static/jsonformatter/source/jsonFormatter.min.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/jquery.dataTables.min.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.buttons.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.responsive.js
HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET
/static/datatables/js/dataTables.altEditor.free.js HTTP/1.1" 304 0
[24/May/2022 19:05:48] "GET /static/datatables/js/dataTables.select.js
HTTP/1.1" 304 0
[24/May/2022 19:05:49] "POST /analyzer/ajax/ngapUpdater HTTP/1.1" 200 994
[24/May/2022 19:05:50] "POST /analyzer/ajax/pfcpUpdater HTTP/1.1" 200 1048
processing file: test_TestRegistration-20220524190559.pcap
------------- PFCP: packet Number 253, MessageType: 5, MessageName:
Association Setup Request -------------
Is there any filter on parameters? False
Is it requred? True
ie_type is: 60 and ie_name is: Node ID
ie_type is: 96 and ie_name is: Recovery Time Stamp
ie_type is: 89 and ie_name is: CP Function Features
Traceback (most recent call last):
File "main.py", line 145, in <module>
seq_diagram = fiveG.create_puml_seq_diagram(packets, protocols,
traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 174, in create_puml_seq_diagram
seqevents = self.packets_to_seqevents(packets, protocols, traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 167, in packets_to_seqevents
for seqevent in self.packet_to_seqevents(packet, traceName):
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 151, in packet_to_seqevents
self.get_message_lines(packet, traceName),
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pcap.py",
line 138, in get_message_lines
message_lines = pfcp.pfcpAnalyzer(packet, traceName)
File
"/home/osboxes/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/libs/pfcp.py",
line 349, in pfcpAnalyzer
msg_type = pkt.pfcp.msg_type
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 34, in __getattr__
val = self.get_field(item)
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 254, in get_field
self._convert_showname_field_names_to_field_names()
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/packet/layer.py",
line 275, in _convert_showname_field_names_to_field_names
for field_name in self._all_fields:
*RuntimeError: dictionary keys changed during iteration*
Exception ignored in: <generator object Capture._packets_from_tshark_sync
at 0x7ff0b43c3200>
Traceback (most recent call last):
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/capture/capture.py",
line 249, in _packets_from_tshark_sync
self.eventloop.run_until_complete(self._cleanup_subprocess(tshark_process))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
run_until_complete
return future.result()
File
"/home/osboxes/5G-Trace-Analyzer/.env/lib/python3.8/site-packages/pyshark/capture/capture.py",
line 412, in _cleanup_subprocess
return await asyncio.wait_for(process.wait(), 1)
File "/usr/lib/python3.8/asyncio/tasks.py", line 490, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError:
Bad Request: /analyzer/ajax/AnalyzeTrace
[24/May/2022 19:06:03] "POST /analyzer/ajax/AnalyzeTrace HTTP/1.1" 400 0
On Tue, May 24, 2022 at 4:47 AM Sadegh Karimi ***@***.***>
wrote:
> Hey @brutany <https://github.com/brutany>, Can you share more
> information? At which level are you receiving this error? did you change
> some configurations?
>
> —
> Reply to this email directly, view it on GitHub
> <#3 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARDH6ZXC33EANYLXI2C2FKTVLSJRTANCNFSM5WW423FQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
@brutany |
Yes
…On Thu, May 26, 2022 at 11:19 Sadegh Karimi ***@***.***> wrote:
@brutany <https://github.com/brutany>
Are you running the program with root user privilege?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARDH6ZUPFMWDAPR5UF45UGTVL6JALANCNFSM5WW423FQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I can provide remote access
Thanks a lot for trying to help
…On Thu, May 26, 2022 at 11:19 Sadegh Karimi ***@***.***> wrote:
@brutany <https://github.com/brutany>
Are you running the program with root user privilege?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARDH6ZUPFMWDAPR5UF45UGTVL6JALANCNFSM5WW423FQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please contact me at [email protected] |
I see a similar problem in my tests. Im using python3.9 since 3.8 wont let me get to the actual website when running. I see with my configuration the trace is being analyzed based on the console logs, but the sample trace fails while reading the payload at some point with the error: |
HI
I am so excited to have something like this awesomeanalyzer (wireshark sucks!!!)
BUT unfortunately I am not able to run it.
IT throws exception
Can you please please please try to help?
Thank you very much
p.s my OS verion:
[Linux]osboxes 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
networkanalyzer.txt
The text was updated successfully, but these errors were encountered: