N Nataly Member Sep 24, 2021 #1 Hello, So I connected to my remote database successfully, but sometimes I get this warning/error. How can I avoid it? Full warning/error line: 2021-09-23 07:27:31.112:WARNejh.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
Hello, So I connected to my remote database successfully, but sometimes I get this warning/error. How can I avoid it? Full warning/error line: 2021-09-23 07:27:31.112:WARNejh.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
aeric Expert Licensed User Longtime User Sep 25, 2021 #2 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? Upvote 0
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?
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2021 #3 This error happens when you confuse https and http. Upvote 0
N Nataly Member Sep 26, 2021 #4 aeric said: 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? Click to expand... 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. Erel said: This error happens when you confuse https and http. Click to expand... 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
aeric said: 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? Click to expand... 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. Erel said: This error happens when you confuse https and http. Click to expand... 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"
N Nataly Member Sep 26, 2021 #5 Nataly said: 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" Click to expand... When I changed to https I got the error. But I was using http before and sometimes I got the error/warning Upvote 0
Nataly said: 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" Click to expand... When I changed to https I got the error. But I was using http before and sometimes I got the error/warning
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2021 #6 As I previously wrote, this error happens when you confuse https and http. Upvote 0