Problem connecting to the server by using the url with the logical name!

Hi all!

I looked for information on this subject, but have not seem to found a solution.

I'm developing a Smartphone application that needs to connect to a server to retrieve data. Then I use a direct connection with the correct settings (I hope):

URL = "url of the server" + "deviceside:true" + "AFN:...» »

The problem is that the connection should be done without Hardcoding the "apn". These are the tests I've done so far (assuming I'm always add the ' deviceside: true ' parameter):

URL (logical name) + AFN OK!
FAILURE of the URL (logical name)
URL (static IP) OK!

* by logical name, I mean a url as www.google.com

What I need is to use the logical name, without the parameter apn!  Maybe I'm missing another parameter that I don't know?

Some additional info that might be useful! :

-The server is a server of Vodafone, which, as has been explained to me, should be on the list of white of the RIM (not sure what that means, but I guess it has to do with the fact that BB connection through the RIM at one point servers, and be in this list gives a sort of 'privilege' when you browse servers of RIM) , and I don't know it is publicly accessible as (see following)

-An android version of the application works fine without Hardcoding the AFN and using the logical name (I guess it has to do with the RIM servers!)

Any help or ideas towards the solution that it is greatly appreciated!  If I'm missing some info that you think I should add! Please tell me!

Thanks for your help!

Juan

Thanks Peter!

I could solve it by looking at the code of the alternative of the Api network in the link sent you me!

The solution was the addition of the ConnectionUID parameter to the url String!  as to why this solves the problem I still don't understand it! (If you can enlighten me with the reason, I would be very grateful)

This value is found in the service books!, I have the zip code just in case it helps someone!

Hogshead string = null;

Full book sb = ServiceBook.getSB ();

Reviews [] ServiceRecord = sb.getRecords ();

for (int i = 0; i)< records.length;="">

{

String cid = records [i] .getCid () .toLowerCase ();

String uid = records [i] .getUid () .toLowerCase ();

If ((cid.indexOf ("wptcp")! = - 1) & (uid.indexOf ("wifi") ==-1) & (uid.indexOf ("mms") ==-1))

{

Hogshead = records [i] .getUid ();

}

}

then add the parameter: ConnectionUID = Hogshead

Once again, thank you!

Tags: BlackBerry Developers

