一段时间后,Blackberry Simulator网络连接停止工作(Blackberry Simulator network connection stops working after some

编程入门 行业动态 更新时间:2024-10-07 20:32:45
一段时间后,Blackberry Simulator网络连接停止工作(Blackberry Simulator network connection stops working after some time)

首先,我想明确一点:我确实设法在BlackBerry Simulator上运行Internet连接(运行MDS,确保它具有权限,然后确保没有人占用8080端口等)

确实工作了一段时间。 例如,加载google.com没问题。

然后我尝试打开我的网站(我正在调试的那个)。 它第一次打开没问题。 但是在我点击“刷新”之后,我在屏幕底部显示“请求...”,进度条缓慢地进行(以对数方式接近结束 - 表示除了等待某事之外它实际上没有做任何事情) ,一旦到达终点(需要几分钟),将显示一条错误消息,说“ 所选移动数据服务发生通信故障。服务器可能正忙。请稍后再试。如果问题仍然存在,请联系你的管理员 “。

经过一些痛苦的挖掘...错误...研究,我发现如果我删除RIM目录中的所有* .dmp文件,然后重新启动MDS和模拟器,它会再次开始工作。 但该操作还有另一个效果 - 重置所有模拟器设置(包括“启用JScript”设置和浏览器历史记录),这真的很痛苦。

我试图最小化页面来本地化问题,并发现一个有趣的事情:在页面变得足够小之后,它确实设法加载第二次。 甚至可能是第三个。 但那时 - 同样的事情。 这让我觉得这个问题与模拟器收到的数据量有关。

如果有人对此有任何建议,我将不胜感激。

提前回答一些问题:

问题在于网站本身。 它打开并在“大”计算机,WinMobile PDA和iPhone上运行正常。

重新启动模拟器没有帮助。 只删除所有* .dmp文件。

真正的黑莓手机上不会出现此问题。 仅在模拟器上。

黑莓确实认为有网络连接。 如果它认为没有连接,它会立即显示一条错误消息,没有长的“Requestinng ...”进度条。

网页不是太重(总共少于20K;第一次加载一秒),但它确实包含大约十几个“包含”的文件 - CSS和脚本。

是的,我确实尝试禁用脚本。 同样的事情发生了

First of all, I want to be clear: I did manage to get Internet connection working on BlackBerry Simulator (run MDS, make sure it has permissions, then make sure nobody's hogging 8080 port, etc.)

It did work for some time. Loads google.com no problem, for example.

Then I try to open my website (the one that I'm debugging). It opens first time no problem. But after I hit "refresh", I get "Requesting..." at the bottom of the screen, and the progress bar goes slooooowly (logarithmically approaching the end - which indicates that it doesn't actually do anything except waiting on something), and once it reaches the end (which takes several minutes), an error message is displayed, saying "A communication failure occurred with the selected Mobile Data Service. The server may be busy. Please try again later. If the problem persists, contact your administrator".

After some painful digging in the garba... err... research, I found that it starts working again if I delete all *.dmp files in the RIM directory, then restart MDS and Simulator. But that operation also has another effect - resetting all Simulator settings (including "Enable JScript" setting and browser history), which is a real pain.

I tried to minimize the page to localize the issue, and found an interesting thing: after the page becomes small enough, it does manage to load a second time. And maybe even third. But then - same thing. This makes me think that the issue has something to do with the amount of data received by the Simulator.

If anybody has any advice on this, I would greatly appreciate.

To answer some questions in advance:

The problem is not with the website itself. It opens and works ok on "big" computer, on my WinMobile PDA, and on iPhone.

Restarting the Simulator doesn't help. Only deleting all *.dmp files does.

This problem does not occur on real Blackberry. Only on Simulator.

The Blackberry does think that there is network connection. If it thought that there was no connection, it would display an error message right away, without the long "Requestinng..." progress bar.

The web page is not too heavy (less than 20K in all; loads in a second the first time), but it does contain about a dozen of "included" files - CSS and scripts.

Yes, I did try to disable scripts. Same thing happens.

最满意答案

这可能有所帮助。

http://supportforums.blackberry.com/t5/Web-Development/quot-A-communication-failure-occurred-quot-when-uploading-file/mp/249773;jsessionid=9407A3494E39180C6A3FE17B082016B4

This might help.

http://supportforums.blackberry.com/t5/Web-Development/quot-A-communication-failure-occurred-quot-when-uploading-file/m-p/249773;jsessionid=9407A3494E39180C6A3FE17B082016B4

更多推荐

本文发布于:2023-07-17 10:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1142747.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:工作   网络   Blackberry   Simulator   network

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!