"HTTPS hostname wrong" for a hostname starts with a number

Does anyone know about why HttpsClient throws the error for a hostname starts with a number. I have no problem with other hostname but only for the hostname starts with a number. The certificate works fine with Browser. I am sure the hostname in the certificate and in the request are exactly the same.
I know how to skip the hostname verification, but I don't want to do that for security concern.
Can sun develpoer shed some light how to verify the hostname in HttpsClient?
java.io.IOException: HTTPS hostname wrong: should be
<1company.mydomain.com>
at sun.net.www.protocol.https.HttpsClient.b(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)
at java.net.URL.openStream(URL.java:960)
Thanks
Al8079

I looked at the RFCs you mention, and they do seem to indicate that host/domain names cannot start with digits...however if you look at RFC 1123 closely it says:
RFC1123 APPLICATIONS LAYER -- GENERAL October 1989
2. GENERAL ISSUES
This section contains general requirements that may be applicable to
all application-layer protocols.
2.1 Host Names and Numbers
The syntax of a legal Internet host name was specified in RFC-952
[DNS:4]. One aspect of host name syntax is hereby changed: the
restriction on the first character is relaxed to allow either a
letter or a digit. Host software MUST support this more liberal
syntax.
Host software MUST handle host names of up to 63 characters and
SHOULD handle host names of up to 255 characters.