Similar Questions

  • Problem connecting to the server

    Whenever I open the pictures, I get an alert that reads: 'there was a problem connecting to the server "my-server", which is another Mac on my network.

    If I close the dialogue box, Photos keeps trying to connect and it appears again a few seconds later.

    Does anyone have an idea as Photos is all this and how I can stop doing?

    No idea - don't forget we can not see you if you have details

    We do not yet have an idea what software you use or you use 'MyServer' for

    What are the versions of the operating system and Photos do you use? What is your server? How are you connected to it?

    LN

  • Problem connecting to the server after moving

    Hi, I keep getting the message "there is a problem connecting to the server"192.168.0.19"etc. This happened after I moved. New ISP, new router. I have an Airport Express and a NAS connected to it. Time Machine and Icloud on the NAS. I think that the NAS has this IP address before moving. There are now 192.168.10.176. Everything works, but I get the pop up frequently.

    I look at the accounts and start but nothing. I reboot safe mode does not remove the problem. So, what can I do?

    I'm on Yosemite with MBR.

    Can you connect using the new IP address?

  • Server connection error:-1 there is a problem connecting to the server... hp photosmart 5510

    HP photosmart 5510 e - while a printer B111a

    Windows vista 32-bit

    connection error message-Server error:-1 there was a problem connecting to the server, press Retry or ok to continue

    No changes have been made to my operating system

    Try to add new applications with eprint center of my Compaq Presario CQ60 laptop to my HP printer. Computer tells me that the new applications are there and ready to use, but printer says 'server connection error "? I followed all the instructions to connect to the wireless router, but I'm not sure how to connect to the "Server"?

    The steps below a usually resolve the problem you are experiencing:

    1. unplug the power cord at the back of the printer.

    2. unplug the power cord at the back of your router (and the modem, if they are separated from the router).

    3. wait 20 seconds, then plug the router (and the modem, if necessary) in.

    4. wait for 30 seconds, then plug the printer back and power.

    5. press the button on the front of the printer ePrint, and it should try to connect to Web Services again.

    These steps usually fix the problem, but if it persists, you can try definition of network information static for the printer (which is sometimes useful to stabilize the ability of the printer to get outside of your network to the internet):

    1. tap the wireless at the top of the screen of the printer and note the IP address.
     
    2. Enter the IP address in the address bar of a web browser on a computer and press on enter or click the go button browser.
     
    3. the printer status page must be open.  Click network in the upper part.
     
    4. click on networking on the left.
     
    5. Select the Proxy settings.
    Note: If you are prompted for a redirect, click OK.  If you receive a certificate warning, select the option that allows you to continue anyway.
    If you receive an internal system error, refresh the page until it loads the proxy settings.
     
    6. check that all fields are empty.  If they are not, make them disappear and make sure that the Proxy Server requires authentication is unchecked and click on apply.  You should get a success message.
     
    7. click on the network address (IP) on the left.
    Note: If you only configuring IP address and DNS address with a yellow note Configuration, refresh the page until it loads completely.
     
    8. leave automatic IP IP address Configuration.
     
    9 change the DNS address to the manual DNS Server Configuration.
     
    10. enter manual for the manual preferred DNS Server 8.8.8.8 and 8.8.4.4 for auxiliary DNS.
     
    11. click Apply and you should get a success message.
     
    12. turn off the printer for 30 seconds and then turn it on again to force the new settings take effect.

    Let me know if you have any additional questions. Thank you!

  • There was a problem connecting to the server 'SERVER NAME' error guard appearing

    There was a problem connecting to the server 'SERVER NAME' error guard appearing even though the server is not on my current network.  I recently moved my iMac to a different location and a different network, and now he constantly tries to connect to the old server.  This message appears every 30 seconds and several of those who appear (see pictures) it's extremely frustrating because it makes the machine almost useless because I am constantly closing them.  No matter how many times I try to stop the activity monitor it it keeps reappearing, and I even tried a few terminal commands that I found online, then restarted the computer, but still had no success.  I would appreciate all the advice really.

    I hope that gives you an idea of what I got!

  • I have a problem connecting on ebay if you use firefox, I get a message saying that the page does not not despite having cleared my cache and cookies.

    I have a problem connecting on ebay when you use firefox, it has been fine for years, but since a few days, I get a message saying that the page does not when I try to log in. I tried to clear my cookies and cache, but it makes no difference. This does not occur in google chrome and I can log on fine there so what's the problem with firefox?

    Do you also have this problem if you temporarily switch to private browsing mode?

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Select: [X] 'always use private browsing mode '.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

    See also:

  • Check error: there was a problem connecting to the server Apple ID

    When I try to connect to my iTunes on my Windows laptop account it is said there is a problem connecting to the Apple ID server. This problem did not begin until 2 days. I have the latest version of iTunes and Windows.

    What is the number of the version of iTunes?

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    Start by missing error MSI.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    Leave a post by: turingtest2

    On the PC, when connecting each device, it loads a separate driver. You can try this trick when you want to get iTunes recognizes the iPhone 6. Thanks to the user of the CSA turingtest2 for the tip.

    Try the following:

    Open Control Panel > Device Manager

    Plug in your device

    Locate Bus USB Controllers > Apple Mobile Device USB Driver.
    It is also possible that the device may appear under imaging devices, portable devices or other devices or as a device USB of MTB.

    Right-click and select software update of the driver...

    Click Browse my computer for driver software

    Go to C:\Program Files\Common Apple Mobile Device Support\Drivers or
    C:\Program Files (x 86) \Common Files\Apple\Mobile Device Support\Drivers

    Click on let me pick from a list of drivers for devices on my computer

    Click on Apple Mobile Device USB Driver

    Click Next, then close and exit the Device Manager

    Leave a post by: ChrisJ4203

  • "Problem connecting to the Server Web Services." - HP Envy 100

    Hello world

    I wonder if anyone has the same problem as me. I just got a HP Envy 100 and went through the process of setting up without problem. The printer is connected via Wi - Fi for wireless network, I can ping the printer from my Mac successfully and I can print within the network without problem.

    However, regarding ePrint and Web features, it seems that nothing really works. I can't even turn on Web services, I always get the message "problem connecting to the Web Services server.

    I tried the following:

    -Restart the router and printer

    -Change the manual IP address and manually set the DNS server

    -Reapply automatic IP and set the Google DNS (8.8.8.8 and 8.8.4.4) servers

    .. .with no chance whatsoever. If this is a problem with the firmware (from what I understood, I do not have the latest firmware, but I can't ask her update, because it requires, you guessed it, a connection on the server of web services, that is the whole of the problem.)

    Anyone else having the problem? Everyone had it and fixed it? Is this just a temporary problem with HP servers?

    Thanks in advance!

    Hey, for me it works as well, and I didn't, just retried that I had tried before and it connected to the Web Services without problem.

    So I think it's safe to say that the original problem in this topic only lied to a HP Server-side problem. Not cool it took so long for them to solve and in particular the fact that we did not really have feedback appropriate about the problem.

    Anyway, I solved (for now, at least).

  • problem connecting to the web services server

    I tried to download the latest updates of software/firmware for my all-in-one HP Photosmart Prem C310a.

    I can't get updates or activate Web Services because it still gives me the error message "problem connect to the web services server.

    I tried everything in the section of the Web of HPs site including connection via WPS - unsucessfully problems.

    I understand that you have found impossible to connect to the server error message on your printer. I would first disconnect the router and the printer for about 1 minute. I would plug the router first then the printer. I would then try to enable web services. If not successful, and you get the same error message. I'd follow these steps.

    1 obtain the IP address of your printer
    a. This can be done by pressing the icon on the printer wireless.
    2. Enter the printer's IP address in a browser.
    3. Select the tab network at the top of the page.
    4. on the left, select network.
    5. Select Network (IP) address
    6. select manual DNS server
    a. manual Preferred DNS should read 8.8.8.8
    b. alternate DNS server should read. 8.8.4.4
    7. Select apply you could get a fair warning select OK.

  • Your device blackBerry smartphones had a problem connecting to the server

    I have a Bkackberry Curve 9300

    T-mobile phone operator

    Knology is my internet

    OS 6 is underway on the BB

    What is the problem with my phone now? Usually, I get the error "this application has encountered an error and cannot continue" I want just my email in return. For the most part, I get "your device had a problem connecting to the server.

    I hope you can help.

    Kelly J

    Hello and welcome to the community!

    I suggest the following, in order, even if they seem redundant to what you have already tried (steps 1 and 2, each should result in a message to your BB to come...) Please wait for this before moving on to the next step):

    (1) registry HRT

    • KB00510 How to register a BlackBerry smartphone with wireless network

    (2) remove and return Service directories

    • KB05000 Remove the maintenance book for the BlackBerry Internet Service email account in the BlackBerry smartphone
    • KB02830 Send the directories for the BlackBerry Internet Service

    (3) restart to take batt

    • Each time a random strange behavior or slow creeps, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    I hope that will move things again for you! If this isn't the case, then you should contact TM for formal support.

    Good luck!

  • Your device blackBerry smartphones had a problem connecting to the server; BB Torch

    I have a BB Torch.  I did no recent changes or updates to it.

    It's not getting any emails since yesterday afternoon.

    When I tried to test my email settings, I got this error message. "your device had a problem connecting to the server.  Try again? »

    Any ideas on what to do?

    Medio Waldt

    Remove the cover on the back and remove the battery.

  • After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged as an administrator, but cannot connect to the internet using the standard account. How to fix this?

    After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged in as an administrator,

    but unable to connect to the internet using the standard account.  I have the latest version of the Solution Explorer.

    How to fix this?

    Glad to hear it.

    If the problem is resolved, mark the message as response, then it'll be useful for people with similar/identical problem.
  • Problem connecting to the server, error connection server and printer offline. I have a HP photosmart printer and Windows 7?

    My printer is not printing. It say problem connecting to the server, connection error server and printer offline. I have a HP photosmart printer and windows 7.

    You have McAfee? McAfee has been updated at the same time as the last batch of updates from Windows 7 and it seems to be the cause of this problem for most, if not all, users.

    See the communication from this "criticism" - McAfee

    Some customers may experience a loss of network connectivity and/or errors in McAfee Security Center after a recent update

    You should make the fix McAfee, if necessary. There are corresponding communications for their enterprise products.

    I got McAfee, but the connection has started working again on its own so I thought I was clear of problems. However, when I checked it says he was doing routine checks the updates in vain when I told it to do a manually. So stick with McAfee you don't follow their procedure of fix would have upgraded my PC at risk by not updated and, like other McAfee ads have since explained, the application did not refer to its database of threats correctly [and this could explain part of the variability of the symptoms of failure but all involved loss of internet connection]. Actually, I removed McAfee then installed Microsoft Security Essentials rather & my answer IE is faster I knew it [even though I had the Add-ons McAfee disabled for centuries].

    I had to run the removal of McAfee Development tool a few times before and it caused a problem with the license if the PC was not connected to the internet during the abduction. Due cat of McAfee support reset their files in order to allow the relocation-reactivation. Here is their link cat - McAfee - media contains the link to the cat

  • Getting error messgae"problem connecting to the Windows Error Reporting Service. Please try again later! "when you use the error report feature

    Original title: error report function

    When I use the error report feature a warning appears "problem connecting to the Windows Error Reporting Service. Please try again later! »

    It started some time ago and I have plenty of backup errors.

    Using W7

    Hi John,.

    I suggest running Disk Cleanup and selecting Remove all the Windows Error Reporting log files by selecting the checkbox and then click OK:
    Check if you are then able to start the Windows Error Reporting Service.
  • Problem connecting to the 11.1.2.1 R &amp; A SV provider

    Hi Experts,

    We have a couple of customers who have problems connecting to the 11.1.2.1 R & provider A SV.
    There is no problems connecting to the Essbase or planning providers. When we choose the R & A provider in the drop down menu, it seems that the initial connection is working.
    However, when we try to expand the name of the server, we get an error that says: "cannot connect to the provider. The name of the server could not be resolved. »
    If we click OK, we get the application form, of the R & a repository, but no object considered. We use a VIP SSL to connect to the OAS, in the SmartView options. We unload the VIP load balancer SSL, so there is no SSL configured in the system.

    For the LWA configuration, we originally OHS real server name and port for all of the Loa. When you use OSH server name in the Options of the OAS, it works fine. We changed the LWA for all components for the VIP and port 443 and, when using the name of the server in the Options of the OAS, it still works, but, by using our SSL VIP in the Options of the SV still does not work.

    We have OHS running on a Linux server, as well as space of work/HSS, Planning, APS, EAS, Calc Mgr, EIS and Essbase Studio. We have Agent framework of RA, RA Framework Web, EN, WA and EPMA running on a Windows Server. Oracle and Essbase are to serve distinct Linux servers. I checked that we can telnet to the VIP SSL and the server port Linux OHS, as well as Windows Server. Pointers / suggestions would be greatly appreciated.

    Thank you!!

    Batman sacred alphabet soup!

    First of all, the thing I would look at is the status of the RDBMS repository for your app reporing. It sounds like it may refuse connections or down altogether.

    Kind regards
    Robb Salzmann

Maybe you are looking for

  • No current printer

    Just bought an Officejet Pro 8100 the other day. It is set up to work in a network. Used on Friday, won't be able to until today. Points of sale has changed, still no power. Am I missing something?

  • Old computer BSOD when installing XP and randomly after installation

    I'm repairing an old computer (5-6 years old) who has problems.  Originally, it was full of viruses and was completely sunk, so I did a cleanup of the HD and reinstalled windows... However, increasingly, the owner complained to get BSOD once in a whi

  • How do I change the batteries in the wireless mouse

    I can't find Vault battery to change the batteries in the wireless mouse, please show me where.

  • My wrt54gs router me internet coup

    I have a v wrt54gs 7.2 that my modem is connected to my router, then on my desk. Works fine, but when I try to turn on my laptop it says I have a great signal. When I go to the internet it runs about 30 to 60 seconds, and then he said: it can not dis

  • Can upgrade only to win 10. Cannot download the Win7 updates

    Hello Earlier this month following an upgrade of Windows 10 (Win10) was put at my disposal as well as updates of November for my Windows 7 (Win7). Because I am unwilling to upgrade to Win10 at this time, I hid the upgrade and began installing Win7 up