orbednetwork / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

All requests are hanging #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Chrome
2. Issue a new GET request
3. Hangs

What is the expected output? What do you see instead?
Request hangs

On what operating system?
Linux Mate

Please provide any additional information below.
Looks like I got the new UI today.  Seems to be hanging whenever I issue a 
request.

Original issue reported on code.google.com by skitch...@gmail.com on 8 Nov 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Thanks for issue report. Can you tell something more about an error? Maybe 
console output prints some message? It works fine for me.

Original comment by jarro...@gmail.com on 8 Nov 2012 at 8:21

GoogleCodeExporter commented 9 years ago
Same issue. Using fedora 14. Just hanging whenever I click send. It looks like 
it's busy but it's doing nothing!

Original comment by horan.k...@gmail.com on 12 Nov 2012 at 5:08

GoogleCodeExporter commented 9 years ago
Do you have 3.0.27 version? You can check it at chrome://chrome/extensions/
There were an issue with hanging out but I updated it lately. If you have 
3.0.27 this means that another issue is involved.

Original comment by jarro...@gmail.com on 12 Nov 2012 at 5:23

GoogleCodeExporter commented 9 years ago
I'm using version Advanced REST client 3.0.27

Original comment by horan.k...@gmail.com on 13 Nov 2012 at 11:24

GoogleCodeExporter commented 9 years ago
Same here. On MacBook Pro, OS X 10.8.2

Every request hangs forever, an in the server logs there is no request logs. 
The request is never getting the server.

Original comment by iv...@elninostore.com on 13 Nov 2012 at 6:23

GoogleCodeExporter commented 9 years ago
There is one more thing you can check. Last place where the error can occur 
without notice in the app is the background page. 
Go to Extensions in Chrome, check "developer mode" checkbox and then click to 
"Inspect views: _generated_background_page.html" under the application entry. 
It will show you is there is something bad with the background page. Go to 
console and try to make a request. Probably some error occur. Please, let mi 
know. I'd like to fix it asap.

Original comment by jarro...@gmail.com on 13 Nov 2012 at 8:31

GoogleCodeExporter commented 9 years ago
Hey,
Sorry for the short description of the bug, kind of busy.  The Extensions page 
suggests the following:

There were warnings when trying to install this extension:
'declarativeWebRequest' requires Google Chrome dev channel or newer.

Not sure what you mean by go to console and make a request.  Although I get the 
following in the console when issuing a request:

(-:-) 2012-11-13 16:41:21,742 [DEBUG] chromeQueryEnd

Original comment by skitch...@gmail.com on 13 Nov 2012 at 9:45

GoogleCodeExporter commented 9 years ago
I have the same problem.
Using:
 - Advanced REST client 3.0.27
 - Chrome 21.0.1180.89 m

After pushing the "send" button nothing happens.
No messages in the console, no output at the network tab of the Chrome 
developer tool and no requests on the destination server.

The extension page shows the message below in developer mode:
There were warnings when trying to install this extension:
'declarativeWebRequest' requires Google Chrome dev channel or newer.

Original comment by theovane...@gmail.com on 14 Nov 2012 at 10:49

GoogleCodeExporter commented 9 years ago
After installing the Google Chrome beta channel, this works now.  Looks like 
the app is dependent on newer versions of Chrome.

Original comment by skitch...@gmail.com on 14 Nov 2012 at 3:13

GoogleCodeExporter commented 9 years ago
@skitch920
lack of declarativeWebRequest is not an issue here. It should make a request 
even without this API available (it is used to change some headers that regular 
javascript's XmlHttpRequest object can't set). 

My request to you was to open console (chrome inspector) for background page. 
Then, in the app, send a request. Just before sending a request, the 
application communicates with the background page. After the background page 
respond to call the application will continue with the request. It seems that 
there is a problem (no response from the background page). I can't reproduce 
the problem by myself (in all my machines it works as designed) so I asking you 
to check if there is some error.

Original comment by jarro...@gmail.com on 14 Nov 2012 at 5:31

GoogleCodeExporter commented 9 years ago
I have tried something today.
This are the steps I took and the results.
Hopefully is it helpful else let me know.

Prepare (background page)
1: Open new tab in chrome
2: open URL 
"chrome-extension://<the-rest-client-id>/_generated_background_page.html"
3: Open de Chrome inspector (F12) on this tab
4: Open the "Source" tab on the Chrome inspector.
5: At the bottom bar of the Source tab, press the "Pause on all exceptions" 
button.

steps taken (Advanced REST client):
1: Open new tab in chrome
2: Select "Applications" on the bottom bar.
3: Open de Chrome inspector (F12)
4: Open the "Source" tab on the Chrome inspector.
5: At the bottom bar of the Source tab, press the "Pause on all exceptions" 
button.
6: Press on the "Advanced REST client" button on the just openend tab.
7: There will be a stop on a exception breakpoint (plusone.js, line 678, type 
error: "code_gen_from_strings")
8: Press "F8" (run) There will be a second stop on a exception breakpoint: 
(plusone.js, line 685, type error: "code_gen_from_strings")
9: Press "F8" again.
10: The Rest client will be opened.

Results 1:
At this moment there are no enties at the consoles from both inspectors.

sending a restfull request:
This will be a POST request, but the effect is the same for all types.
1: Open an saved request or create a new one on the opened rest client.
2: Press "Send" 

Results 2:
At this moment there are no enties at the consoles from both inspectors.

What a noticed is that the Chrome extension page shows that there are two 
"_generated_background_page.html" and one "RestClient.html"

Original comment by theovane...@gmail.com on 15 Nov 2012 at 8:42