ufna / VaRest

REST API plugin for Unreal Engine 4 - we love restfull backend and JSON communications!
https://www.unrealengine.com/marketplace/en-US/product/varest-plugin
MIT License
1.05k stars 289 forks source link

ps5 request with no response #394

Open dingteddy opened 1 year ago

dingteddy commented 1 year ago

when use varest in ps5, plugin log shows init and start module both ok. but when start a request, we cant get any request in backend.

dingteddy commented 1 year ago

test env is: ue5 + ps5

when we use in ue5 + pc, it works fine!

ufna commented 1 year ago

I'm not familiar with PS5, but to debug this issue first you should set LogHTTP log category to VeryVerbose and check logs then

dingteddy commented 1 year ago

I'm not familiar with PS5, but to debug this issue first you should set LogHTTP log category to VeryVerbose and check logs then

change log to veryverbose, i got some logs below:

[2022.10.13-03.40.32:796][ 0]LogHttp: Start request. 1b81034000 GET url=http://192.168.1.12/test?a=1&b=1 [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: 1b81034000 Header Content-Type : application/x-www-form-urlencoded [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HTTPRequest: 0x31040001 got network event msg: 0xef1efeb8. [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HttpSendRequest Id 822345729, returned -2143088510. Took 0.000235 ms, uploaded 0 Bytes (0 of 0) [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: Started running threaded request (1b81034000). Running threaded requests (1) Rate limited threaded requests (0) [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HTTPRequest: 0x31040001 got network event msg: 0x2. [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HttpSendRequest Id 822345729, returned -2143088510. Took 0.000040 ms, uploaded 0 Bytes (0 of 0) [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HTTPRequest: 0x31040001 got network event msg: 0x2. [2022.10.13-03.40.32:796][ 0]LogHttp: Verbose: HttpSendRequest Id 822345729, returned -2143088510. Took 0.000005 ms, uploaded 0 Bytes (0 of 0)

any suggestion about this?

ufna commented 1 year ago

Have completely no idea :) Smth ps5-special. You should check the code of something like PlatformHttp (e.g. WindowsPlatformHttp, UnitPlatformHttp)