timeout

Ensure the done() callback is being called in this test

自闭症网瘾萝莉.ら 提交于 2019-12-25 04:24:08
问题 it 'computes correctly when on & off have a list at cronRange[4]', -> @component.set('cronRanges', [Ember.Object.create({ on: "* * * 3 3,1,5" off: "* * * 3 3,1,5" })]) @component.set('dayOfWeek', 2) expect(@component.get('inRange')).to.be.false @component.set('dayOfWeek', 5) expect(@component.get('inRange')).to.be.true @component.set('dayOfWeek', 1) expect(@component.get('inRange')).to.be.true @component.set('dayOfWeek', 3) expect(@component.get('inRange')).to.be.true this is an ember unit

jQuery AJAX requests not working on Nokia E71 browser

时光怂恿深爱的人放手 提交于 2019-12-25 03:34:45
问题 After fixing jQuery compatibility with Nokia E71 browser to render pages now I'm unable to do an AJAX request. I've tried consuming a WS REST using JSONP with jQuery 1.5.2 but all the requests timed out. 回答1: Nokia E71 won't support JQuery . Please try with the latest Nokia models. 来源: https://stackoverflow.com/questions/5891331/jquery-ajax-requests-not-working-on-nokia-e71-browser

It is not possible to download large files at Jetty server

安稳与你 提交于 2019-12-25 03:34:11
问题 I made a few test downloads using the Jetty 9 server, where it is made multiple downloads of a single file with an approximate size of 80 MB. When smaller number of downloads and the time of 55 seconds is not reached to download, all usually end, however if any downloads in progress after 55 seconds the flow of the network simply to download and no more remains. I tried already set the timeout and the buffer Jetty, though this has not worked. Has anyone had this problem or have any

Loopj timeout exception in Android

北战南征 提交于 2019-12-25 02:48:21
问题 I am having a strange problem with Loopj Async HTTP library. I sometimes get the response using GET or POST, sometimes the response comes after a long time, some times the response does not come at all. This happens only when wifi is used. I have used loopj in so many projects and those work fine with wifi but not this project. When I use my mobile data 3G connection, always the response comes. I have overridden the onFaliure method and this is what I get when the response from server does

Python heroku error H20 App boot timeout, R10 boot timeout

人盡茶涼 提交于 2019-12-25 02:44:13
问题 I do as the examples: http://flask.pocoo.org/docs/quickstart/, and I can run it well on my own machine after "foreman start", however when I deploy it on heroku, I got R10 timeout error. I wrote the Procfileas : web: python flaskr.py and in order to run the "git push heroku master" command, I delete the "disreibute==0.6.24" sentence because if not, I would get an error as follows: Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'install' is not defined

Adobe Flex 4.6 WebService request timeout

徘徊边缘 提交于 2019-12-25 02:34:15
问题 The code to get connected to my WebService (Lotus Notes Database) is created by the Flash Builder over "Data/Connect with WebService...". All works fine, but I have a problem to increase the request timeout. The API says that you can set the request timeout like this: _serviceControl.requestTimeout = 300; On a iOS (iPad) it seems to be work all fine. But if I run my app on desktop or on an android smartphone this only works if I set up the request timeout lower than ~30 seconds. If I don't

C# Setting WriteTimeout / ReadTimeout on Network Stream Makes No Difference?

前提是你 提交于 2019-12-25 02:22:50
问题 I have following method code in my Xamarin.Forms application using (TcpClient client = new TcpClient(ip, port)) using (NetworkStream stream = client.GetStream()) { byte[] messageBytes = PrepareMessageBytes(); // // Setting these seam to have no effect // stream.WriteTimeout = (int)TimeSpan.FromSeconds(10).TotalMilliseconds; stream.ReadTimeout = (int)TimeSpan.FromSeconds(10).TotalMilliseconds; // // I have set read and write timeouts above but when // hitting this line, app hangs indefinitely?

JavaMail: Socket read timeout

丶灬走出姿态 提交于 2019-12-25 02:15:50
问题 I'm using JavaMail and I want it to work through proxy for every threads (I have multithreading application). I'm using SMTPTransport.connect(Socket socket) for this. Here is socket initialization: socket = new Socket(); socket.setSoTimeout(10000); socket.connect(new InetSocketAddress(smtpHost, smtpPort)); Here is SMTPTransport call: SMTPTransport transport = null; try { transport = (SMTPTransport) mail.getTransport("smtp"); transport.connect(socket); System.out.println("ok"); And so on. But

Android - Function is not completing

廉价感情. 提交于 2019-12-25 01:43:46
问题 I'm trying to get a string using a http call. I am noticing that in large files I am not reading all of the file before it stops and gives me this error and then continues with the rest of the script. 11-29 11:26:18.417: WARN/ActivityManager(59): Launch timeout has expired, giving up wake lock! 11-29 11:26:18.556: WARN/ActivityManager(59): Activity idle timeout for HistoryRecord{45059000 com.MeetingManager/.MeetingManager} I feel like the getXML function is taking to long and the app just

Alamofire timeout not working in Swift 3

不羁的心 提交于 2019-12-24 22:25:25
问题 I am using Alamofire for network request and want to add timeout. But Alamofire's function is not working. Nothing happens when I write the following code let manager = Alamofire.SessionManager.default manager.session.configuration.timeoutIntervalForRequest = 1 // not working, 20 secs normally (1 just for try) manager.request(url, method: method, parameters: params) .responseJSON { response in print(response) ... When I try without Alamofire for network request, timeout working successfully.