Page 1 of 1

Question Debugger in CrossUI RAD Studio

Posted: Tue Aug 11, 2015 6:30 am
by Sergei
Hello.
I use CrossUI RAD Studio for Linux. Pressing the "Debug Application" on the toolbar, and then, in the window that opens press the button "Show Debug Window" get the error: "... The requested URL could not be retrieved. When a URL http://127.0.0.1:39471/devtools/devtools.html? The following error occurred. The connection to 127.0.0.1 failed ..... ". I think the port starts debugging (in this case 39471) must be open (iptables). But it is changing with each launch. How do I open it? Maybe somewhere in the settings, you can define a constant to the port?
Thanks.

Re: Question Debugger in CrossUI RAD Studio

Posted: Thu Aug 13, 2015 4:18 am
by support
The port is created by NW JS, automatically.

Re: Question Debugger in CrossUI RAD Studio

Posted: Thu Aug 13, 2015 5:26 am
by Sergei
How, run the debugger under Debian, in fact created by port NW JS automatically, but Debian port that is closed?

Re: Question Debugger in CrossUI RAD Studio

Posted: Thu Aug 13, 2015 6:17 am
by support
Please check your permissions issue

Also check your log file, to see why the port is not open

Re: Question Debugger in CrossUI RAD Studio

Posted: Thu Aug 13, 2015 7:42 am
by Sergei
The full error message is as follows:
-------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR
The requested URL could not be retrieved
Upon receiving the URL http://127.0.0.1:58728/devtools/devtools.html? the following error occurred
Connection to 127.0.0.1 failed
The system returned: (111) Connection refused
Remote host or network is unavailable. Retry the request later
The Your cache administrator: root.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
As root it works normally. But working as root is not correct. I can assign user rights to a resource debugging, but I do not know where he is. You can tell me?

Re: Question Debugger in CrossUI RAD Studio

Posted: Thu Aug 13, 2015 8:39 am
by support
I cant find the problem. try go to https://github.com/nwjs/nw.js/wiki.