Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

403 Error

Hi All,
Newby here
Trying to run the framework system
OI is running, registry is set OK.
I had it running sort of but now it's not working for me at all
when testing on browser with directory browsing enabled it shows the correct folder with the various files in it ie oecgi4.exe and web.config
when I disable the browsing it says access to 127.0.0.1 was denied
(same error in postman, and can't get past that)
it should show {"type":about blank..... etc as per 'testing for success' document from srp
it was doing that at some stage..

the oengine server service is running however
running java 1.8 and is 64 bit
tried an older version but same error
when I run the command as per above doc as follows:
"C:\Program Files\Java\jre1.8.0_501\bin\java" -jar oesockerserver.jar -d 3
I get an error saying class version = 55 and should be 52
not sure if that is what is causing it
I did an upgrade of Oi to the latest version, maybe that is causing an issue?

I don't really know how to proceed from here..

Any ideas welcome please.

Thanks..

Gerry

Comments

  • Gerry,

    Thanks for the question and based on your information it sounds to me that OECGI4.exe isn't able to execute. Try accessing oecgi4.exe through the web browser to see if it returns an "Unable to connect to Engine Server" message or a JSON response.

    To aid in your setup please see the attached video which covers the IIS setup for the SRP HTTP Framework. In particular watch minute 5:14 which shows the results of trying to run OECGI4.exe directly. If you do not see the 'unable to connect to engine server' message or a JSON response then verify the earlier steps in the video as it's likely that access to OECGI4.exe isn't working or OECGI4.exe isn't allowed to execute.

    Video: Setup IIS for Use with OI9 OECGI4 and the SRP HTTP Framework
  • Thanks Jared, working my way through the video.
    Got to 7.33 and get same message now ie unable to connect
    Go to the stage where checking java and getting this error
    "has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
    What version of Java should I be using?
  • What version of OI are you using
  • Latest 10.2.4
  • Gerry - Jared provided an excellent video, but it was oriented toward OI 9. My suggestion is to use the Java that ships with OI 10.2.4 to get things started. Whether you stick with that, install a different 64bit JRE, or use the SRP HTTP Server is a subject that can be revisited later.
  • Have been working through the video, very nice..
    The JRE in 10.2.4 is java 11 dev version not rdk version hence the issue
    Just need to try and get it (java 11) working now.
  • slowly progressing..
    when running localhost/api/oecgi4.exe I now get
    ENG0010: HTTP_RESOURCE_MANAGER_SERVICES, line 190. Variable has not been assigned a value.
    With app = FRAMEWORKS


  • Ah, there is a pre-existing bug that was fixed in the 32bit system but not transferred to 64bit. You can just comment out line 190 (or delete it) and recompile.
Sign In or Register to comment.