GithubHelp home page GithubHelp logo

Comments (4)

jhoughjr avatar jhoughjr commented on June 29, 2024

I am running into this as well.
XCTVapor.XCTHTTPRequest(method: NIOHTTP1.HTTPMethod.GET, url: /users, headers: authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJlbWFpbCI6ImppbW15aG91Z2hqckBtZS5jb20iLCJpZCI6MSwic3RhdHVzIjowLCJleHAiOiIxNTkyNjY4MDgyLjU0NDA0MiIsImlhdCI6IjE1OTI1ODE2ODIuNTQ0MDUzIn0.NtK41XFdDaOFG4PSIWzXKdi0oPxwp3ssyTjtAVvYVgXBOlHR8LoUT6tgmQ5F7fazHRXIHQ23kUbFNjv2WkrAJz6tsP6S1rlwX-n5duk36ey1ofYO-LQOAvoPjaVlOAk9agjySGXFE2m4LbM3sWDtTEU_ir3DX8bZ--ifB94YCb1b5P8hKoTv3MqkcasTyzhpcPzKnkE5OyRKPVUWZHskWtvm1h4-8b12dMPr93bCjM_WGn4xTZzZ0zXDky55XSNL9ngWvGCG3P2TUmIGtSn-QPUqqxX9FYVni_nd9FcR2qBnnbT6XuabqzKjEbaxTmJM3eEU0ZvdMlk1poN5htd1Hg , body: ByteBuffer { readerIndex: 0, writerIndex: 0, readableBytes: 0, capacity: 0, slice: _ByteBufferSlice { 0..<0 }, storage: 0x0000000100d4a210 (0 bytes) }) 2020-06-19T10:48:02-0500 info: request-id=3FA3750F-2734-4BB3-A8D1-79A3ED226CB9 GET /users Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/gnserver-gsglomzdcrhbfmgxnspszrxwuksj/SourcePackages/checkouts/SimpleJWTMiddleware/Sources/SimpleJWTMiddleware/SimpleJWTMiddleware.swift, line 43 2020-06-19 10:48:02.555523-0500 xctest[42894:1441218] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/gnserver-gsglomzdcrhbfmgxnspszrxwuksj/SourcePackages/checkouts/SimpleJWTMiddleware/Sources/SimpleJWTMiddleware/SimpleJWTMiddleware.swift, line 43

from simplejwtmiddleware.

jhoughjr avatar jhoughjr commented on June 29, 2024

some debugging shows the request storage is empty. Not sure why or what it means.

from simplejwtmiddleware.

proggeramlug avatar proggeramlug commented on June 29, 2024

Sorry, I'm just now seeing this!

Are you sure you are transmitting the header correctly?

from simplejwtmiddleware.

jhoughjr avatar jhoughjr commented on June 29, 2024

I ended up giving up on microservices and used mads fork of the Auth template.
I might revisit it sometime though.

from simplejwtmiddleware.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.