Connections is not always established
I m trying on my site flash player comunication. Connection synhronization is on my site.
Connection between some IP s is established well and continue to the end of call. But between another IP s is not established at all.
What it may be ?
My site TURDOS.RU (travel by byke or on foot) russian Moscow
May be for some GURU in ActionScript all the code
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="624" height="532" minWidth="500" minHeight="500"
viewSourceURL="srcview/index.html"
creationComplete="p2p_1()">
<fx:Declarations>
<!-- Разместить невизуальные элементы (например, службы или объекты значений) -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.events.ListEvent;
import mx.collections.ArrayCollection;
private const CirrusAddress:String = "rtmfp://p2p.rtmfp.net";
private const DeveloperKey:String = "a56230a18105f402da76990e-69964df27226";
private var nc:NetConnection;
private var myPeerID:String ;
private var farPeerID:String = "";
private var sendStream:NetStream;
private var recvStream:NetStream;
private var cam:Camera;
private var mic:Microphone;
private var loader:URLLoader;
private var loader1:URLLoader;
private var loader2:URLLoader;
private var loader3:URLLoader;
private var my_id:String;
private var num:String;
private var user1:String;
private var adobeChatID:String;
private var iam:String;
private var adobeChatIDslave:String;
private var tMaster:Timer;
private var tSlave:Timer;
private var tMaster1:Timer;
private var tMasterLast:Timer;
private var tRec:Timer;
private var str10:String;
private var request:URLRequest;
private var request1:URLRequest;
private var request2:URLRequest;
private var request3:URLRequest;
//private var path:String="http://localhost:1961/tur/";
private var path:String="";
private var timer_ind:int = 0;
private var timer_ind1:int = 0;
private var ok:int = 0;
private var once:int = 0;
private var once1:int = 0;
private var camS:Camera;
private var micS:Microphone;
private var timerSeconds:int;
private var timerSeconds1:int;
private var file:FileReference;
private var fileSendStream:NetStream;
// A Dataprovider for the listitem (to display downloads)
private var dp:ArrayCollection = new ArrayCollection;
private var fileRecievedStream:NetStream;
public function p2p_1():void{
cam = Camera.getCamera();
if(cam) {
cam.setMode(280,240,15,true);
var vid:Video = new Video(cam.width, cam.height);
vid.x = 0;
vid.y = 0;
vid.attachCamera(cam);
video1.width = cam.width;
video1.height = cam.height;
video1.addChild(vid);
else{
//wcam.visible = true;
mic = Microphone.getMicrophone();
if(mic){
//mic.setLoopBack(true);
//mic.setUseEchoSuppression(true);
else{
//wmic.visible = true;
if(cam!=null || mic!=null){
Security.showSettings();
error1.visible = false;
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, ncHandler);
nc.connect(CirrusAddress, DeveloperKey);
//begin.enabled = false;
info1.visible = true;
fileList.visible = false;
fileList.addEventListener(ListEvent.ITEM_CLICK, itemDownloadHandler);
fl1.visible = false;
fl2.visible = false;
frec.visible = false;
frec1.visible = false;
close1.visible = false;
load1.visible = false;
fileSizeError.visible = false;
private function ncHandler(event:NetStatusEvent):void {
var myQueryStrings:Object=this.loaderInfo.parameters;
my_id=myQueryStrings.id;
num=myQueryStrings.num;
user1=myQueryStrings.user1;
iam=myQueryStrings.iam;
info1.visible = false;
if(event.info.code=='NetConnection.Connect.Closed')
close1.visible = true;
if(event.info.code!="NetConnection.Connect.Failed")
if(iam=="slave"){
if(once1 == 0){
once1 = 1;//so that if some crazy thing think to call this stuff twice
tSlave = new Timer(5000,0);
myPeerID = nc.nearID;
farPeerID = myQueryStrings.VideoChatID;
labelBeginSlave.visible = true;
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&iam=slave" + "&Init=no";
request = new URLRequest(str10);
loader = new URLLoader();
try {loader.load(request); }
catch (error:SecurityError) {trace("A SecurityError has occurred.");}
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader.addEventListener(Event.COMPLETE, function (event:Event):void
try {
trace(loader.data);
tSlave.addEventListener(TimerEvent.TIMER,function (event:Event):void
tSlave.stop();
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&iam=slave" + "&Init=get";
request = new URLRequest(str10);
loader = new URLLoader();
try {
loader.load(request);
catch (error:SecurityError)
trace("A SecurityError has occurred.");
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader.addEventListener(Event.COMPLETE, function (event:Event):void
try {
trace(loader.data);
if(loader.data=="init"){
timer_ind = 1; //that s the end of all timers
//master indicated initialization
tSlave.stop();
labelBeginSlave.text = " Ответ получен.";
labelEndSlave.visible = true;
initRecvStream();
initSendStream();
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&iam=slave" + "&Init=putEnd";
request1 = new URLRequest(str10);
loader1 = new URLLoader();
try {
loader1.load(request1);
catch (error:SecurityError)
trace("A SecurityError has occurred.");
loader1.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader1.addEventListener(Event.COMPLETE, function (event:Event):void
send.enabled = true;
labelBeginSlave.visible = false;
labelEndSlave.visible = false;
catch (e:TypeError) {
trace("Could not parse the XML file.");
if(timer_ind!=1)
tSlave.start();
if(timer_ind!=1)
tSlave.start();
} catch (e:TypeError) {
trace("Could not parse the XML file.");
//master______________________________________________________________________
else{
if(once==0){
//that will be called twice because of when stream come from slave and so var ONCE indicate that
once = 1;
tMaster = new Timer(5000,0);
tMaster1 = new Timer(5000,0);
tMasterLast = new Timer(200,0);
timerSeconds = 0;
timerSeconds1 = 0;
myPeerID = nc.nearID;
adobeChatID = nc.nearID;
//call slave
labelBeginMaster.visible = true;
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&adobeChatID=" + adobeChatID +
"&masterInit=begin";
request = new URLRequest(str10);
loader = new URLLoader();
try {loader.load(request);}
catch (error:SecurityError) {trace("A SecurityError has occurred.");}
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
labelSec.visible = true;
labelSec.text = "время(сек): " + timerSeconds.toString();
loader.addEventListener(Event.COMPLETE, function(event:Event):void
try {
tMaster.addEventListener(TimerEvent.TIMER,function (event:Event):void
timerSeconds += 5;
labelSec.text = "время(сек): " + timerSeconds.toString();
tMaster.stop();
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&adobeChatID=" + adobeChatID +
"&masterInit=get";
request = new URLRequest(str10);
loader = new URLLoader();
try {
loader.load(request);
catch (error:SecurityError)
trace("A SecurityError has occurred.");
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader.addEventListener(Event.COMPLETE, function (event:Event):void
try {
if(loader.data=="Ok"){
timer_ind = 1; //that s the end of all timers
//slave indicated that it is ready so master has to init
tMaster.stop();
labelBeginMaster.text = " Ответ получен.";
labelInitSendMaster.visible = true;
initSendStream();
labelInitSendMaster.text = " Поток передачи иницилизирован.";
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&adobeChatID=" + adobeChatID +
"&masterInit=init";
request = new URLRequest(str10);
loader = new URLLoader();
try {
loader.load(request);
catch (error:SecurityError)
trace("A SecurityError has occurred.");
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader.addEventListener(Event.COMPLETE, function (event:Event):void
trace(loader.data);
labelInitRecvMaster.visible = true;
//that s the end of game
tMaster1.addEventListener(TimerEvent.TIMER,function (event:Event):void
tMaster1.stop();
timerSeconds += 5;
labelSec.text = "время(сек): " + timerSeconds.toString();
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&adobeChatID=" + adobeChatID +
"&masterInit=getEnd";
request2 = new URLRequest(str10);
loader2 = new URLLoader();
try {loader2.load(request2);}
catch (error:SecurityError) {trace("A SecurityError has occurred.");}
loader2.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader2.addEventListener(Event.COMPLETE, function (event:Event):void
if(loader2.data=="End"){
timer_ind1 = 1;
//may be error
//make here delay
tMasterLast.addEventListener(TimerEvent.TIMER,function (event:Event):void
timerSeconds1 += 200;
labelRecfarpeerID.text = timerSeconds1.toString() + " farPeerID равно " + farPeerID;
if(farPeerID!="")
tMasterLast.stop();
initRecvStream();
labelInitRecvMaster.text = " Поток приёма инициализирован.";
labelBeginMaster.visible = false;
labelInitSendMaster.visible = false;
labelInitRecvMaster.visible = false;
labelRecfarpeerID.visible = false;
labelSec.visible = false;
send.enabled = true;
tMaster1.stop();
str10 = path + "VideoChatConnection.aspx?id="+my_id+"&num="+num+"&user1="+ user1 + "&adobeChatID=" + adobeChatID +
"&masterInit=delFile";
request3 = new URLRequest(str10);
loader3 = new URLLoader();
try {loader3.load(request3);}
catch (error:SecurityError) {trace("A SecurityError has occurred.");}
loader3.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader3.addEventListener(Event.COMPLETE, function (event:Event):void
labelRecfarpeerID.visible = true;
labelRecfarpeerID.text = "farPeerID равно " + farPeerID;
tMaster.stop();
tMaster1.stop();
tMasterLast.start();
if(timer_ind1==0)
tMaster1.start();
if(timer_ind1==0)
tMaster1.start();
catch (e:TypeError) {
trace("Could not parse the XML file.");
if(timer_ind!=1)
tMaster.start();
if(timer_ind!=1)
tMaster.start();
} catch (e:TypeError) {
trace("Could not parse the XML file.");
else{error1.visible = true;
//begin.enabled = true;
private function initSendStream(): void{
sendStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
sendStream.bufferTime = 0;//minimum delay
sendStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
sendStream.publish("media");
//send video and audio if any
camS = Camera.getCamera();
if(camS) {
camS.setMode(280,240,15,true);
sendStream.attachCamera(camS);
micS = Microphone.getMicrophone();
if(micS){
micS.setUseEchoSuppression(true);
sendStream.attachAudio(micS);
/*sendStream.attachAudio(Microphone.getMicrophone());
cam = Camera.getCamera();
cam.setMode(560,480,24,true);
sendStream.attachCamera(cam);*/
var sendStreamClient:Object = new Object();
sendStreamClient.onPeerConnect = function(callerns:NetStream):Boolean {
farPeerID = callerns.farID;
trace("OnPeerConnect" + farPeerID);
return true;
sendStream.client = sendStreamClient;
//init send stream for file exchange
//so be that in any case that user will want to send file
fileSendStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
fileSendStream.addEventListener(NetStatusEvent.NET_STATUS, netStreamHandler);
// Giving the stream a idName
fileSendStream.bufferTime = 0;//minimum delay
fileSendStream.publish("file");
private function initRecvStream(): void{
tRec = new Timer(5000,0);//5 sec delay before to begin receive
tRec.start();
tRec.addEventListener(TimerEvent.TIMER,function (event:Event):void
tRec.stop();
recvStream = new NetStream(nc, farPeerID);
recvStream.bufferTime = 0;//minimum delay
recvStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
recvStream.play("media");
recvStream.client = this;
//receive video and audio if any
var vid:Video = new Video(280, 240);
vid.x = 0;
vid.y = 0;
vid.attachNetStream(recvStream);
video0.addChild(vid);
//init receive stream for file exchange
//so be that in any case that user will want to receive file
// This functions handles the incomming data
fileRecievedStream = new NetStream(nc,farPeerID);
fileRecievedStream.client = this;
fileRecievedStream.addEventListener(NetStatusEvent.NET_STATUS, incomingStreamHandler);
// Using the "file" stream identification
fileRecievedStream.bufferTime = 0;//minimum delay
fileRecievedStream.play("file");
public function incomingStreamHandler(e:NetStatusEvent):void
// If there was a connection between you and the target
if(e.info.code == "NetStream.Play.Start")
// set the textBackgroundcolor to green
// connectLabel.text = "Your Are connected";
// show the fileBrowse/Send view
//fileField.visible = true;
private function sendSomeData(): void{
var date:Date = new Date();
var x:String = "\r\n_____ " + date.getHours().toString() + ":" + date.getMinutes().toString() + " _____";
txtRecvdData.text += x + "\r\n" + txtSendData.text + "\r\n" + "______________________________";
sendStream.send("receiveSomeData", txtSendData.text);
txtSendData.text = "";
txtRecvdData.scrollToRange(int.MAX_VALUE);
public function receiveSomeData(str:String): void{
if(str=="***!!!***send")
frec1.visible = true;//your peer sending you a file
else if (str=="***!!!***re"){
frec.visible = false;//file is received
else
txtRecvdData.scrollToRange(int.MAX_VALUE);
var date:Date = new Date();
var x:String = "\r\n_____ " + date.getHours().toString() + ":" + date.getMinutes().toString() + " _____";
txtRecvdData.text += x + "\r\n" + str + "\r\n" + "______________________________";
txtRecvdData.scrollToRange(int.MAX_VALUE);
//beep when message is received
var myRequest10:URLRequest;
var mySound10:Sound;
myRequest10 = new URLRequest("click.mp3");
mySound10 = new Sound();
mySound10.load(myRequest10);
mySound10.play();
private function netStatusHandler(event:NetStatusEvent):void {
trace(event.info.code);
private function errorHandler(e:IOErrorEvent):void {
trace("Had problem loading the File.");
private function browseHandler():void
fileSizeError.visible = false;
// Creating a new FileReference to start choosing
file = new FileReference;
// Adding eventListeners
file.addEventListener(Event.SELECT, selectHandler);
file.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
file.addEventListener(ProgressEvent.PROGRESS, progressHandler);
file.addEventListener(Event.COMPLETE, completeHandler);
// Open the browse-file dialogue
file.browse();
private function selectHandler(event:Event):void
// If you selected a file to send
file = FileReference(event.target);
// load the file
file.load();
// Set the source textfield to the filename
load1.visible = true;
private function completeHandler(event:Event):void
//file lenght must be less than 14 000 000 byte
if(file.data.length < 14000000)
// The file was loaded succesfully
//trace("completeHandler: " + event);
// The send button will be enabled
fileName.text = file.name;
btnSend.enabled= true;
load1.visible = false;
else{
fileSizeError.visible = true;
private function ioErrorHandler(event:IOErrorEvent):void
//trace("ioErrorHandler: " + event);
private function progressHandler(event:ProgressEvent):void
// Process loading the file
var file:FileReference = FileReference(event.target);
//trace("progressHandler: name=" + file.name + "129 bytesLoaded=" + event.bytesLoaded + " bytesTotal=" + event.bytesTotal);
//connectLabel.text = "progressHandler: name=" + file.name + " bytesLoaded=" + event.bytesLoaded + " bytesTotal=" + event.bytesTotal;
load1.text = "Загрузка : " + event.bytesTotal + " байт";
public function onFileSend(e:Event):void
// Creating an object
var fileData:Object = new Object();
// Giving the object a property that container the file data as a ByteArray
fileData.file = file.data
// Property of the name of the file
fileData.name = file.name;
// Sending the file to the target and it will be received
// by the 'onFileReceived' function
fileSendStream.send("onFileReceived",fileData);
//fileSendStream.send("onFileReceived",file.data);
btnSend.enabled= false;
sendStream.send("receiveSomeData", "***!!!***send");//indicate sending file
frec.visible = true;
public function netStreamHandler(e:NetStatusEvent):void
trace(e.info.code);
public function onFileReceived(info:Object):void
//public function onFileReceived(ar:ByteArray):void
frec1.visible = false;//your peer completes sending you a file
// This functions handles the incomming data
// We add the object to a dataprovider
// For displayin the files in a list
// Giving the name and file data as properties
dp.addItem({label:info.name, file:info.file});
// If an item of the list was clicked
// Setting the dataprovider of the listcomponent
fileList.dataProvider = dp;
fileList.visible = true;
fl1.visible = true;
fl2.visible = true;
private function itemDownloadHandler(event:ListEvent):void
// creating new FileReference
file= new FileReference();
// saving the clicked item to your computer
// brings out a savedialogue
file.save(event.itemRenderer.data.file, event.itemRenderer.data.label);
dp.removeAll();
fileList.visible = false;
fl1.visible = false;
fl2.visible = false;
file.addEventListener(Event.COMPLETE, completeHandler1);
file.addEventListener(Event.CANCEL, cancelHandler1);
frec.visible = true;
private function completeHandler1(event:Event):void
// The file was loaded succesfully
//trace("completeHandler: " + event);
// The send button will be enabled
sendStream.send("receiveSomeData", "***!!!***re");
frec.visible = false;
private function cancelHandler1(event:Event):void
sendStream.send("receiveSomeData", "***!!!***re");
frec.visible = false;
]]>
</fx:Script>
<mx:Application width="628" height="1500" horizontalAlign="left" layout="absolute" >
<s:Panel x="3" y="3" width="280" height="500" backgroundColor="#040000" chromeColor="#070000">
</s:Panel>
<s:VideoDisplay id="video1" x="3" y="253" width="280" height="240" chromeColor="#FFFFFF"/>
<s:VideoDisplay id="video0" x="3" y="8" width="280" height="240" chromeColor="#FFFFFF"/>
<s:TextArea x="293" y="424" width="323" height="48" id="txtSendData"/>
<s:Button id="send" x="465" y="480" label="Отправить сообщение" click="sendSomeData()" enabled="false"/>
<s:Label x="294" y="405" width="328" height="12" text="Если микрофон не работает,напишите текст.сообщение"/>
<s:Label id="labelBeginMaster" visible="false" x="38" y="89" width="161" color="#F61010"
fontSize="16" text=" Звоним ......."/>
<s:Label id="labelInitSendMaster" visible="false" x="29" y="110" width="263" color="#F50E0E"
fontSize="16" text="Иницилизация потока передачи...."/>
<s:Label id="labelInitRecvMaster" visible="false" x="30" y="132" width="242" color="#F50E0E"
fontSize="16" text="Иницилизация потока приёма...."/>
<s:Label id="labelBeginSlave" visible="false" x="36" y="95" width="201" color="#F61010"
fontSize="16" text=" Ожидание ответа ......."/>
<s:Label id="labelEndSlave" visible="false" x="23" y="115" width="261" color="#F50E0E"
fontSize="16" text="Иницилизация потока передачи...."/>
<s:Label id="labelRecfarpeerID" visible="false" x="23" y="145" width="261" color="#F50E0E"
fontSize="16" text=" Получение farePeerID...."/>
<s:TextArea id="txtRecvdData" x="294" y="11" width="323" height="342" color="#8B8080"
editable="false" verticalAlign="middle"/>
<s:Label id="frec" x="335" y="163" width="253" height="44" color="#F00E0E" fontSize="24"
fontStyle="italic" fontWeight="normal" text="Передача файла....."/>
<s:Label id="frec1" x="335" y="188" width="306" height="44" color="#F00E0E" fontSize="24"
fontStyle="italic" fontWeight="normal" text="Вам передают файл....."/>
<s:Label id="close1" x="110" y="180" width="443" height="44" color="#F00E0E" fontSize="29"
fontStyle="italic" fontWeight="bold" text="СОЕДИНЕНИЕ РАЗОРВАНО !"/>
<s:Label id="error1" visible="false" x="53" y="160" width="522" height="28" color="#F80B0B" fontSize="20" text="Нет связи с интернетом или Adobe сервер не отвечает"/>
<s:Label id="info1" visible="false" x="80" y="116" width="126" height="28" color="#F80B0B" fontSize="20" text="Ожидание...."/>
<s:Label visible="false" id="qqq" x="75" y="176" width="140" height="24" text="Метка"/>
<s:Label id="wcam" visible="false" x="69" y="335" width="180" height="29" color="#F50C0C" fontSize="21" text="веб камеры нет"/>
<s:Label id="wmic" visible="false" x="71" y="369" width="180" height="29" color="#F50C0C" fontSize="21" text="микрофона нет"/>
<s:Label id="labelSec" visible="false" x="94" y="65" width="100" height="21" color="#EB0D0D" fontSize="12"/>
<s:TextInput id="fileName" x="294" y="375"/>
<s:Button x="430" y="376" width="95" label="Обзор" click="browseHandler()"/>
<s:Button id="btnSend" x="533" y="376" width="83" label="Загрузить" enabled="false" click="onFileSend(event)"/>
<s:Label x="296" y="359" width="170" text="Загрузка файла"/>
<mx:List id="fileList" x="305" y="129" width="298" height="24"/>
<s:Label id="fl1" visible="true" x="305" y="117" width="299" backgroundColor="#F1EAEA"
text="Кликните по названию файла,чтобы его сохранить"/>
<s:Label id="fl2" visible="true" x="308" y="103" width="296" backgroundColor="#F6EFEF"
fontWeight="bold" text="Получен файл"/>
<s:Label id="load1" y="218" right="30" width="289" height="30" color="#F80F0F" fontSize="14"
horizontalCenter="139" text="Загрузка : 0 байт" textAlign="center"
verticalAlign="middle"/>
<s:Label id="fileSizeError" x="309" y="261" width="309" height="34" color="#F51F0E"
text="Размер файла не может быть более чем 14 Мбайт!!!"/>
</mx:Application>
</s:Application>
some kinds of NATs and firewalls can interfere with P2P communication. please see this posting for more information:
http://forums.adobe.com/message/1064983#1064983
if VideoPhoneLabs (the Cirrus sample) works in situations where your code does not, it may be a coding error on your part. if VideoPhoneLabs also doesn't work in those situations, it's probably a NAT or firewall issue.
Similar Messages
-
SSL/TLS - secure connection could not be established but passes diagnostics
Any other ideas for the ever popular inability to create a secure connection issue?
I've tried just about everything I could find in all the posts on this issue and continue to get the inability to create a secure connection messag4e when logging in.
We tried the various Apple non-support channels: e-mail, chat, phone, and Genius Bar with no success.
Here's what I've tried (attempting to log in after each change):
SSL3.0 and TLS 1.0 are enabled (and always have been)
iTunes and iTunes Helper are in the Windows Firewall Exception list
reinstalled itunes 9.02 several times.
UNINSTALLED Norton Internet Security
Turned off Windows firewall.
deleted contents of /etc/hosts
Cleared SSL state
Unchecked “Check for server certificate revocation, restarted IE
--After this change I got an "network connection timed out." message
Cleared SSL state
--Back to "secure network connection could not be established"
This happens on my daughter's college network and on our home family area network. And other PCs have no trouble accessing this iTunes account on both of these networks.Hi there,
I would recommend taking a look at the troubleshooting steps found in the article below.
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
-Griff W. -
This is a new problem for an IPod Touch I have had for a year. The IPod is hooked up by cable and appears in ITunes. I can examine all the content on the IPOD and I can click "sync". It goes through to Step 7 and then the error messages occur. First "a session could not be started with the IPod" and when that dialogue box is closed, the message "a connection could not be established to the IPod."
Maybe:
Sync Session Failed to Start iTouch iOS5: Apple Support Communities
iphone could not be synced sync session failed to start...: Apple Support Communities -
My 2nd generation ipod touch is giving me the following error when I try accessing Itunes or the app store. "Cannot connect to the Store. A secure connection could not be established. Please check your date & time settings" I am on a secure networkl.
Can't connect to the iTunes Store
Make sure that time zone is correct in addition to date and time -
I keep getting "the network connection could not be established" message when trying to update my iPad, iPad2 and iPhone4 devices using either my iMac or MacBook. The Macs and iOS devices are apparently working correctly otherwise. Problem started about a day ago when I connected one of the iPads to my iMac and iTunes notified my of an update for the device. I tried and got the above message. Tryied other iPad2 and iPhone4 and get the same message. Also, get same message when trying to update using the MacBook. My system SW is 10.7.3 on the iMac and 10.6.8 on MacBook. iTunes is version 10.6. Have gone thru the check list of things to check and have re-started. Would appreciate any ideas. Thanks.
Another user named Springbk posted a fix that worked for me as I was having the same problem today:
I Changed my DNS settings to OpenDNS
On a Mac go to SYSTEM PREFERENCES>NETWORK>ADVACED>DNS
change DNS by adding ( + )
208.67.222.222
then
208.67.220.220
click okay/apply after. then try the update. after the update, just delete the two open DNS server numbers. should revert back to your old one. -
I keep getting the following error messages on my Mac when I try to redeem a song code: "We could not complete your iTunes store request. The network connection could not be established. There was an error in the iTunes store, please try again later." and then, "We could not complete your iTunes Store request. An unknown error occurred (-50)."
Hello, constance132.
Thank you for visiting Apple Support Communities.
Here are some troubleshooting steps that I could recommend when receiving error -50.
"Error -50," "-5000," "8003," "8008," or "-42023"
These alerts occur due to timeouts or conflicts trying to write a file during download.
If you encounter this issue while accessing iTunes Store:
See iTunes 9: "One Moment Please" or "Error (-50)" message when accessing iTunes Store
If you encounter this issue while while downloading something from the iTunes Store:
Delete your iTunes Downloads folder, located in:
Mac OS X: ~/Music/iTunes/iTunes Media/Downloads Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~) refers to your Home directory.
Windows Vista: \Users\username\Music\iTunes\iTunes Media\Downloads\
Windows 7: \Users\username\My Music\iTunes\iTunes Media\Downloads\
Windows XP: \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Media\Downloads\
After locating your iTunes Downloads folder:
Quit iTunes.
Delete the Downloads folder on your computer.
Open iTunes.
Choose Store > Check for Available Downloads.
Enter your account name and password.
If you encounter this issue while while downloading Digital Copies using Windows:
Use MSCONFIG (directions for Windows XP and Windows Vista/Windows 7) to disable conflicting software.
If using MSCONFIG steps resolves the issue, you may want to use the System Configuration Utility to turn on the third-party System Services and Startup Items one at a time (restarting your computer after turning on the item or items) to identify which System Service or Startup Item is causing the conflict.
You can turn all of them back on by selecting the Normal Startup option under the General tab of the System Configuration Utility window, but please note that this may cause the issue to reoccur.
If you are able to isolate the issue to a particular third-party software, you may wish to contact them to let them know of the conflict.
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
Cheers,
Jason H. -
When I try to open the home page in my Itunes I get the message "we could not complete your itunes store request. The network connection is not be established. There was an error in the itunes store. Please try again later." It had been working just fine, in fact I had just purchased a song & edited my itunes account. Could changing the name on my account have cause the error message or is something else going on? This is a brand new computer.
I've got an Apple ID problem, too. All of the sudden in the midnight between August 31st and September 1st, the new apps I picked up on the App Store hung forever 'Waiting..' in my iPhone and never turned 'Loading'. When a substantial amont of time had passed, they reported, they 'could not connect to the App Store' and .. disappeared! Well what they told was not perfectly true because I could however connect to the store as I could browse and pick the apps, but the apps just didn't load. I tried to log into my account in iTunes on my Windows 7 laptop, too, and there got exactly the message in the topic title.
It appeared later my Apple ID did not completely fail because when I switched from my home WiFi to the phone 3G, everything worked just as nothing happened. Logically, this intimated my WiFi had flaws. Or, some place between my WiFi router and Apple servers did, to be precise. My router was not to blame because I did no changes to it whatsoever.
All right, it is Saturday today and my ISP is running in unmanned mode meaning no hotline, but I call them on Monday unless the problem disappears by itself. I just wonder what I say, because from non-i-world point of view everything works well, and I know for sure guys in the ISP support don't own any i-stuff, (because they are all android fanatics) . I'm not telling them my Apple ID to let them reproduce the problem on their home equipment, which means I come almost totally proofless. -
I have been trying to update my iPhone4s' software from version 5.0.1 to version 5.1. I continue to get a message from iTunes that a network connection could not be established. I was buying apps for my phone on my computer so I know that my connection is good. I clicked on Help in iTunes and had it to run a network diagnostic and all was good. Are the servers just jammed up with so many people trying to update to the newest software version? Thank you in advance for your time!
Sincerely,
PrettyinPinkInklook around the forum tons of people repport that they can't update
makes you suspect that apples update servers can't meet the depand of too many users
trying to update at once -
Cannot upgrade my ipod touch to iOS5.1 - error:"the network connection could not be established" Although I can access the itunes store.
Running Mac OS 10.7.3 using itunes 10.6
unplugged other USB devices, disabled security, restarted computer. Next?Try changing the DNS as described here:
iOS 5 update issues "Network...: Apple Support Communities -
i went to the itunes store to download a tv show and music and when i tried it said we could not complete your request the network connection could not be established. please try again later.then it says unknown error occured-50
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
I can't access iTunes Store? network connection could not be established.
I recently updated itunes to the latest, but now I can't get the itunes store to work, it just comes up with the message "we could not complete you itunes store request. the network connection could not be established... there was an error in the itunes store. please try again later"
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
Network connection could not be established
I have been trying to update my iPhone 4 and iPod touch 4 to version 5.1 but I keep receiving the error that network connection could not be established. I have tried running diagnosis and taking down my firewall. I also used all the step by step procedures on the web site. Nothing will work. Does anyone know what I'm doing wrong? I have ISO 5 on the iPhone but the iPod is 4.3.3.
Try reset your winsock.
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
ITunes store error - network connection could not be established
I can browse anywhere on the store but when I click to buy music
I get an error saying "network connection could not be established. There was an error in the iTunes store. Please try again later"
iTunes 11.0.2 (26)
OSX 10.6.8
Any ideas on how to solve this issue?I've got an Apple ID problem, too. All of the sudden in the midnight between August 31st and September 1st, the new apps I picked up on the App Store hung forever 'Waiting..' in my iPhone and never turned 'Loading'. When a substantial amont of time had passed, they reported, they 'could not connect to the App Store' and .. disappeared! Well what they told was not perfectly true because I could however connect to the store as I could browse and pick the apps, but the apps just didn't load. I tried to log into my account in iTunes on my Windows 7 laptop, too, and there got exactly the message in the topic title.
It appeared later my Apple ID did not completely fail because when I switched from my home WiFi to the phone 3G, everything worked just as nothing happened. Logically, this intimated my WiFi had flaws. Or, some place between my WiFi router and Apple servers did, to be precise. My router was not to blame because I did no changes to it whatsoever.
All right, it is Saturday today and my ISP is running in unmanned mode meaning no hotline, but I call them on Monday unless the problem disappears by itself. I just wonder what I say, because from non-i-world point of view everything works well, and I know for sure guys in the ISP support don't own any i-stuff, (because they are all android fanatics) . I'm not telling them my Apple ID to let them reproduce the problem on their home equipment, which means I come almost totally proofless. -
I have the same problem as many of you on this forum,
Aperture will not allow me to buy a book. It says a connection could not be established at this time.
I have a 2011 17in MBP, running Mountain Lion, Apertaure 3.3.2 purcahsed from the App Store, a 100Mb network connection, based in Staffordshire UK. It acts the same over wifi or ethernet, e.g a connection could not be established at this time. It makes no difference if I am signed into the App store or not.
I have spent 5 days preparing my Wedding album images for a 30 page book with lots of adjustments, therefore, I am desperate to fix this and as I paid £55 for the software I want it to work.
Can anyone help?
Regards
TimI still don't know what happened to my test Aperture Library after the update to 3.4...Not only were my previews lost, but so were the original images! Needless to say, I haven't bothered to update the main library on the Mac Pro because I don't want to deal with this level of uncertainty (even with backups in place).
-
I cannot sync my iTunes library to my iphone5 can you help I get error message a connection could not be established to the iPhone
Yes it is.
Initially I got an error message saying can't connect because of Date & Time settings.
Went in and re-verified that those were correct.
Tried to update downloads and then got a new error message: "Can't connect to iTunes Store".
I live in the US and that's where I created my iTunes a/d and Apple ID.
I am currently in India --- can that coause confusion re date & time?
Maybe you are looking for
-
Dear sir, I need to give packing plan for FG material. WBEXT587I1 SL AEE6 EXT BASE– 4 X 4 L For example if requirement is 25000 liters 25000/4=6250(tin) 6250/4=1562.5(case packing) -This value i will update in PIR(MD61). NCIFU501C1 INDUS. P.S. BLACK
-
Hi. I`m using labview 7 and a analog output board, the 6713. I`m building a system that generates sine wave forms and I need to change the frequency of the generated waveform without stoping the generation. Can I do so? And how? Thanks. Ismail.
-
9i Installation without X?
Hello, is there any possibility to install Oracle 9i on a linux server by using the shell instead of the X server? I am not willing to believe this is not possible anymore...
-
Hi, whats the difference between RFC, ALE and EDI. Where these are used? Plz help me out Thanks, Sagar
-
Relative hyperlinks not supported?
I am having difficulty creating relative hyperlinks in my pages document. In the hyperlink text box of the inspector window, when I enter a hyperlink like "../../common/javadocs/com/rg/common/Event.html", it always ends up reformatting it to "http://