Closed Bug 1005354 Opened 11 years ago Closed 11 years ago

PSM OCSP tests need to use a port other than 8080 because it's already in use on Android

Categories

(Core :: Security: PSM, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: keeler, Unassigned)

References

(Blocks 1 open bug)

Details

I encountered this error when attempting to run the PSM OCSP tests on android: 17:08:43 INFO - !!! could not start server on port 8080: [Exception... "Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.init]" nsresult: "0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE)" location: "JS frame :: resource://testing-common/httpd.js :: nsHttpServer.prototype._start :: line 552" data: no] This could be confounded by other errors, but I think it's at least the case that we need to use a different port in generate_certs.sh.
Actually, it looks like I was mistaken about this. When I changed the port to 18080, I still got this error: 21:01:03 INFO - !!! could not start server on port 18080: [Exception... "Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.init]" nsresult: "0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE)" location: "JS frame :: resource://testing-common/httpd.js :: nsHttpServer.prototype._start :: line 552" data: no] I suspect prior errors are causing this, and using port 8080 may not in fact be a problem.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.