Similar Messages

  • How to access a JSON structure key that starts with a number

    I've got an odd issue here.  I'm accessing someone else's JSON structure so I am not able to change it.  The JSON structure keys are named with both characters and numbers like this:
    0
    198456
    product_id
    198456
    1
    Rashaan Houston feat Tony Loreto
    artist
    Rashaan Houston feat Tony Loreto
    So, in other words, there's a key named "0" and a key named "product_id", both of which contain the same key.  Why they did that, I don't know, but they did.
    In one of the instances, the data stored under the text-named key isn't the same as the numerical-named key.  I tried to output the data in the numerical key like this (it's an array of structures):
    #strStompyJSON.data[1].0#
    but I get the following error:
    Invalid CFML construct found on line 41 at column 31.
    ColdFusion was looking at the following text:
    .0
    When I do the following, it works fine:
    #strStompyJSON.data[1].product_id#
    So it looks as though CF doesn't like accessing a variable that starts with a number.  I am able to loop through the structure using a collection loop, and it outputs all of the keys (including the numerical ones) and their values using the following code:
    <cfloop collection="#strStompyJSON.data[1]#" item="key">
    #key#: #strStompyJSON.data[1][key]#<br />
    </cfloop>
    However, that doesn't allow me a way to access specific keys named with a number.  Is there a way that I can specifically access a key that is named with a number?
    thanks!
    Mike

    No problem--glad it worked out.
    As a follow-up to this, I'd encourage you to keep the bracket notation in mind during future development.  It is EXTREMELY useful in a lot of situations.
    For example, if you're building a structure on the fly with dynamic keys, bracket notation is extremely helpful:
         <cfset authors = structnew()>
         <cfloop list="authorlist" index="name">
              <cfset authors[name] = getbooklist(name)>
         </cfloop>
    Also, bracket notation is really nice when creating json from ColdFusion structures.  Consider this:
         <cfset author = structnew()>
         <cfset author.name = "Neil Gaiman">
         <cfset author.genre = "Fantasy">
         <cfset author.awesome = true>
         <cfset authorjson = serializejson(author)>
    By default, the serialized json produced will have all UPPER CASE keys.  Not a big deal in most cases, but if you're returning the json to something (like a JS library) that is expecting keys in a certain case, it can be a problem.  Fortunately, bracket notation allows you to specify exactly what case you want the structure's keys to be in:
         <cfset author = structnew()>
         <cfset author['name'] = "Neil Gaiman">
         <cfset author['Genre'] = "Fantasy">
         <cfset author['AWESOME'] = true>
         <cfset authorjson = serializejson(author)>

  • "User names cannot start with a number" error while adding a user

    Is it possible to use WL Portal 7.0 admin framework to manage users with all numeric
    user id ?
    I got an error "User names cannot start with a number" while trying to add users
    with all numeric user ids. I am using "portalAppTools" web app provided with WL
    7.0 out of the box.
    What "out the box" functionality do I need to change to make this happen ? Thanks
    Shah

    The problem is that when we have user groups starting with a number, then the search
    feature doesn't work for user groups (case # 466837 with BEA).
    So, which brings me to the following question:
    a. Should the search feature work?
    b. What is the limitation? I mean, it is designed not to allow user groups starting
    with a number. So, there must be a reason for this. So, if we change "disallowFirstCharDigit",
    will it have any impacts on Portal?
    As an aside, it seems somewhat strange that the Portals can start with a number!
    Thanks in advance
    Venkatesh
    "Ture Hoefner" <replyto@newsgroup> wrote:
    Hello Shah,
    Search your tools web app for the UsermgmtTools.properties file. In
    my
    installation, it is at:
    D:\bea70sp1\weblogic700\samples\portal\sampleportalDomain\beaApps\sampleport
    al\tools\WEB-INF\classes\com\bea\jsptools\p13n\usermgmt\servlets\jsp
    It starts with this:
    # Messages and other properties used by usermgmt jsp tools
    # Name properties - UserBean and GroupBean
    disallowedCharacters: ~`!$%^&-*() {}[]|\\/?<>,:;+="'
    disallowFirstCharDigit: true
    Ture Hoefner
    BEA Systems, Inc.
    www.bea.com
    "Shah Sidi" <[email protected]> wrote in message
    news:3db0a001$[email protected]..
    Is it possible to use WL Portal 7.0 admin framework to manage userswith
    all numeric
    user id ?
    I got an error "User names cannot start with a number" while tryingto add
    users
    with all numeric user ids. I am using "portalAppTools" web app providedwith WL
    7.0 out of the box.
    What "out the box" functionality do I need to change to make this happen?
    Thanks
    Shah

  • When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Mac forums.
    Regards.

  • Can't open files where the name starts with a number

    On our network server, we have some folders where the files are numbered. Example:
    1 - Memo
    2 - Agenda
    3 - Report X
    4 - Report Y
    5 - Report Z
    We have 5 Macs in our office. Everybody can read these files fine except for one person. On her computer she can't open any file that starts with a number and gets the below error message. How do I fix this?
    All our Macs (to the best of my knowledge) are setup exactly the same since they were purchased at the same time late last year.

    Word - Microsoft Support

  • Column name in the database starts with a number!

    Hello,
    Recently we updated out database and we changed our tables' and columns' names, I'm developing an adf application with EJB3.0 the question is that the new column names start with a number (eg. 001U_ID), its a kind of encoding the names of the tables so no one can modify the values.
    When I create a query on the table it is throwing an exception:
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'U_ID'.
    I think the problem is that the EJB3.0 doesn't recognize column names starting with a number!!! What can I do to solve this issue?
    Thanks
    Shahe

    Shahe wrote:
    the entities are declared using the database tables, I'm using EJBQL to retrieve data from the tables.Can you explain this more. Are you using JPA entities? If so post the definition of the Entity bean and the query you used.

  • How do I number pages consecutively starting with a number other than 1?

    In Pages, how do I number pages consecutively starting with a number other than 1?

    Inspector > Document > Section > Page Numbering:     click on the dropdown menu

  • Migrating from 6i to 9i for form generating starting with designer

    I try to migrating our forms generating 5-6 years start with designer, but they are finished through form builder.
    When I tried to use migrating assistant wizard, I get
    LMDMANA.CG$WHEN_NEW_FORM_INSTANCE: The String CALL was found. If it is an occurence of the Forms Built-In, It should be replaced with CALL_FORM.
    Here is my LMDMANA.CG$WHEN_NEW_FORM_INSTANCE procedure
    /* CG$WHEN_NEW_FORM_INSTANCE */
    PROCEDURE CG$WHEN_NEW_FORM_INSTANCE IS
    BEGIN
    /* CGLY$INIT_CANVASES */
    /* Call procedure to ensure correct canvases are visible */
    BEGIN
    CGLY$CANVAS_MANAGEMENT;
    END;
    /* CGBS$STARTUP */
    /* Perform start-up processing for Block Synchronisation */
    BEGIN
    /* Set the defaults for the globals */
    :global.cg$query_mode := 'A';
    -- default_value('A', 'GLOBAL.CG$QUERY_MODE');
    /* Set the relations to the default query mode */
    CGBS$.SET_RELATIONS( :GLOBAL.CG$QUERY_MODE );
    /* Set the query mode items */
    CGBS$SET_QUERY_MODE( :GLOBAL.CG$QUERY_MODE );
    END;
    END;
    I posted it through metalink and I was told it must be regenerated through designer, and there is no way to do migration.

    Hi,
    actually you would upgrade the application sources from Forms 6i to Forms9i and then run teh Forms Migration Assistant for the clean up /this at least is my understanding after asking one of our Designer Product Managers).
    Frank

  • Poplist behavior for selecting value starting with a letter

    Hi
    I have got a poplist in a control block in my form. This is a database item and is populated fine.
    Now, the problem is if I want to select one record in the poplist starting with a particular letter, in-one-go, it is not possible..
    For example, I know that the value in the poplist I want, starts with the letter 'D'
    There are 10 values in the poplist that starts with the letter 'D' and I want to select the 6th value that starts with 'D'.What I want is, when I type in 'D', the poplist should pass controlto the (i.e. select) first element in the list, which starts with 'D'...then it should still remain as popped.The user should be allowed to navigate to all "D's" either using up arrow, down arrow or by typing in the letter D itself..
    Now what happens is, if I type in 'D' in the keyboard, the first value among the list that starts with 'D' is selected by the poplist and the records corresponding to this value is displayed.
    The up arrow/down arrow works fine in the following case now - If I click on the poplist, but do not actually select any item and just use up arrow, downarrow, it works...
    But the real requirement is when typing in any letter, any value in the poplist need not get selected ,but the poplist values should popped up so that the user can browse on it, and then select the required value.
    I will be grateful if somebody gives me the code for this and also tell me which trigger to put in the code?Any property needs to be changed?
    At the moment , my when-list-changed trigger is as follows..Also want to know, if this need to be changed at all?
    go_block('MY_DATABLOCK');
    clear_block(no_validate) ;
    execute_query;Edited by: Krithi on 12-Aug-2009 04:12

    Krithi wrote:
    You have moved far away from what I really need
    I DO NOT use a webform and I dont need to use Javabean in my form!You never mentioned anywhere that YOU DO NOT use a webform. One more reason why you should mention your forms version when you post some questions ;-) which would help others to respond with relevant answer.
    Its just the normal form.
    I said I have just seen examples in web forms but I believe it is do-able in normal forms too..Pls help someone?I am afraid you do not have much choice in client server.
    -Arun

  • Sequence starting with specific number

    Hi,
    Is it not possible to create a sequence in ODI starting with a specific number. An example is such as a sequence starting from 10,000 and incrementing by 1.
    The reason I am asking is because , in the ODI sequence tab, although there is an option for specifying increment factor, there is no place to mention the first element
    of the sequence.
    Kindly suggest.

    Hi,
    Its not recommend to use ODI sequence as it needs to follow some process for implementation, its advisable to use DB sequence for surrogate columns.
    So please use DB sequence and call it in ODI mapping using the below syntax,
    <SCHEMA_NAME>.<SEQUENCE_NAME>.NEXTVAL
    FYR: http://odiexperts.com/odi-sequence
    Thanks,
    Guru

  • Extracting a  a piece of string starting with a number

    Hi,
    I am new to SQL, so I could use some help with the following issue. I need to extract contract number from a string, but the position of the contract number and the text inside of the string might vary, which means it is important to tie the SELECT statement to the number. Extracting only numbers wouldn't help too, because contract number contains letters and other characters. For example, if there was a string "Payment to a contract nr 1100/70HE", the SELECT statement should be able to extract only "1100/70HE" from that string.
    Thank you in advance,
    Keit

    Hi,
    welcome to the forum.
    Please read SQL and PL/SQL FAQ
    When you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Coming to your question, I would say that extracting the contract number from a string it is not the ideal solution for a data model.
    Beside that, you may be able to reach your goal by using regular expression but you should provide more example and explain if the contract number could be identified with a specific pattern.
    I suggest you to post some sample data (CREATE TABLE and INSERT statement or a WITH statement) and try to identify a rule that can apply to extract your data.
    I.e.: if contract number always is one or more characters, followed by a slash (/) and followed by one or more characters then maybe you can use regular expression to identify it. I suggest you to post some cases and try to find the logic to apply.
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • SPC Chart and Tag Name starting with a Number

    On a 11.5.3 (latest build) install, we've found that SPC Charts don't like tag names that start with numeric characters.  The data points just don't plot.  I can right click and get the data, but there are no points on the chart.  All other applets work fine with the same tags.  Has anyone else seen this?

    Hey Rick,
    We did try that and it worked.  Also when creating the tags in the UDS Admin, I don't believe the UDS Admin will allow for this scenario (along with funky characters like pipes "|").  However, we are using an alias file (export from Historian into Excel, into SQL, and tweaked via Xacute) where the UDS Admin rules aren't enforced, which might be the inherent problem here. 
    I just thought that if the applets allowed it, the iSPCChart should also. 
    Thanks.
    Edited by: Ryan Miller on Feb 19, 2008 10:04 AM
    I'll leave this thread unanswered for a bit to see if anyone else cares to comment.

  • My Tags that started with a number are gone! I've tagged links with the tag: "3D". they are not in my tags!

    I have tagged quite a few links with "3D" : examples of pages that used 3D in their webdesign, interesting 3D software,3D tutorials... They are all gone!
    I have found, for example, the tag "+eclectic" . So extra characters ARE used in tagging.But nothing that has been tagged with a number is in my bookmarks :-(
    Maybe Mozilla should warn users not to tag using a number?
    Thanks a lot for any help!

    As best as I can tell, 20ms is around the "sweet spot". I've tried it at 10ms and almost immediately started getting faults. At 20ms it's a bit intermittent- sometimes it'll run fine for several minutes and then get a fault, sometimes not. I've tried running at 30ms as well but it's hard to prove a fault would *never* happen.
    Part of my problem is that I don't understand what all needs to happen during this timeframe. Is this an internal loop that's running too slowly, or is my Axis interface code running too slow? Would having too many front panel controls/indicators slow down FPGA access? Should I be using some type of buffer to send configuration data, and keep front panel controls to a minimum?
    I understand that front panel controls can use up memory in an FPGA, but I've got enough space, so I assumed that would be OK, but I'm certainly not sure about any of this as it's all quite new to me.
    I did go ahead and start a service request, but I noticed it was possibly a 2-day turnaround. I'm hoping someone can give me a hand on the forums as that's both quicker and more easily accessible for future users with similar problems.
    Edit: I just did a run at 30 ms, and got the fault about 6 minutes into the run. I've got the RT VI running with the front panel on my computer, along with the Distributed System Manager, and am working on other things while it runs. Not sure how repeatable this will be but take it as it is.

  • How to have a sequence start with specific number in mapping

    Hi,
    I can not find a way in the mapping to specify the "start with" attribute for sequence. Currently I have to execute this from sqlplus; select max(id) from tableA, then create sequence start with max(id)+1. I would like to integrate this step into owb. I'm using 9ir2. Thanks.

    You can do this from a stored procedure that you invoke from your pre-mapping trigger:
    - Scan the source and get the max_id
    - execute immediate 'drop sequence; create sequence ... start with '||max_id+1
    Etc.
    Good luck, Erik Ykema

  • Inbound IDoc for Sales Order Creation with Serial Number

    I would like to create Sales Order with Serial Number input at Item Level using IDoc. I have tried to use the followings:
    1) Basic Type : ORDERS05
    2) Message Type : ORDERS
    3) Process Code : ORDE
    I have used segment E1EDP19 with the followings:
    1) QUALF = '014'
    2) IDTNR = Serial Number
    However, it fails. It seems that the system just expects us to input BOM explosion number (VBAP-SERNR) instead of the Serial Number that I want.
    If we use VA01, we can input the Serial Number from Menu: Extra --> Technical Objects.
    Is there any idea what should I do ?

    The error message is "Entry 1276 does not exist in SNUM - check your entry" (Message no. 00058).
    1276 is the Serial Number that I input. It treats the Serial Number that I input as the BOM explosion number (VBAP-SERNR).
    Regards,
    Alan.

Maybe you are looking for