Processing script [productname-0.js,86] failed: Server returned HTTP response code: 503

37 views
Skip to first unread message

Xiajh

unread,
May 19, 2015, 6:24:54 AM5/19/15
to sd...@googlegroups.com

Hi,

I noticed that my breakpoint in Eclipse isn't triggered. (breakpoint is set on an eventhandler)
I'm using GWT 2.7 and the newest SDGB version.
I've turned on my trace and saw the following error which I can't solve. 

| Thread-101 | 2015-05-19 12:17:03.060 | com.github.sdbg.debug.core | /sourcemaps | com.github.sdbg.debug.core.util.Trace | trace | 45 | Checking script for sourcemaps: [productname-0.js,86] |
| Thread-101 | 2015-05-19 12:17:03.064 | com.github.sdbg.debug.core | /sourcemaps | com.github.sdbg.debug.core.util.Trace | trace | 45 | Found sourcemap with URL: http://127.0.0.1:9996/sourcemaps/productname/725674C7723CED743B1DE3B3ED88C2DE_sourcemap.json |
| Thread-101 | 2015-05-19 12:17:03.104 | com.github.sdbg.debug.core | /sourcemaps | com.github.sdbg.debug.core.util.Trace | trace | 45 | Processing script [productname-0.js,86] failed: Server returned HTTP response code: 503 for URL: http://127.0.0.1:9996/sourcemaps/productname/725674C7723CED743B1DE3B3ED88C2DE_sourcemap.json |
| Thread-101 | 2015-05-19 12:17:03.108 | com.github.sdbg.debug.core | /wireProtocol | com.github.sdbg.debug.core.util.Trace | trace | 45 | unhandled notification: Page.frameAttached |

Any ideas?

Cheers, Xia

Ivan Markov

unread,
May 19, 2015, 9:49:06 AM5/19/15
to sd...@googlegroups.com
As a start: are you able to debug successfully in ChromeDevTools?

Xiajh

unread,
May 19, 2015, 9:53:26 AM5/19/15
to sd...@googlegroups.com
Hi Ivan,

You mean directly via Chrome? If yes, than yes. My breakpoints does get triggered there.

Xiajh

unread,
May 20, 2015, 7:20:53 AM5/20/15
to sd...@googlegroups.com
Hi Ivan,

Do you need extra information?

Cheers, X

Ivan Markov

unread,
May 21, 2015, 2:30:08 AM5/21/15
to sd...@googlegroups.com
The problem seems to be this line:
| Thread-101 | 2015-05-19 12:17:03.104 | com.github.sdbg.debug.core | /sourcemaps | com.github.sdbg.debug.core.util.Trace | trace | 45 | Processing script [productname-0.js,86] failed: Server returned HTTP response code: 503 for URL: http://127.0.0.1:9996/sourcemaps/productname/725674C7723CED743B1DE3B3ED88C2DE_sourcemap.json |

Basically, SDBG cannot load the sourcemap. I thought that if the problem is somehow in your SuperDevMode server configuration, the problem will manifest itself also with ChromeDevTools, but apparently this is not the case.
 You can help me by trying to do the following:
1) Using Chrome Devtools, look at the end of script " [productname-0.js,86]". There should be a comment containing the sourcemap url. Please forward to me the contents of the comment
2) Using ChromeDevtools, enable Network tracing and try to find out in the network tracing log what URL ChromeDevtools is using to load the sourcemap.

Xiajh

unread,
May 21, 2015, 11:03:07 AM5/21/15
to sd...@googlegroups.com
HI Ivan,

I've send you a private message. Did you got it?


Ivan Markov

unread,
May 21, 2015, 12:30:34 PM5/21/15
to sd...@googlegroups.com
Yes.

Xiajh

unread,
May 22, 2015, 9:12:08 AM5/22/15
to sd...@googlegroups.com
Hi all,

Mystery around the HTTP response code has been solved. 

As it turns out, localhost and 127.0.0.1 weren't included in my Internetoptions Proxy Bypass. 

Once it is included, SDBG works like a charm :)

@Ivan: thanks for the support
Reply all
Reply to author
Forward
0 new messages