dasch-swiss/sipi

Sipi/Knora authorization failed

gfoo opened this issue · 0 comments

gfoo commented

Related to this issue in Knora #1130

Sipi failed to connect to Knora (while it works in my browser), don't know why?

sipi_1     | Sipi: Accepted connection from 192.168.0.1
sipi_1     | Sipi: Accepted connection from 192.168.0.1
sipi_1     | Sipi: IIIF-Server Region:  Coordinate type: 0 | rx = 0.000000 | ry = 0.000000 | rw = 0.000000 | rh = 0.000000
sipi_1     | Sipi: IIIF-Server Size parameter:  Size type: 0 | percent = 0.000000 | nx = 0 | ny = 0 | reduce = 0
sipi_1     | Sipi: IIIF-Server Rotation parameter:  Mirror 0 | rotation = 0.000000
sipi_1     | Sipi: IIIF-Server QualityFormat parameter:   Quality: 0 | Format: 1
sipi_1     | extracted cookie: _xsrf=2|3a21009c|a3c96f309a892e9e127999e2d243ea86|1543958700; com.ontotext.graphdb.repository7200=knora-test; username-localhost-8888="2|1:0|10:1544602536|23:username-localhost-8888|44:ZjgzMDdkZjM3MGM3NDA3OTllMzBmOTBkM2JkNDg1MzI=|50487cff80bb0f078190ff71ae502d7f57ab9469e26ddbf92b34fc1f2e4ed792"
sipi_1     | cookie key is invalid: _xsrf=2|3a21009c|a3c96f309a892e9e127999e2d243ea86|1543958700; com.ontotext.graphdb.repository7200=knora-test; username-localhost-8888="2|1:0|10:1544602536|23:username-localhost-8888|44:ZjgzMDdkZjM3MGM3NDA3OTllMzBmOTBkM2JkNDg1MzI=|50487cff80bb0f078190ff71ae502d7f57ab9469e26ddbf92b34fc1f2e4ed792"
sipi_1     | Sipi: extracted cookie: _xsrf=2|3a21009c|a3c96f309a892e9e127999e2d243ea86|1543958700; com.ontotext.graphdb.repository7200=knora-test; username-localhost-8888="2|1:0|10:1544602536|23:username-localhost-8888|44:ZjgzMDdkZjM3MGM3NDA3OTllMzBmOTBkM2JkNDg1MzI=|50487cff80bb0f078190ff71ae502d7f57ab9469e26ddbf92b34fc1f2e4ed792"
sipi_1     | Sipi: cookie key is invalid: _xsrf=2|3a21009c|a3c96f309a892e9e127999e2d243ea86|1543958700; com.ontotext.graphdb.repository7200=knora-test; username-localhost-8888="2|1:0|10:1544602536|23:username-localhost-8888|44:ZjgzMDdkZjM3MGM3NDA3OTllMzBmOTBkM2JkNDg1MzI=|50487cff80bb0f078190ff71ae502d7f57ab9469e26ddbf92b34fc1f2e4ed792"
sipi_1     | Sipi: webapi_hostname: localhost
sipi_1     | Sipi: webapi_port: 3333
sipi_1     | Sipi: pre_flight - knora_url: http://localhost:3333/v1/files/4WvEDjDw0dB-FziE8v9BK16.jpx
sipi_1     | Sipi: pre_flight - knora_cookie_header: nil
sipi_1     | Sipi: Server.http() failed: Error #1368: HTTP GET request to http://localhost:3333/v1/files/4WvEDjDw0dB-FziE8v9BK16.jpx failed: Failed to connect to localhost port 3333: Connection refused
sipi_1     | Sipi: GET /knora/4WvEDjDw0dB-FziE8v9BK16.jpx/full/full/0/default.jpg failed (Unauthorized): Unauthorized access
sipi_1     | Sipi: Socket connection: timeout or socket closed from main
sipi_1     | Sipi: Accepted connection from 192.168.0.1
sipi_1     | Sipi: Socket connection: timeout or socket closed from main