Comments (4)
@philippedistributive
Definitely it errors, but not showing the Error stacks etc..
Could you put the contents of
PythonMonkey/tests/js/xhr-http-keep-alive.bash
Lines 30 to 51 in 9eea86a
strace -f -e socket pmjs xxx.js
?What's the output?
from pythonmonkey.
strace -f -e socket poetry run pmjs xxx.js
socket(AF_INET6, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 3
strace: Process 65501 attached
[pid 65501] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=65501, si_uid=1001, si_status=0, si_utime=1 /* 0.01 s /, si_stime=1 / 0.01 s /} ---
strace: Process 65502 attached
[pid 65502] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=65502, si_uid=1001, si_status=0, si_utime=2 / 0.02 s /, si_stime=0} ---
strace: Process 65503 attached
[pid 65503] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=65503, si_uid=1001, si_status=0, si_utime=2 / 0.02 s */, si_stime=0} ---
strace: Process 65504 attached
[pid 65504] +++ exited with 0 +++
strace: Process 65505 attached
strace: Process 65506 attached
strace: Process 65507 attached
strace: Process 65508 attached
strace: Process 65509 attached
strace: Process 65510 attached
strace: Process 65511 attached
strace: Process 65512 attached
strace: Process 65513 attached
[pid 65513] socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 6
[pid 65513] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7
[pid 65513] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 6
[pid 65513] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 6
[pid 65513] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 6
Uncaught NetworkError: Error: Python ClientConnectorError: Cannot connect to host www.example.org:80 ssl:default [Name or service not known]
DOMException@/home/philippe/Sources/PythonMonkey/python/pminit/pythonmonkey/node_modules/core-js/modules/web.dom-exception.constructor.js:64:17
#handleErrors@/home/philippe/Sources/PythonMonkey/python/pythonmonkey/builtin_modules/XMLHttpRequest.js:423:48
_home_philippe_Sources_PythonMonkey_python_pythonmonkey_builtin_modules_XMLHttpRequest_js/#sendAsync/<@/home/philippe/Sources/PythonMonkey/python/pythonmonkey/builtin_modules/XMLHttpRequest.js:400:38
strace: Process 65514 attached
[pid 65513] +++ exited with 0 +++
[pid 65514] +++ exited with 0 +++
[pid 65510] +++ exited with 0 +++
[pid 65511] +++ exited with 0 +++
[pid 65512] +++ exited with 0 +++
[pid 65509] +++ exited with 0 +++
[pid 65508] +++ exited with 0 +++
[pid 65507] +++ exited with 0 +++
[pid 65505] +++ exited with 0 +++
[pid 65506] +++ exited with 0 +++
+++ exited with 0 +++
from pythonmonkey.
Uncaught NetworkError: Error: Python ClientConnectorError: Cannot connect to host [www.example.org:80](http://www.example.org/) ssl:default [Name or service not known]
Check your DNS
from pythonmonkey.
um, yeah ok...
from pythonmonkey.
Related Issues (20)
- Future exception was never retrieved HOT 1
- JS Assert - How to See in Python HOT 4
- Intermittent tests crashes on main HOT 1
- Add support for static class methods HOT 2
- Better Docs + Docs Visibility HOT 1
- Can't install pythonmonkey in docker HOT 9
- Segmentation Fault When running DCP Protocol Code HOT 2
- Doing copy.deepcopy from spidermonkey response and then sending it back to spidermonkey throws fatal segmentation fault HOT 5
- Segmentation Fault When Printing dcp['dcp-env'].global HOT 5
- Building Linux arm64 wheels
- Can't Convert Python Bytes to a PythonMonkey Type HOT 7
- Segmentation fault when calling `quit()` on a job event listener HOT 6
- Logging stdin from JS causes segfault
- Property disappearing when translated to JS HOT 5
- console.log on iterator causes SegFault HOT 1
- Sometimes `x.constructor.name` is empty string when it's a string in NodeJS HOT 1
- Dict does not provide Object.prototype.toString as its default toString method
- object prototype chaining does not work correctly on proxied python objects
- Space issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythonmonkey.