×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    8

    Thumbs down Bug in E61 Java networking prompts user for access point per connection

    We are porting a JavaME app to the E61, and have run into an issue. Like other S60 devices, there does not seem to be a way to select a default access point for a Java network call (it would sure be nice if you can fix this sometime!).

    However, while on the S60 2nd edition, the user is prompted once per session, on the E61, the user is prompted for an access point with every single network call. Is this a bug? Is there some way to get around this? As it stands, this basically renders our applications unusable, as the user needs to select the access point from 5 to 10 times for each logical operation as we make different network calls.

    This is observed when opening an ssl connection, as

    Connector.open(url, Connector.READ_WRITE, true);

    with a URL of the form "ssl://www.phonified.com/xyz:443"

    We haven't yet checked if this also occurs with socket, http or https connections.

    Thanks,
    James Storey
    storey@phonified.com
    Last edited by j.storey; 2006-06-08 at 18:52. Reason: Adding additional detail

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Bug in E61 Java networking prompts user for access point per connection

    Hi j.storey,

    Do you have a prototype or a final phone version?

    Other question: when you go to the App. Manager / YourApp / Suite Settings, what do you see there? "Ask every time"?

    Daniel

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    8

    Re: Bug in E61 Java networking prompts user for access point per connection

    This is a final phone version, just purchased. I'm not sure how to get the firmware version, #0000# doesn't seem to bring this up, is there some other key sequence or an About app I can use to get the version?

    This is running as a signed MIDlet, and I've tried this as Ask First Time and Always allowed for Network Access and Connectivity. With Ask First time, it first prompts if network access is okay, and then brings up a list "Select access point". The permission prompt only shows up once, but Select access point shows up for each call to Connector.open. When I change this to Always allowed, I don't get the permission prompt, but still get the multiple Select access point prompts.

    This is configured with a WAP access point, an Internet access point, a MMS access point, and a WLAN access point.

  4. #4
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Bug in E61 Java networking prompts user for access point per connection

    Hi,

    Can you try to run a non-signed version of your midlet?

    The code for retrieving the software version is *#0000# (with the star before the #).

    Daniel

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    8

    Re: Bug in E61 Java networking prompts user for access point per connection

    I've narrowed the scope of the problem. We are using socket/ssl connections to work around a bug in the http connection implementation, which is that multiple set-cookie responses are not processed, so that if the server replies with set-cookie over multiple header lines, only one of the cookies is available when iterating through the headers. This has been reported to Nokia previously in SR14506275.

    To maintain state, it is essential that we get all the cookies, so we had to implement http over socket/ssl.

    The Access point prompt problem occurs when we try to open a socket to port 80 or 443. If we open an http or https connection, or open a socket to different ports, like 8080 or 8443, this works as expected, even with a signed app.

    We can't try this with an unsigned app, because the security settings don't allow us to open a port to 80 or 443 as an untrusted MIDlet.

    Longer term, we are waiting for the fix to the set-cookie problem, but in the short term have been able to use the socket connection on 2nd edition devices as a work around, and hope to use this on 3rd edition as well.

    FYI, our firmware version is
    1.0610.04.04
    19-04-06
    RM-89

  6. #6
    Registered User
    Join Date
    Apr 2006
    Posts
    8

    Re: Bug in E61 Java networking prompts user for access point per connection

    Hi James,

    Sorry to hi-jack your post and I know you are asking about the access point prompt problem, but I have noticed that you came up against the same multiple set-cookie header problem that I am having. Unfortunately, I haven't had any feedback from Nokia to my posts on this forum(http://discussion.forum.nokia.com/fo...ad.php?t=82768)

    You mentioned that you reported the issue to Nokia as a bug (SR14506275). Have you had confirmation from Nokia that this is a bug? I would like to know for definite that it is a problem with the Nokia platform and not anything that my MIDlet is doing or the network.

    To Nokia Forum Experts,

    Could someone please confirm that this is a known issue? I am using a Nokia N70 (S60 2nd Edition, FP 3). The firmware is:

    V 2.0539.1.2
    19-10-05
    RM-84

    I know that the server is sending me back three set-cookie headers, yet when I iterate through the headers and trace them, I see only one set-cookie header. I absolutely need all three to interact successfully with the server.

    Is there any workaround I can implement?

    Thanks a lot,
    Therese.

  7. #7
    Registered User
    Join Date
    Dec 2003
    Posts
    8

    Re: Bug in E61 Java networking prompts user for access point per connection

    Therese,

    I'm convinced it is a bug, we have a simple test case that works on other phones, but only returns one of the set-cookie headers on Nokia phones.

    We ended up having to implement http over raw sockets in order to work around this for the initial post when we need to get cookies. In our case, after the initial interaction, we can then use the native http connection apis. But, sadly, this doesn't work very well on the E61.

    Good luck, and hopefully Nokia will get this fixed in the not too distant future, but you are probably not going to see a fix for this on the N70, I'd guess this will only be solved for 3rd edition devices once they do fix it.

    James

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Bug in E61 Java networking prompts user for access point per connection

    Hi,

    I will talk to the platform team to inform them of this behavior, so they can fix it as soon as possible.

    Thanks for reporting,
    Daniel

  9. #9
    Registered User
    Join Date
    Apr 2006
    Posts
    8

    Re: Bug in E61 Java networking prompts user for access point per connection

    Hi James,

    Thanks very much for your reply. It helps a lot to have confirmation of my problem - even if it is bad news!

    Thanks for reporting the problem Daniel.

    Therese.

  10. #10
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Re: Bug in E61 Java networking prompts user for access point per connection

    This is still occurring in the latest S60 phones - E65's N95's.

    Is there a schedule to fix this?

    I think I speak for alot of developers in saying that it is important that this be fixed and given that this was reported a couple years ago, that the priority be escalated.

  11. #11
    Registered User
    Join Date
    Aug 2005
    Posts
    13

    Re: Bug in E61 Java networking prompts user for access point per connection

    Are there any new news on this issue? I have just purchased a N95 (september 2007) and I have come across exactly the same problem, i.e. every time I open a socket (which I have to do for the very same reasons reported in this thread) I get the prompt to select the access point.

    Does Nokia have any intention to fix that? Is there any application that one can download to a N95 or E61 that can fix the problem?

    Thanks

    Francisco Gomez

Similar Threads

  1. setting access point for tcp/ip connection on 7650
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2003-11-13, 10:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×