INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
41 stars 22 forks source link

problem running docker image #902

Closed tdcwilliams closed 1 year ago

tdcwilliams commented 1 year ago

I tried the command I got here: https://github.com/INSPIRE-MIF/helpdesk-validator/releases/ I changed the ports to 8080 though, ie

docker run --name inspire-validator -d -p 8080:8080 -v ~/etf:/etf docker.pkg.github.com/inspire-mif/helpdesk-validator/inspire-validator:2022.3

Then in terminal I did

[BROWSER] http://[MY_IP_ADDRESS]:8080/validator &

I am using ubuntu 16.04 and I tried with these browsers:

Chromium 90.0.4430.72 Built on Ubuntu , running on Ubuntu 16.04
Google Chrome 108.0.5359.124 
Mozilla Firefox 88.0

With all of these browsers, docker logs inspire-validator gives errors like

2022-12-23 11:48:30.352:WARN:oejh.HttpParser:qtp633075331-19: bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@5b9fcd15{r=0,c=false,a=IDLE,uri=null}
2022-12-23 11:48:30.353:WARN:oejh.HttpParser:qtp633075331-21: Illegal character 0x16 in state=START for buffer HeapByteBuffer@3a7b8cc1[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03]qh\xAf\xE8a\xB1...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
fabiovinci commented 1 year ago

Dear @tdcwilliams,

thank you for opening the issue, we will take a look at it soon.

manuelaromero-guadaltel commented 1 year ago

Dear @tdcwilliams,

We have looked into this and it seems that the issue you are describing is just for the change of the port from 8090 to 8080. Please note that the port 8080 is already been used by the etf-webapp and it is necessary for the correct functioning of the INSPIRE Reference Validator's image.

We recommend you to use the original command to avoid any unexpected error as the one you had.

tdcwilliams commented 1 year ago

Dear @fabiovinci, thank you - I was able to get the validator image to run by changing the port.