evilsocket/arc

'WTF?!' popup - http2: server: error reading preface from client

mulander opened this issue · 0 comments

Prerequisites

Description

While trying to reproduce #132 the following popup showed up:

2018-02-07-152948_1174x467_scrot

Environment

Please provide:

  • If possible, any javascript log on the browser developer console.
Logging in ...
api.js:98 Logging in ...
:8443/auth Failed to load resource: the server responded with a status of 403 ()
app.js:176 Logging in ...
api.js:98 Logging in ...
api.js:108 Saving token to browser storage.
app.js:780 Clearing events.
api.js:155 Creating store 'test'
2app.js:176 Loading passwords store ...
api.js:172 Selecting store '0'
api.js:138 Loading store-0 records ...
app.js:176 Adding secret ...
app.js:630 Uncaught TypeError: scope.buildRecord is not a function or its return value is not iterable
    at app.js:630
  • Debug output while reproducing the issue ( arcd --log-debug ... ).

without debug, sorry:

fishtank$ ./arcd -config config.json -app arc 
[2018-02-07 14:22:26]  INF  arcd v1.1.10 (openbsd amd64) is starting ...
[2018-02-07 14:22:26]  INF  Loading configuration from config.json ...
[2018-02-07 14:22:27]  WAR  Creating database /home/mulander/test/db ...
[2018-02-07 14:22:27]  INF  0 B of records loaded in 273.305µs.
[2018-02-07 14:22:27]  IMP  Backups are disabled.
[2018-02-07 14:22:27]  IMP  TLS certificate fingerprint is i9n3heMuaO6PD145ysurvmLBRwQa6cl1bWlwwVH4/kI=
[2018-02-07 14:22:27]  INF  Running on https://0.0.0.0:8443/ ...
http2: server: error reading preface from client 127.0.0.1:2790: read tcp 127.0.0.1:8443->127.0.0.1:2790: read: connection reset by peer
[2018-02-07 14:22:31]  INF  New event (Pool size is 1): login_ok{when:2018-02-07 15:22:31.784010999 +0100 CET what:'Successful login.'}.
[2018-02-07 14:22:31]  INF  127.0.0.1 'POST /auth' > User arc requested new API token

Steps to Reproduce

I can't reproduce this, I was trying variations of the step provided in #132.

Expected behavior: What you expected to happen

No errors.

Actual behavior: What actually happened

Popups.