I want to update BMC image via OpenBmc WebUI.
openbmc web will block upload files of the same version
I try to trace code to understand the /upload/image mechanism
It seems to be related to MANIFEST & publickey
Where can I find the openbmc code that handles this part?
You could start tracing the image upload code from here
Probably you are seeing the error message here. I don't use this file upload mechanism, so am not best person to understand the issue. You might want to check on the discord if anyone else has similar issues. Also, having the exact text of the error message is helpful.
I hope this sends you on the right direction.
Related
First of all, sorry if this is a duplicate, but I couldn't find any info after searching for a while
I want to code an Alexa skill from VSCode using Python, as I prefer it rather than coding on the browser. I tried following the steps on "offline tools"(image) but I've been struggling to get it working
Option A, extension:
When I open the Alexa Skill Toolkit(ASK) VSCode extension, sign in and try to import my existing project, it asks for some git credentials which I couldn't get after following this tutorial.
Manually making the petition from Python ends up with a 401 Response
(I don't know what the value of the Authorization header should
be)
Executing ask util git-credentials-helper didn't work either
Option B, CLI:
After installing NodeJS and ASK-CLI, i get a could not fetch origin error using
ask init --hosted-skill-id amzn1.ask.skill.myId
I probably just made a lot of dumb mistakes but I'm really confused rigth now, thanks in advance for the help
A "401" error code means you are unauthorized. I'm assuming you didn't try to put anything in that header because you didn't what what you should have put there. Here's a guide to get an access token for your authorization header: https://developer.amazon.com/en-US/docs/alexa/smapi/get-access-token-smapi.html
I'm completely new to UPnP as a protocol, but I'm hoping to use it to transfer files from a Sony Camera to an iOS app I'm working on. So far I have SSDP discovery setup, I can read the UPnP client's services, search through folders and access file names, but the final hurdle which I'm stuck on is how to actually download/transfer the files once I'm able to list them!
What I end up getting is the below:
<item id="04_02_0624600856_000001_000001_000000" restricted="1" parentID="03_01_0624600856_000001_000000_000000">
<dc:title>DSC05076.ARW</dc:title>
<upnp:class>object.item.imageItem.photo</upnp:class>
<dc:date>2018-08-23T12:24:21</dc:date>
<res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_CI=1">http://192.168.122.1:60151/SM_DSC05076.ARW?%2104%5f02%5f0624600856%5f000001%5f000001%5f000000%21http%2dget%3a%2a%3aimage%2fjpeg%3aDLNA%2eORG%5fPN%3dJPEG%5fSM%3bDLNA%2eORG%5fCI%3d1%21%21%21%21%21</res>
<res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_CI=1">http://192.168.122.1:60151/LRG_DSC05076.ARW?%2104%5f02%5f0624600856%5f000001%5f000001%5f000000%21http%2dget%3a%2a%3aimage%2fjpeg%3aDLNA%2eORG%5fPN%3dJPEG%5fLRG%3bDLNA%2eORG%5fCI%3d1%21%21%21%21%21</res>
<res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_CI=1">http://192.168.122.1:60151/TN_DSC05076.ARW?%2104%5f02%5f0624600856%5f000001%5f000001%5f000000%21http%2dget%3a%2a%3aimage%2fjpeg%3aDLNA%2eORG%5fPN%3dJPEG%5fTN%3bDLNA%2eORG%5fCI%3d1%21%21%21%21%21</res>
I would (With my naive experience of simple HTTP APIs) then expect to simply be able to download the file in question by hitting:
http://192.168.122.1:60151/SM_DSC05076.ARW or similar (I'm assuming I have to change this URL slightly as the file is listed as image/jpeg rather than RAW?
Whatever combination I try of the full res object, snipping bits, decoding the url e.t.c. I always get a 404 response when trying to visit the URL in question. Is there something more complex I need to do here? Or something simple that I'm missing?
Thanks in advance!
The problem here was that I was using a url from a previous session. It turns out that the urls change between connection sessions, which is why I was getting a 404.
Lesson learned: UPnP is highly dynamic, and you can’t rely on caching images under their access MRL!
Recently we moved to JMeter 3.0 and we are receiving the following error, though the same JMX works on previous JMeter 2.13 version
PUT Data:
<actual file content not shown here>
Implementation used: Default(HTTPClient 4.5.4) and Also tried with HttpClient3.1 and recieved same error.
Any chance to know what could have went wrong.
You're not receiving an error , it's a new behaviour.
To allow sending big files along PUT, jmeter has been modified to buffer data and not store it in SampleResult making it possible to sendbig files.
I had same issue...thought jmeter was doing something wrong since this stuff worked for me in 2.13...hasn't worked since version 3. well..saw a post somewhere that said, using the JAVA implementation of HTTP worked. Guess what? it did work for me too!!! I've been struggling trying to dissect every part of the POST. I was doing it right all along, just needed JAVA implementation of HTTP and voila!
hope that helps!
I had the same problem.This is the issue with meter 3.0. Downloading the latest version of Jmeter 3.3 solved the problem.
Anyone aware of a FIX utility available online to verify fix messages? ie: accept a fix message and check things like body length length and checksum.
thanks
There is a fix log decoder on https://fixspec.com. When you enter a message it is parsed and items such as checksum and body length are also checked. You need to register to access it, but registration is free.
https://drewnoakes.com/fix-decoder/ is a nice online FIX decoder that supports Checksum(9) and BodyLength(8) tags validation.
No registration required.
One that I know of is ValidFix. There was a link to it on the QuickFix website, but it seems to be missing.
There's a licensed tool called VeriFIX http://www.greenlinetech.com/products/verifix.php.
Pasting it incase if it's useful to you or others.
I'm trying to use the NFC Plugin but i have an error "Signature could not verify". I write the code generating the signature of the data and a selfsigned certificate. But when I put all them together i shows me that error. Can you help me with this?
The Signature Record support is experimental at this point, so I advise you to check out the sources for a deeper investigation.