B4J Question JRDC2 Warning/Error

Nataly

Member
Hello,
So I connected to my remote database successfully, but sometimes I get this warning/error. How can I avoid it?

1632504734865.png


Full warning/error line:

2021-09-23 07:27:31.112:WARN:eek:ejh.HttpParser:qtp902919927-1723: Illegal character 0x3 in state=START for buffer HeapByteBuffer@2e680b78[p=1,l=47,c=8192,r=46]={\x03<<<\x00\x00/*\xE0\x00\x00\x00\x00\x00Cookie:...nistr\r\n\x01\x00\x08\x00\x03\x00\x00\x00>>>11:54:13 GMT\r\nCac...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}

Thank you,
Nataly
 

Nataly

Member
Please provide more info such as what type of database you are connecting to, what query or command you are calling and do you add extra server settings such as cookie?
I'm connecting to SQL database on a Linux based server. Not sure if the server has any settings as cookie, I didn't work on the server side. The command takes a parameter which is the primary key in the table and the query returns other information in the table if primary key matches parameter.
This error happens when you confuse https and http.
I'm using http, I guess I will use https and see if anything changes
Public const rdcLink As String = "http://xx.xxx.xx.xx:yyyy/rdc"
 
Upvote 0
Top